Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.001656/0.001656, allocations: 103.6 kB / 21.25 MB, free: 420 kB / 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.001873/0.001873, allocations: 212.2 kB / 24.55 MB, free: 3.742 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.505/1.505, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.2473/0.2473, allocations: 46.97 MB / 361.7 MB, free: 4.004 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.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.357e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.242 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004094/0.004118, allocations: 2.265 MB / 0.4996 GB, free: 4.965 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.005704, allocations: 0.8569 MB / 0.5004 GB, free: 4.102 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.005813, allocations: 7.938 kB / 0.5004 GB, free: 4.094 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.006089, allocations: 55.56 kB / 0.5005 GB, free: 4.039 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.006295, allocations: 79.34 kB / 0.5006 GB, free: 3.961 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.00666, allocations: 151.6 kB / 0.5007 GB, free: 3.812 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004292/0.00709, allocations: 399.3 kB / 0.5011 GB, free: 3.422 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.007262, allocations: 45.16 kB / 0.5011 GB, free: 3.371 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.007556, allocations: 171.5 kB / 0.5013 GB, free: 3.203 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.007783, allocations: 139.4 kB / 0.5014 GB, free: 3.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.453e-05/0.007837, allocations: 28 kB / 0.5015 GB, free: 3.039 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.008009, allocations: 91.91 kB / 0.5016 GB, free: 2.949 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0004587/0.008467, allocations: 0.5264 MB / 0.5021 GB, free: 2.418 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001968/0.008664, allocations: 304 kB / 0.5024 GB, free: 2.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.932e-05/0.008714, allocations: 24 kB / 0.5024 GB, free: 2.094 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.37e-05/0.008757, allocations: 11.98 kB / 0.5024 GB, free: 2.082 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: 56 (55) * Number of variables: 56 (55) Notification: Performance of [SIM] Bindings: time 0.001433/0.01019, allocations: 1.284 MB / 0.5036 GB, free: 0.668 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003116/0.0105, allocations: 237.5 kB / 0.5039 GB, free: 436 kB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0009525/0.01145, allocations: 0.9447 MB / 0.5048 GB, free: 15.45 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002444/0.0117, allocations: 165.8 kB / 0.505 GB, free: 15.25 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.001856/0.01356, allocations: 1.151 MB / 0.5061 GB, free: 13.96 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002227/0.01378, allocations: 152.5 kB / 0.5062 GB, free: 13.77 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001187/0.0139, allocations: 90.95 kB / 0.5063 GB, free: 13.65 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0004328/0.01433, allocations: 270.3 kB / 0.5066 GB, free: 13.33 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0002775/0.01461, allocations: 138.2 kB / 0.5067 GB, free: 13.21 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004538/0.01506, allocations: 351.4 kB / 0.507 GB, free: 12.86 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.00307/0.01813, allocations: 2.284 MB / 0.5093 GB, free: 10.48 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006819/0.01881, allocations: 0.7298 MB / 0.51 GB, free: 9.746 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.001568/0.02038, allocations: 451.7 kB / 0.5104 GB, free: 9.25 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.001117/0.0215, allocations: 1.182 MB / 0.5116 GB, free: 8.059 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 5.429e-05/0.02155, allocations: 43.92 kB / 0.5116 GB, free: 8.012 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0001651/0.02172, allocations: 179.8 kB / 0.5118 GB, free: 7.836 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.001643/0.02336, allocations: 1.201 MB / 0.513 GB, free: 6.617 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 0.0003717/0.02373, allocations: 248.5 kB / 0.5132 GB, free: 6.383 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 7.62e-07/0.02373, allocations: 0 / 0.5132 GB, free: 6.383 MB / 382.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0003177/0.02405, allocations: 226.1 kB / 0.5134 GB, free: 6.16 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.556e-06/0.02406, allocations: 4.281 kB / 0.5134 GB, free: 6.156 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 0.0003312/0.02439, allocations: 267.4 kB / 0.5137 GB, free: 5.898 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 9.217e-06/0.0244, allocations: 0 / 0.5137 GB, free: 5.898 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.001182/0.02558, allocations: 0.9153 MB / 0.5146 GB, free: 4.988 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.002162/0.02774, allocations: 1.9 MB / 0.5164 GB, free: 2.961 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: ............... 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: ............................. 2 (2) {inertia4.phi, inertia4.w} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 15 (15) {bearingFriction1.startForward, bearingFriction1.startBackward, bearingFriction1.locked, bearingFriction1.mode, $FUN_7, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 33 (scalar:33, 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: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 46 (scalar:46, 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: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 6.994e-05/0.02781, allocations: 50.38 kB / 0.5165 GB, free: 2.918 MB / 382.1 MB Notification: Performance of SimCode: time 0.004311/0.03212, allocations: 1.879 MB / 0.5183 GB, free: 1.262 MB / 382.1 MB Notification: Performance of Templates: time 0.2304/0.2625, allocations: 5.1 MB / 0.5233 GB, free: 27.47 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.245553329994436] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia4.phi', 'inertia4.w', 'bearingFriction1.mode', 'bearingFriction1.startBackward', 'bearingFriction1.startForward'] 0.27063342597102746 0.28316353 0.271763973 Calling exit ...