David Villa, Fernando Torres and Santi Cazorla struck the goals as Spain capped an unforgettable year on a winning note with a friendly victory over Chile at Villarreal's El Madrigal stadium.