This paper presents Hardware-in loop (HIL) testing for GM two-mode hybrid. First Modeling and simulation of GM two-mode hybrid using model based design (MBD) process is performed. HIL testing is performed using dSpace MicroAutoBox (MABX) and National Instruments PXI. The control strategy compiled code is uploaded to MABX using ControlDesk software and the corresponding plant model is transferred to PXI using NI Veristand software. This work is part of EcoCAR competition by the Texas Tech University. EcoCAR: The Next Challenge is a vehicle engineering competition organized by the US Department of Energy (DOE) and General Motors (GM).