Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
So, somehow i solved the situation. I came to verona from venice( costs 8:60 euro), then i have taken train EC 188 which costs 76 euro and i will reach München at 10:30 pm aproximately. I have already booked a ticket from München to Köln from LTUR which is prety cheap 25 euro. It will leave München at 12:01 am and will reach Köln at 7:30 am aprixametly. So my total expense is 110 euro and going to take 16 hour almost!! So, my suggestion is: never travel without a passport in Europe, even if you have residence permit.