Test Case Generation for Embedded Automotive Systems: A Semantics Preserving Model Transformation