Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00173/0.00173, 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.00198/0.00198, allocations: 211 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.531/1.531, allocations: 230.7 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2326/0.2326, allocations: 44.93 MB / 359.7 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.763e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.09 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004267/0.004295, allocations: 2.267 MB / 0.4965 GB, free: 7.812 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.005988, allocations: 0.853 MB / 0.4974 GB, free: 6.953 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.0061, allocations: 7.938 kB / 0.4974 GB, free: 6.945 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.006406, allocations: 51.58 kB / 0.4974 GB, free: 6.895 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.006613, allocations: 83.33 kB / 0.4975 GB, free: 6.812 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.006987, allocations: 147.6 kB / 0.4976 GB, free: 6.668 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000484/0.007471, allocations: 403.2 kB / 0.498 GB, free: 6.273 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002317/0.007702, allocations: 53.12 kB / 0.4981 GB, free: 6.215 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003161/0.008019, allocations: 163.5 kB / 0.4982 GB, free: 6.055 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.008261, allocations: 151.3 kB / 0.4984 GB, free: 5.906 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.149e-05/0.008313, allocations: 24 kB / 0.4984 GB, free: 5.883 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.008494, allocations: 87.97 kB / 0.4985 GB, free: 5.797 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0004951/0.008989, allocations: 0.5226 MB / 0.499 GB, free: 5.27 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002098/0.009199, allocations: 300 kB / 0.4993 GB, free: 4.973 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.741e-05/0.009246, allocations: 20 kB / 0.4993 GB, free: 4.953 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.443e-05/0.009291, allocations: 11.98 kB / 0.4993 GB, free: 4.941 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.001572/0.01086, allocations: 1.284 MB / 0.5006 GB, free: 3.527 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003493/0.01121, allocations: 252.1 kB / 0.5008 GB, free: 3.273 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.001028/0.01224, allocations: 0.9486 MB / 0.5017 GB, free: 2.297 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002559/0.0125, allocations: 169.8 kB / 0.5019 GB, free: 2.086 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.001777/0.01427, allocations: 1.143 MB / 0.503 GB, free: 0.8086 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.00022/0.01449, allocations: 144.9 kB / 0.5031 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001384/0.01463, allocations: 98.94 kB / 0.5032 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0003997/0.01503, allocations: 282 kB / 0.5035 GB, free: 172 kB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0002833/0.01531, allocations: 146.8 kB / 0.5036 GB, free: 36 kB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004515/0.01577, allocations: 339.5 kB / 0.504 GB, free: 15.7 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.003225/0.01899, allocations: 2.282 MB / 0.5062 GB, free: 13.32 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007543/0.01974, allocations: 0.7259 MB / 0.5069 GB, free: 12.59 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.001792/0.02154, allocations: 459 kB / 0.5073 GB, free: 12.09 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.001241/0.02278, allocations: 1.182 MB / 0.5085 GB, free: 10.9 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 6.048e-05/0.02284, allocations: 39.81 kB / 0.5085 GB, free: 10.86 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0001751/0.02301, allocations: 175.8 kB / 0.5087 GB, free: 10.68 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.001748/0.02476, allocations: 1.201 MB / 0.5099 GB, free: 9.465 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 0.0003965/0.02516, allocations: 257.9 kB / 0.5101 GB, free: 9.219 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 5.31e-07/0.02516, allocations: 0 / 0.5101 GB, free: 9.219 MB / 382.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0003356/0.02549, allocations: 228.1 kB / 0.5103 GB, free: 8.996 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.847e-06/0.0255, allocations: 4.281 kB / 0.5103 GB, free: 8.992 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 0.0003617/0.02586, allocations: 263 kB / 0.5106 GB, free: 8.738 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 1.513e-05/0.02588, allocations: 4 kB / 0.5106 GB, free: 8.734 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.001268/0.02715, allocations: 0.9142 MB / 0.5115 GB, free: 7.828 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.002263/0.02941, allocations: 1.9 MB / 0.5133 GB, free: 5.801 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.881e-05/0.02948, allocations: 39.39 kB / 0.5134 GB, free: 5.766 MB / 382.1 MB Notification: Performance of SimCode: time 0.004615/0.03409, allocations: 1.886 MB / 0.5152 GB, free: 4.102 MB / 382.1 MB Notification: Performance of Templates: time 0.3204/0.3545, allocations: 5.095 MB / 0.5202 GB, free: 30.42 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.5116040270077065] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia4.phi', 'inertia4.w', 'bearingFriction1.mode', 'bearingFriction1.startBackward', 'bearingFriction1.startForward'] 0.36294365697540343 0.375853025 0.363729159 Calling exit ...