Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001716/0.001716, allocations: 107.6 kB / 21.25 MB, free: 416 kB / 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.001822/0.001822, allocations: 214.5 kB / 24.55 MB, free: 3.715 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.55/1.55, allocations: 230.5 MB / 258.2 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2476/0.2476, allocations: 46.94 MB / 361.6 MB, free: 3.969 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/2.941e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004838/0.004868, allocations: 2.651 MB / 0.5 GB, free: 4.402 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.006791, allocations: 0.7673 MB / 0.5008 GB, free: 3.629 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.006978, allocations: 15.88 kB / 0.5008 GB, free: 3.613 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.007243, allocations: 67.31 kB / 0.5008 GB, free: 3.547 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.00753, allocations: 118.9 kB / 0.501 GB, free: 3.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.007949, allocations: 119.8 kB / 0.5011 GB, free: 3.312 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006535/0.008603, allocations: 0.5374 MB / 0.5016 GB, free: 2.773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003297/0.008933, allocations: 111.1 kB / 0.5017 GB, free: 2.652 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000359/0.009292, allocations: 219.2 kB / 0.5019 GB, free: 2.438 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.00952, allocations: 167.1 kB / 0.5021 GB, free: 2.273 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.779e-05/0.009578, allocations: 36 kB / 0.5021 GB, free: 2.238 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.984e-05/0.009678, allocations: 36 kB / 0.5021 GB, free: 2.203 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.000681/0.01036, allocations: 0.7734 MB / 0.5029 GB, free: 1.422 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003905/0.01075, allocations: 0.4935 MB / 0.5034 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.072e-05/0.01081, allocations: 40 kB / 0.5034 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.393e-05/0.01087, allocations: 23.91 kB / 0.5034 GB, free: 0.8594 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 (96) * Number of variables: 96 (96) Notification: Performance of [SIM] Bindings: time 0.002034/0.01291, allocations: 1.857 MB / 0.5052 GB, free: 14.86 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002124/0.01312, allocations: 217.1 kB / 0.5055 GB, free: 14.64 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.001112/0.01423, allocations: 1.105 MB / 0.5065 GB, free: 13.5 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002854/0.01452, allocations: 208.3 kB / 0.5067 GB, free: 13.25 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.002629/0.01715, allocations: 1.872 MB / 0.5086 GB, free: 11.17 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000221/0.01737, allocations: 153.8 kB / 0.5087 GB, free: 10.98 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001026/0.01747, allocations: 88.27 kB / 0.5088 GB, free: 10.86 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0003623/0.01783, allocations: 257.4 kB / 0.509 GB, free: 10.56 MB / 382.1 MB Notification: Performance of [SIM] Events: time 9.375e-05/0.01793, allocations: 43.78 kB / 0.5091 GB, free: 10.52 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003503/0.01828, allocations: 292 kB / 0.5094 GB, free: 10.21 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.0039/0.02218, allocations: 3.314 MB / 0.5126 GB, free: 6.672 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005741/0.02275, allocations: 0.6127 MB / 0.5132 GB, free: 6.059 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.0006991/0.02345, allocations: 487.1 kB / 0.5137 GB, free: 5.516 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.001075/0.02453, allocations: 1.159 MB / 0.5148 GB, free: 4.344 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 5.712e-05/0.02458, allocations: 35.98 kB / 0.5148 GB, free: 4.305 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0001496/0.02473, allocations: 175.8 kB / 0.515 GB, free: 4.133 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.001446/0.02618, allocations: 1.126 MB / 0.5161 GB, free: 2.984 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 0.000135/0.02631, allocations: 103.9 kB / 0.5162 GB, free: 2.883 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 3.6e-07/0.02631, allocations: 0 / 0.5162 GB, free: 2.883 MB / 382.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0003926/0.02671, allocations: 293.3 kB / 0.5165 GB, free: 2.578 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.222e-06/0.02671, allocations: 8 kB / 0.5165 GB, free: 2.57 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 0.0001158/0.02683, allocations: 123.9 kB / 0.5166 GB, free: 2.449 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 1.286e-05/0.02684, allocations: 0 / 0.5166 GB, free: 2.449 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.001471/0.02831, allocations: 1.173 MB / 0.5177 GB, free: 1.266 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.2811/0.3094, allocations: 3.471 MB / 0.5211 GB, free: 26.03 MB / 382.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: ............... 3 * 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: ............................. 6 (6) {J2.w, J4.w, gear.phi_b, gear1.phi_a, gear2.phi_b, $DER.gear2.phi_b} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 3 (3) {$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: ........... 42 (scalar:42, 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 63 (scalar:63, 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.164e-05/0.3094, allocations: 45.78 kB / 0.5212 GB, free: 26.01 MB / 382.1 MB Notification: Performance of SimCode: time 0.002572/0.312, allocations: 1.784 MB / 0.5229 GB, free: 25.38 MB / 382.1 MB Notification: Performance of Templates: time 0.01104/0.3231, allocations: 4.286 MB / 0.5271 GB, free: 24.96 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.4108613889548] Failed to read output from testmodel.py, exit status != 0: ['time', 'J2.phi', 'J2.w', 'J3.phi', 'J3.w', 'J5.phi', 'J5.w'] 0.3318714170018211 0.34419270399999996 0.330712105 Calling exit ...