Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001674/0.001674, allocations: 104.3 kB / 20.52 MB, free: 1.301 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.001847/0.001847, allocations: 216.4 kB / 23.82 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 207.7 MB / 234.7 MB, free: 9.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2488/0.2488, allocations: 44.27 MB / 331.2 MB, free: 9.254 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.222e-05, allocations: 5.656 kB / 468.8 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.00449/0.004513, allocations: 2.63 MB / 471.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.005948, allocations: 0.7293 MB / 472.2 MB, free: 460 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.0061, allocations: 11.94 kB / 472.2 MB, free: 448 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002347/0.006335, allocations: 67.25 kB / 472.2 MB, free: 380 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.006585, allocations: 130.9 kB / 472.4 MB, free: 248 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.006871, allocations: 95.83 kB / 472.5 MB, free: 152 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005725/0.007444, allocations: 0.4984 MB / 473 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002758/0.007719, allocations: 119 kB / 473.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.007962, allocations: 183.3 kB / 473.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.008187, allocations: 167.1 kB / 473.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.008244, allocations: 32 kB / 473.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.54e-05/0.008309, allocations: 36 kB / 473.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0006767/0.008986, allocations: 0.7618 MB / 474.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003533/0.009339, allocations: 0.4896 MB / 474.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.971e-05/0.009399, allocations: 40 kB / 474.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.204e-05/0.009451, allocations: 19.97 kB / 474.8 MB, free: 13.79 MB / 350.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.001985/0.01144, allocations: 1.842 MB / 476.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003194/0.01176, allocations: 244.9 kB / 476.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.0009921/0.01275, allocations: 0.9486 MB / 477.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003199/0.01307, allocations: 208.3 kB / 478 MB, free: 10.33 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.002723/0.01579, allocations: 1.871 MB / 479.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002072/0.016, allocations: 157.8 kB / 480.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001143/0.01611, allocations: 92.31 kB / 480.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.0003488/0.01646, allocations: 257.7 kB / 480.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.0001036/0.01656, allocations: 47.91 kB / 480.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003917/0.01696, allocations: 307.8 kB / 480.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.004558/0.02151, allocations: 3.394 MB / 484.1 MB, free: 3.641 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006294/0.02214, allocations: 0.6245 MB / 484.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.0007677/0.02291, allocations: 494.7 kB / 485.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.001023/0.02393, allocations: 1.015 MB / 486.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 7.08e-05/0.024, allocations: 32 kB / 486.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 0.0001641/0.02417, allocations: 183.8 kB / 486.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of [INI] Causalize: time 0.001542/0.02571, allocations: 1.176 MB / 487.7 MB, free: 28 kB / 350.1 MB Notification: Performance of [INI] Tearing: time 0.0001567/0.02587, allocations: 111.9 kB / 487.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 4.71e-07/0.02587, allocations: 4 kB / 487.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0004028/0.02627, allocations: 299.9 kB / 488.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.952e-06/0.02628, allocations: 0 / 488.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 0.0001146/0.02639, allocations: 131.9 kB / 488.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 1.388e-05/0.02641, allocations: 4 kB / 488.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 0.001482/0.02789, allocations: 1.173 MB / 489.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.003269/0.03116, allocations: 3.495 MB / 492.9 MB, free: 10.34 MB / 366.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) {J1.w, J4.w, J6.phi, J6.w, gear.phi_b, gear1.phi_a} * 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: ........... 45 (scalar:45, 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: ........... 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 6.861e-05/0.03123, allocations: 44.52 kB / 492.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of SimCode: time 0.002111/0.03334, allocations: 1.837 MB / 494.7 MB, free: 8.383 MB / 366.1 MB Notification: Performance of Templates: time 0.009297/0.04263, allocations: 4.344 MB / 499.1 MB, free: 4.043 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.306450497999322] Failed to read output from testmodel.py, exit status != 0: ['time', 'J2.phi', 'J2.w', 'J3.phi', 'J3.w', 'J5.phi', 'J5.w'] 0.05092756199883297 0.064894613 0.052494620000000006 Calling exit ...