Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001757/0.001757, allocations: 99.61 kB / 21.25 MB, free: 0.5547 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.002023/0.002023, allocations: 207 kB / 24.55 MB, free: 3.828 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.573/1.573, allocations: 230.6 MB / 258.3 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2426/0.2426, allocations: 46.97 MB / 361.7 MB, free: 3.973 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(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_4.1.0_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_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.352e-05, allocations: 5.094 kB / 0.4974 GB, free: 7.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004227/0.00425, allocations: 2.654 MB / 0.5 GB, free: 4.539 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.005664, allocations: 0.775 MB / 0.5007 GB, free: 3.758 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.005806, allocations: 15.88 kB / 0.5008 GB, free: 3.742 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.006008, allocations: 59.39 kB / 0.5008 GB, free: 3.684 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.006243, allocations: 130.8 kB / 0.5009 GB, free: 3.555 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.006578, allocations: 115.8 kB / 0.5011 GB, free: 3.441 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005645/0.007143, allocations: 0.5413 MB / 0.5016 GB, free: 2.898 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.007412, allocations: 115.1 kB / 0.5017 GB, free: 2.773 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.007721, allocations: 207.3 kB / 0.5019 GB, free: 2.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.007933, allocations: 171.2 kB / 0.5021 GB, free: 2.402 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.418e-05/0.007987, allocations: 36 kB / 0.5021 GB, free: 2.367 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.501e-05/0.008082, allocations: 36 kB / 0.5021 GB, free: 2.332 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0006504/0.008733, allocations: 0.7773 MB / 0.5029 GB, free: 1.547 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.000341/0.009074, allocations: 0.4935 MB / 0.5034 GB, free: 1.047 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.726e-05/0.009131, allocations: 36 kB / 0.5034 GB, free: 1.012 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.082e-05/0.009182, allocations: 27.91 kB / 0.5034 GB, free: 0.9844 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.001895/0.01108, allocations: 1.845 MB / 0.5052 GB, free: 15 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000224/0.0113, allocations: 221.1 kB / 0.5054 GB, free: 14.77 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.001126/0.01243, allocations: 1.109 MB / 0.5065 GB, free: 13.63 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002923/0.01272, allocations: 204.3 kB / 0.5067 GB, free: 13.39 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.002657/0.01538, allocations: 1.868 MB / 0.5085 GB, free: 11.31 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000229/0.01561, allocations: 161.7 kB / 0.5087 GB, free: 11.11 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001117/0.01572, allocations: 84.33 kB / 0.5088 GB, free: 11 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0003669/0.01608, allocations: 257.7 kB / 0.509 GB, free: 10.7 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0001037/0.01619, allocations: 47.7 kB / 0.5091 GB, free: 10.65 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003886/0.01658, allocations: 292.1 kB / 0.5093 GB, free: 10.34 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.004087/0.02066, allocations: 3.322 MB / 0.5126 GB, free: 6.801 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000601/0.02126, allocations: 0.6049 MB / 0.5132 GB, free: 6.195 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.0007202/0.02199, allocations: 487 kB / 0.5136 GB, free: 5.645 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.001105/0.02309, allocations: 1.155 MB / 0.5148 GB, free: 4.477 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 5.726e-05/0.02315, allocations: 35.98 kB / 0.5148 GB, free: 4.438 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.00016/0.02331, allocations: 175.8 kB / 0.515 GB, free: 4.266 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.001487/0.02479, allocations: 1.118 MB / 0.5161 GB, free: 3.129 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 0.0001486/0.02494, allocations: 119.8 kB / 0.5162 GB, free: 3.012 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 4.51e-07/0.02494, allocations: 0 / 0.5162 GB, free: 3.012 MB / 382.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0003813/0.02532, allocations: 288 kB / 0.5165 GB, free: 2.707 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.9e-06/0.02533, allocations: 0 / 0.5165 GB, free: 2.707 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 0.0001265/0.02546, allocations: 127.9 kB / 0.5166 GB, free: 2.582 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 1.379e-05/0.02547, allocations: 4 kB / 0.5166 GB, free: 2.578 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.001502/0.02697, allocations: 1.18 MB / 0.5177 GB, free: 1.395 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.2319/0.2589, allocations: 3.467 MB / 0.5211 GB, free: 26.27 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 6.267e-05/0.259, allocations: 35.03 kB / 0.5211 GB, free: 26.26 MB / 382.1 MB Notification: Performance of SimCode: time 0.002338/0.2613, allocations: 1.782 MB / 0.5229 GB, free: 25.62 MB / 382.1 MB Notification: Performance of Templates: time 0.01069/0.272, allocations: 4.298 MB / 0.5271 GB, free: 25.2 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.204230358998757] Failed to read output from testmodel.py, exit status != 0: ['time', 'J2.phi', 'J2.w', 'J3.phi', 'J3.w', 'J5.phi', 'J5.w'] 0.2807858689920977 0.294096471 0.282358629 Calling exit ...