Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001571/0.001571, allocations: 95.66 kB / 21.25 MB, free: 428 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.001705/0.001705, allocations: 204.7 kB / 24.55 MB, free: 3.73 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.526/1.526, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2284/0.2284, allocations: 44.94 MB / 359.7 MB, free: 6.023 MB / 286.1 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.Rotational.TestFriction") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.523e-05/2.523e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.06 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestFriction): time 0.00593/0.005956, allocations: 3.744 MB / 0.498 GB, free: 6.293 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003121/0.009077, allocations: 1.442 MB / 0.4994 GB, free: 4.848 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002726/0.009349, allocations: 15.88 kB / 0.4994 GB, free: 4.832 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004386/0.009788, allocations: 134.7 kB / 0.4995 GB, free: 4.699 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006269/0.01041, allocations: 289.9 kB / 0.4998 GB, free: 4.414 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007524/0.01117, allocations: 363.4 kB / 0.5001 GB, free: 4.059 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001265/0.01243, allocations: 1.241 MB / 0.5013 GB, free: 2.812 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002802/0.01271, allocations: 115.2 kB / 0.5015 GB, free: 2.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007185/0.01343, allocations: 0.5063 MB / 0.502 GB, free: 2.172 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005953/0.01403, allocations: 482.1 kB / 0.5024 GB, free: 1.699 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.01417, allocations: 84 kB / 0.5025 GB, free: 1.617 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003069/0.01448, allocations: 140 kB / 0.5026 GB, free: 1.48 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.001535/0.01602, allocations: 1.684 MB / 0.5043 GB, free: 15.78 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006854/0.0167, allocations: 0.9522 MB / 0.5052 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.01682, allocations: 68 kB / 0.5053 GB, free: 14.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001115/0.01694, allocations: 31.92 kB / 0.5053 GB, free: 14.72 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.003907/0.02084, allocations: 3.625 MB / 0.5088 GB, free: 10.9 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0008123/0.02165, allocations: 0.6635 MB / 0.5095 GB, free: 10.24 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.002837/0.02449, allocations: 2.67 MB / 0.5121 GB, free: 7.527 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0006596/0.02515, allocations: 388.9 kB / 0.5125 GB, free: 7.074 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.004526/0.02968, allocations: 3.066 MB / 0.5155 GB, free: 3.691 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004707/0.03015, allocations: 304.3 kB / 0.5157 GB, free: 3.344 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002748/0.03042, allocations: 216.1 kB / 0.516 GB, free: 3.105 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0009596/0.03138, allocations: 0.7178 MB / 0.5167 GB, free: 2.312 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0009061/0.03229, allocations: 0.5664 MB / 0.5172 GB, free: 1.777 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.001347/0.03364, allocations: 1.078 MB / 0.5183 GB, free: 0.668 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.2853/0.3189, allocations: 7.219 MB / 0.5253 GB, free: 26.12 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00264/0.3216, allocations: 2.248 MB / 0.5275 GB, free: 26.12 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.004411/0.326, allocations: 1.125 MB / 0.5286 GB, free: 25.77 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.00436/0.3303, allocations: 3.537 MB / 0.5321 GB, free: 23.97 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0001609/0.3305, allocations: 65.08 kB / 0.5321 GB, free: 23.93 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0005709/0.3311, allocations: 0.5137 MB / 0.5326 GB, free: 23.62 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.006059/0.3371, allocations: 3.469 MB / 0.536 GB, free: 22.85 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 0.00212/0.3392, allocations: 1.509 MB / 0.5375 GB, free: 22.46 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 2.816e-06/0.3392, allocations: 5.156 kB / 0.5375 GB, free: 22.46 MB / 382.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.00102/0.3403, allocations: 0.6099 MB / 0.5381 GB, free: 22.26 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.497e-06/0.3403, allocations: 480 / 0.5381 GB, free: 22.26 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 0.001173/0.3414, allocations: 0.7558 MB / 0.5388 GB, free: 22.07 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 2.481e-05/0.3415, allocations: 10.02 kB / 0.5388 GB, free: 22.07 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.003502/0.345, allocations: 2.457 MB / 0.5412 GB, free: 21.22 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.004603/0.3496, allocations: 5.863 MB / 0.547 GB, free: 16.9 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 0.0001179/0.3497, allocations: 74.92 kB / 0.547 GB, free: 16.84 MB / 382.1 MB Notification: Performance of SimCode: time 0.00659/0.3563, allocations: 4.198 MB / 0.5511 GB, free: 13.37 MB / 382.1 MB Notification: Performance of Templates: time 0.01928/0.3756, allocations: 13.2 MB / 0.564 GB, free: 280 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.684737838979345] 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.38587504997849464 0.400165295 0.380119285 Calling exit ...