I have solved the issue of wpml/domain mapping

I have done some debugging work on this environment to solve the issue. As I see there is others having the same issue, here is my solution:

Read my blog post at:
http://tech.humlesite.com/2013/01/19/wpml-and-domain-mapping-plugin-from-wpmu-dev/#more-6