Lewis Hamilton topped the timings in an ultra-close FP2 session in Barcelona, with five different teams represented in the top-five.