Barcelona ended 2013 atop La Liga after winning 5-2 at Getafe on Sunday, while Real Madrid triumphed 3-2 at Valencia.