Raul Garcia converted a 57th minute penalty before Jose Gimenez headed Atletico’s 2nd goal in 76th.
Barcelona lost at Real Sociedad in the league on Sunday. Messi only played the second half of the match.
A World Cup and double European Championship winner with Spain, Torres joined Atletico at the age of 11.
Ronaldo’s 23rd career hat trick in La Liga gave him one more treble than Alfredo Di Stefano and Telmo Zarra.
Malaga win helped Real surpass their previous best of 15 successive wins in all competitions set in 1960-61 and 2011-12.
Playing in his 289th league game, Messi first equaled Zarra’s record in 21st minute and then beat it in 72nd.
Messi surpassed Bilbao great Telmo Zarra’s milestone of 251 goals that had stood untouched since 1955.
Villa was made an ‘irresistible’ offer by New York City FC after which he decided to leave Atletico.
Atletico win their first league title in 18 years after rallying to 1-1 draw at Barcelona.
Win or draw against Barcelona away on final day will hand Atletico first La Liga title since 1996.
Costa missed Sunday’s 1-1 draw to Malaga but returns to try to help Atletico clinch their first domestic league title in 18 years.
Neymar, Gerard Pique and Jordi Alba were given the all-clear by medical staff for Saturday’s La Liga final clash.
The Real Madrid striker limped out of Wednesday’s 1-1 draw at Real Valladolid with a thigh strain.
Atletico coach Diego Simeone, meanwhile, is not losing any sleep over his team’s title challenge.
Ronaldo’s injury seemed to affect Real’s spirit as they were too static and predictable in possession.