Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 103.6 kB / 21.25 MB, free: 0.5664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002273/0.002273, allocations: 211 kB / 24.55 MB, free: 3.824 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.706/1.706, allocations: 230.6 MB / 258.3 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.411e-05, allocations: 2.281 kB / 379 MB, free: 2.551 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.SimpleGearShift): time 0.2303/0.2304, allocations: 2.783 MB / 381.8 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003044/0.2334, allocations: 1.02 MB / 382.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002473/0.2337, allocations: 3.938 kB / 382.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004202/0.2341, allocations: 78.61 kB / 382.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005334/0.2346, allocations: 156.9 kB / 383.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005949/0.2352, allocations: 196.2 kB / 383.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.2362, allocations: 0.6613 MB / 383.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/0.2365, allocations: 76.77 kB / 384 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000503/0.237, allocations: 271.1 kB / 384.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004954/0.2375, allocations: 269.4 kB / 384.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.2377, allocations: 47.34 kB / 384.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003161/0.238, allocations: 99.44 kB / 384.7 MB, free: 12.63 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000956/0.2389, allocations: 0.9002 MB / 385.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000368/0.2393, allocations: 0.5007 MB / 386.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.2394, allocations: 38 kB / 386.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.552e-05/0.2395, allocations: 16.3 kB / 386.1 MB, free: 11.8 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.002732/0.2422, allocations: 2.034 MB / 388.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006309/0.2429, allocations: 379.7 kB / 388.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001858/0.2447, allocations: 1.33 MB / 389.9 MB, free: 9.504 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005641/0.2453, allocations: 246.3 kB / 390.1 MB, free: 9.352 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003244/0.2485, allocations: 1.709 MB / 391.8 MB, free: 8.27 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004055/0.2489, allocations: 199.3 kB / 392 MB, free: 8.141 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002105/0.2491, allocations: 148.8 kB / 392.1 MB, free: 8.02 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.000715/0.2498, allocations: 424.7 kB / 392.6 MB, free: 7.707 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.000578/0.2504, allocations: 307 kB / 392.9 MB, free: 7.539 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.001005/0.2514, allocations: 0.6143 MB / 393.5 MB, free: 7.273 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.007614/0.259, allocations: 3.677 MB / 397.2 MB, free: 6.02 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001898/0.2609, allocations: 1.367 MB / 398.5 MB, free: 5.316 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.003301/0.2642, allocations: 0.6964 MB / 399.2 MB, free: 4.898 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.00212/0.2664, allocations: 1.862 MB / 401.1 MB, free: 3.633 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 0.0001058/0.2665, allocations: 37.66 kB / 401.1 MB, free: 3.609 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0003066/0.2668, allocations: 312.2 kB / 401.4 MB, free: 3.34 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.003626/0.2704, allocations: 2.034 MB / 403.5 MB, free: 2.605 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.000725/0.2711, allocations: 486.7 kB / 403.9 MB, free: 2.418 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.102e-06/0.2711, allocations: 1.062 kB / 403.9 MB, free: 2.418 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0005449/0.2717, allocations: 377.6 kB / 404.3 MB, free: 2.227 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.915e-06/0.2717, allocations: 3.719 kB / 404.3 MB, free: 2.227 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0006139/0.2723, allocations: 480.8 kB / 404.8 MB, free: 2.016 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.303e-05/0.2723, allocations: 6.156 kB / 404.8 MB, free: 2.016 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001832/0.2741, allocations: 1.538 MB / 406.3 MB, free: 1.223 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.003718/0.2779, allocations: 3.5 MB / 409.8 MB, free: 13.66 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 7.978e-05/0.2779, allocations: 48.33 kB / 409.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of SimCode: time 0.005636/0.2836, allocations: 2.63 MB / 412.5 MB, free: 11.19 MB / 318.1 MB Notification: Performance of Templates: time 0.0155/0.2991, allocations: 8.364 MB / 420.9 MB, free: 2.871 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.3457995490171015] 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.3075701339985244 0.32203715600000005 0.07942908800000001 Calling exit ...