Madagascans voted on Wednesday in municipal elections, the final stage in an electoral year key for President Andry Rajoelina who seeks to consolidate his power and retain control of the capital.