Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00141/0.00141, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001495/0.001495, allocations: 215.3 kB / 24.55 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.579/1.579, allocations: 230.5 MB / 258.2 MB, free: 7.715 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2533/0.2533, allocations: 46.94 MB / 361.6 MB, free: 3.883 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.TestFriction") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.303e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestFriction): time 0.005744/0.005767, allocations: 3.751 MB / 0.5011 GB, free: 3.305 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002874/0.008641, allocations: 1.43 MB / 0.5025 GB, free: 1.871 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00024/0.008881, allocations: 19.88 kB / 0.5025 GB, free: 1.852 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004154/0.009296, allocations: 142.7 kB / 0.5026 GB, free: 1.711 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005812/0.009878, allocations: 277.9 kB / 0.5029 GB, free: 1.438 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007162/0.01059, allocations: 367.4 kB / 0.5032 GB, free: 1.078 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.01186, allocations: 1.233 MB / 0.5044 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002746/0.01213, allocations: 123.1 kB / 0.5046 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006785/0.01281, allocations: 0.5063 MB / 0.505 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005606/0.01337, allocations: 474.1 kB / 0.5055 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.01351, allocations: 84 kB / 0.5056 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002947/0.01381, allocations: 144 kB / 0.5057 GB, free: 14.51 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001485/0.01529, allocations: 1.691 MB / 0.5074 GB, free: 12.8 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006941/0.01599, allocations: 0.9405 MB / 0.5083 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.0161, allocations: 64 kB / 0.5084 GB, free: 11.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.000105/0.01621, allocations: 39.91 kB / 0.5084 GB, free: 11.75 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.00371/0.01992, allocations: 3.625 MB / 0.5119 GB, free: 7.93 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007858/0.0207, allocations: 0.6704 MB / 0.5126 GB, free: 7.258 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.002802/0.02351, allocations: 2.666 MB / 0.5152 GB, free: 4.551 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0006314/0.02414, allocations: 396.9 kB / 0.5156 GB, free: 4.09 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.004355/0.02849, allocations: 3.058 MB / 0.5186 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004619/0.02895, allocations: 316.5 kB / 0.5189 GB, free: 368 kB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002567/0.02921, allocations: 216.1 kB / 0.5191 GB, free: 124 kB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.2708/0.3001, allocations: 0.7023 MB / 0.5197 GB, free: 26.41 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0009644/0.301, allocations: 0.5678 MB / 0.5203 GB, free: 26.3 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.001524/0.3025, allocations: 1.074 MB / 0.5213 GB, free: 26.22 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.01038/0.3129, allocations: 7.233 MB / 0.5284 GB, free: 23.77 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002506/0.3154, allocations: 2.253 MB / 0.5306 GB, free: 23.14 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.004073/0.3195, allocations: 1.112 MB / 0.5317 GB, free: 22.56 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.003715/0.3232, allocations: 3.536 MB / 0.5352 GB, free: 20.7 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0001402/0.3234, allocations: 65.39 kB / 0.5352 GB, free: 20.66 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.000524/0.3239, allocations: 0.5155 MB / 0.5357 GB, free: 20.35 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.005123/0.329, allocations: 3.473 MB / 0.5391 GB, free: 19.58 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 0.002125/0.3311, allocations: 1.5 MB / 0.5406 GB, free: 19.16 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 2.144e-06/0.3311, allocations: 4 kB / 0.5406 GB, free: 19.16 MB / 382.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0009616/0.3321, allocations: 0.616 MB / 0.5412 GB, free: 18.91 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.035e-05/0.3321, allocations: 1.594 kB / 0.5412 GB, free: 18.91 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 0.001061/0.3332, allocations: 0.7626 MB / 0.5419 GB, free: 18.7 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 2.041e-05/0.3332, allocations: 6.438 kB / 0.5419 GB, free: 18.7 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.002922/0.3361, allocations: 2.444 MB / 0.5443 GB, free: 17.84 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.004062/0.3402, allocations: 5.881 MB / 0.5501 GB, free: 12.66 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.44e-05/0.3403, allocations: 81.14 kB / 0.5501 GB, free: 12.59 MB / 382.1 MB Notification: Performance of SimCode: time 0.006035/0.3463, allocations: 4.162 MB / 0.5542 GB, free: 8.57 MB / 382.1 MB Notification: Performance of Templates: time 0.02/0.3663, allocations: 13.2 MB / 0.5671 GB, free: 11.45 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.764081766013987] 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.3747279680101201 0.38951944200000005 0.37032514800000005 Calling exit ...