Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001596/0.001596, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001695/0.001695, allocations: 218.3 kB / 24.55 MB, free: 3.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.611/1.611, allocations: 230.5 MB / 258.2 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.SimpleGearShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|clutch.phi_rel|clutch.w_rel|engine.phi|engine.w|load.phi|load.w|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift") translateModel(Modelica.Mechanics.Rotational.Examples.SimpleGearShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|clutch.phi_rel|clutch.w_rel|engine.phi|engine.w|load.phi|load.w|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.655e-05, allocations: 2.281 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.SimpleGearShift): time 0.2671/0.2672, allocations: 2.783 MB / 381.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002479/0.2696, allocations: 1.016 MB / 382.8 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002428/0.2699, allocations: 8.688 kB / 382.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003632/0.2702, allocations: 80.84 kB / 382.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004496/0.2707, allocations: 160.5 kB / 383.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.2712, allocations: 188.9 kB / 383.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007971/0.272, allocations: 0.6617 MB / 383.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.2722, allocations: 77.28 kB / 384 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003985/0.2726, allocations: 275.6 kB / 384.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004306/0.2731, allocations: 261.7 kB / 384.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.2732, allocations: 47.75 kB / 384.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000268/0.2734, allocations: 103.7 kB / 384.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007995/0.2742, allocations: 0.9066 MB / 385.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003292/0.2746, allocations: 0.4957 MB / 386.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.019e-05/0.2747, allocations: 33.84 kB / 386.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.652e-05/0.2747, allocations: 18.81 kB / 386.1 MB, free: 11.73 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 (86) * Number of variables: 88 (86) Notification: Performance of [SIM] Bindings: time 0.002326/0.2771, allocations: 2.028 MB / 388.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005066/0.2776, allocations: 381.9 kB / 388.5 MB, free: 10.13 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001385/0.279, allocations: 1.331 MB / 389.8 MB, free: 9.395 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004116/0.2794, allocations: 248.6 kB / 390.1 MB, free: 9.242 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002589/0.282, allocations: 1.711 MB / 391.8 MB, free: 8.16 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002891/0.2823, allocations: 212.4 kB / 392 MB, free: 8.02 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001521/0.2824, allocations: 139.8 kB / 392.1 MB, free: 7.906 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005428/0.2829, allocations: 420.3 kB / 392.6 MB, free: 7.594 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0004386/0.2834, allocations: 315.4 kB / 392.9 MB, free: 7.41 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0007782/0.2842, allocations: 0.6114 MB / 393.5 MB, free: 7.148 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.005774/0.2899, allocations: 3.677 MB / 397.1 MB, free: 5.891 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001431/0.2914, allocations: 1.366 MB / 398.5 MB, free: 5.191 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.002554/0.2939, allocations: 0.6754 MB / 399.2 MB, free: 4.785 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001668/0.2956, allocations: 1.861 MB / 401 MB, free: 3.5 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 8.357e-05/0.2957, allocations: 36.59 kB / 401.1 MB, free: 3.477 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002269/0.2959, allocations: 317.2 kB / 401.4 MB, free: 3.203 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002924/0.2988, allocations: 2.029 MB / 403.4 MB, free: 2.477 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0007056/0.2995, allocations: 492.9 kB / 403.9 MB, free: 2.273 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.513e-06/0.2995, allocations: 0 / 403.9 MB, free: 2.273 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0005485/0.3001, allocations: 376.2 kB / 404.3 MB, free: 2.086 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.186e-06/0.3001, allocations: 0.5 kB / 404.3 MB, free: 2.086 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0006156/0.3007, allocations: 483 kB / 404.7 MB, free: 1.883 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.583e-05/0.3007, allocations: 6.719 kB / 404.8 MB, free: 1.879 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001889/0.3026, allocations: 1.534 MB / 406.3 MB, free: 1.09 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.003997/0.3066, allocations: 3.517 MB / 409.8 MB, free: 13.46 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 4 (4) {wEngine, wLoad, quadraticSpeedDependentTorque.phi, clutch.phi_rel} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 35 (35) {clutch.free, clutch.startForward, clutch.startBackward, clutch.locked, clutch.mode, brake.free, brake.startForward, brake.startBackward, brake.locked, brake.mode, $FUN_4, $FUN_8, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 52 (scalar:52, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 66 (scalar:66, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 3, nonlinear:0) Notification: Performance of backend: time 8.644e-05/0.3067, allocations: 43.44 kB / 409.8 MB, free: 13.43 MB / 318.1 MB Notification: Performance of SimCode: time 0.006032/0.3127, allocations: 2.625 MB / 412.5 MB, free: 10.97 MB / 318.1 MB Notification: Performance of Templates: time 0.01873/0.3315, allocations: 8.347 MB / 420.8 MB, free: 2.66 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.470296592975501] Failed to read output from testmodel.py, exit status != 0: ['time', 'clutch.phi_rel', 'clutch.w_rel', 'engine.phi', 'engine.w', 'load.phi', 'load.w', 'brake.mode', 'brake.startBackward', 'brake.startForward', 'clutch.mode', 'clutch.startBackward', 'clutch.startForward'] 0.3401527800015174 0.35538286799999996 0.07750981999999994 Calling exit ...