You asked:

population of madrid 2011

Sorry, I don't yet have an answer to that question.