Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.TestFriction.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.001637/0.001637, 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.001681/0.001681, allocations: 211 kB / 24.55 MB, free: 3.824 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.742 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.2583/0.2583, allocations: 46.96 MB / 361.7 MB, free: 4.062 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.TestFriction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia.phi|inertia.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia5.phi|inertia5.w|oneWayClutch.phi_rel|oneWayClutch.w_rel|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward|oneWayClutch.startForward|oneWayClutch.stuck",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestFriction") translateModel(ModelicaTest.Rotational.TestFriction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia.phi|inertia.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia5.phi|inertia5.w|oneWayClutch.phi_rel|oneWayClutch.w_rel|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward|oneWayClutch.startForward|oneWayClutch.stuck",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestFriction") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.467e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestFriction): time 0.005836/0.005861, allocations: 3.743 MB / 0.501 GB, free: 3.445 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003074/0.008934, allocations: 1.442 MB / 0.5025 GB, free: 2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002512/0.009186, allocations: 19.88 kB / 0.5025 GB, free: 1.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004097/0.009595, allocations: 126.8 kB / 0.5026 GB, free: 1.855 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005956/0.01019, allocations: 293.9 kB / 0.5029 GB, free: 1.566 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006717/0.01086, allocations: 355.5 kB / 0.5032 GB, free: 1.219 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00125/0.01211, allocations: 1.237 MB / 0.5044 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002753/0.01239, allocations: 127.1 kB / 0.5045 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006903/0.01308, allocations: 0.5103 MB / 0.505 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000583/0.01366, allocations: 482 kB / 0.5055 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.01381, allocations: 84 kB / 0.5056 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002863/0.01409, allocations: 136 kB / 0.5057 GB, free: 14.64 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001457/0.01555, allocations: 1.688 MB / 0.5074 GB, free: 12.93 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.000695/0.01625, allocations: 0.9483 MB / 0.5083 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.01637, allocations: 64 kB / 0.5083 GB, free: 11.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001026/0.01647, allocations: 31.92 kB / 0.5084 GB, free: 11.88 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 (153) * Number of variables: 156 (153) Notification: Performance of [SIM] Bindings: time 0.003559/0.02003, allocations: 3.633 MB / 0.5119 GB, free: 8.055 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007533/0.02078, allocations: 0.6594 MB / 0.5126 GB, free: 7.395 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.002725/0.02351, allocations: 2.674 MB / 0.5152 GB, free: 4.68 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0006495/0.02416, allocations: 392.9 kB / 0.5156 GB, free: 4.223 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.004299/0.02845, allocations: 3.062 MB / 0.5185 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004517/0.02891, allocations: 300.2 kB / 0.5188 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002498/0.02916, allocations: 220.1 kB / 0.519 GB, free: 268 kB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.2581/0.2872, allocations: 0.6986 MB / 0.5197 GB, free: 26.48 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.001021/0.2883, allocations: 0.5693 MB / 0.5203 GB, free: 26.38 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.001521/0.2898, allocations: 1.073 MB / 0.5213 GB, free: 26.29 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.009699/0.2995, allocations: 7.231 MB / 0.5284 GB, free: 23.85 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002413/0.3019, allocations: 2.252 MB / 0.5306 GB, free: 23.31 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.003951/0.3058, allocations: 1.118 MB / 0.5317 GB, free: 22.74 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.003393/0.3092, allocations: 3.543 MB / 0.5351 GB, free: 20.88 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0001312/0.3094, allocations: 62.88 kB / 0.5352 GB, free: 20.84 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0005236/0.3099, allocations: 0.5059 MB / 0.5357 GB, free: 20.53 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.004994/0.3149, allocations: 3.474 MB / 0.5391 GB, free: 19.75 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 0.001879/0.3168, allocations: 1.508 MB / 0.5406 GB, free: 19.34 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 3.577e-06/0.3168, allocations: 1.219 kB / 0.5406 GB, free: 19.34 MB / 382.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0009564/0.3177, allocations: 0.601 MB / 0.5411 GB, free: 19.1 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.327e-06/0.3177, allocations: 4.031 kB / 0.5412 GB, free: 19.1 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 0.0009776/0.3187, allocations: 0.7742 MB / 0.5419 GB, free: 18.88 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 1.922e-05/0.3187, allocations: 3.156 kB / 0.5419 GB, free: 18.88 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.002815/0.3215, allocations: 2.453 MB / 0.5443 GB, free: 18.02 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.004123/0.3257, allocations: 5.86 MB / 0.55 GB, free: 12.92 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: ............... 4 * 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: ............................. 12 (12) {bearingFriction.phi, bearingFriction.w_relfric, brake.phi, brake.w_relfric, inertia2.phi, inertia2.w, clutch.phi_rel, clutch.w_relfric, inertia4.phi, inertia4.w, oneWayClutch.phi_rel, oneWayClutch.w_rel} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 63 (63) {bearingFriction.startForward, bearingFriction.startBackward, bearingFriction.locked, bearingFriction.mode, brake.free, brake.startForward, brake.startBackward, brake.locked, brake.mode, clutch.free, clutch.startForward, clutch.startBackward, clutch.locked, clutch.mode, oneWayClutch.startForward, oneWayClutch.locked, oneWayClutch.stuck, oneWayClutch.free, $FUN_7, $FUN_11, $FUN_15, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_6, $TEV_5, $TEV_4, $TEV_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: ........... 98 (scalar:98, 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: ... 4 (linear: 4, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 130 (scalar:130, 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: ... 4 (linear: 4, nonlinear:0) Notification: Performance of backend: time 9.92e-05/0.3258, allocations: 79.61 kB / 0.5501 GB, free: 12.85 MB / 382.1 MB Notification: Performance of SimCode: time 0.005801/0.3316, allocations: 4.183 MB / 0.5542 GB, free: 8.855 MB / 382.1 MB Notification: Performance of Templates: time 0.01935/0.3509, allocations: 13.2 MB / 0.5671 GB, free: 11.74 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestFriction.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestFriction.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestFriction.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestFriction.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestFriction.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestFriction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestFriction.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.747508190979715] Failed to read output from testmodel.py, exit status != 0: ['time', 'clutch.phi_rel', 'clutch.w_rel', 'inertia.phi', 'inertia.w', 'inertia1.phi', 'inertia1.w', 'inertia2.phi', 'inertia2.w', 'inertia5.phi', 'inertia5.w', 'oneWayClutch.phi_rel', 'oneWayClutch.w_rel', 'bearingFriction.mode', 'bearingFriction.startBackward', 'bearingFriction.startForward', 'brake.mode', 'brake.startBackward', 'brake.startForward', 'clutch.mode', 'clutch.startBackward', 'clutch.startForward', 'oneWayClutch.startForward', 'oneWayClutch.stuck'] 0.35990275896620005 0.37443370299999995 0.35504302099999996 Calling exit ...