Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.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.002036/0.002036, 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.002488/0.002488, 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.591/1.591, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.s_rel|damper.v_rel|massWithStopAndFriction.s|massWithStopAndFriction.v|springDamper.s_rel|springDamper.v_rel|springDamper1.s_rel|springDamper1.v_rel|brake.mode|brake.startBackward|brake.startForward|massWithStopAndFriction.mode|massWithStopAndFriction.startBackward|massWithStopAndFriction.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses") translateModel(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.s_rel|damper.v_rel|massWithStopAndFriction.s|massWithStopAndFriction.v|springDamper.s_rel|springDamper.v_rel|springDamper1.s_rel|springDamper1.v_rel|brake.mode|brake.startBackward|brake.startForward|massWithStopAndFriction.mode|massWithStopAndFriction.startBackward|massWithStopAndFriction.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.474e-05, allocations: 2.281 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.2441/0.2441, allocations: 4.061 MB / 383.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003202/0.2473, allocations: 1.536 MB / 384.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004126/0.2477, allocations: 20.44 kB / 384.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004271/0.2481, allocations: 137.2 kB / 384.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007123/0.2489, allocations: 276.1 kB / 385.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.25, allocations: 439.9 kB / 385.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001641/0.2517, allocations: 1.3 MB / 386.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003644/0.252, allocations: 158.2 kB / 386.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009393/0.253, allocations: 0.5289 MB / 387.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006949/0.2537, allocations: 493.6 kB / 388 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.2538, allocations: 94.03 kB / 388 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000419/0.2542, allocations: 162.2 kB / 388.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.00132/0.2556, allocations: 1.755 MB / 390 MB, free: 9.605 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006387/0.2562, allocations: 0.9731 MB / 390.9 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002544/0.2565, allocations: 73.25 kB / 391 MB, free: 8.934 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001594/0.2566, allocations: 29.36 kB / 391 MB, free: 8.93 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 (172) * Number of variables: 174 (172) Notification: Performance of [SIM] Bindings: time 0.004342/0.261, allocations: 3.842 MB / 394.9 MB, free: 6.375 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001428/0.2624, allocations: 0.6899 MB / 395.6 MB, free: 6.012 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.003567/0.266, allocations: 2.962 MB / 398.5 MB, free: 4.375 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0008973/0.2669, allocations: 473.2 kB / 399 MB, free: 4.145 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.005502/0.2724, allocations: 4.052 MB / 403 MB, free: 1.488 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0005634/0.2729, allocations: 394.9 kB / 403.4 MB, free: 1.23 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002283/0.2731, allocations: 246.5 kB / 403.7 MB, free: 1.016 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0006607/0.2738, allocations: 0.683 MB / 404.4 MB, free: 400 kB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0009021/0.2747, allocations: 0.6448 MB / 405 MB, free: 15.91 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001509/0.2762, allocations: 1.094 MB / 406.1 MB, free: 15.25 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.008548/0.2848, allocations: 5.484 MB / 411.6 MB, free: 11.84 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002779/0.2875, allocations: 2.459 MB / 414 MB, free: 9.375 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.003522/0.2911, allocations: 1.122 MB / 415.2 MB, free: 8.16 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.004145/0.2952, allocations: 3.828 MB / 419 MB, free: 4.32 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0001599/0.2954, allocations: 56.06 kB / 419 MB, free: 4.25 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0007107/0.2961, allocations: 0.5502 MB / 419.6 MB, free: 3.699 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.005013/0.3011, allocations: 3.184 MB / 422.8 MB, free: 464 kB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.001696/0.3028, allocations: 1.17 MB / 423.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 1.242e-06/0.3028, allocations: 4 kB / 423.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.00109/0.3039, allocations: 0.6699 MB / 424.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.788e-06/0.3039, allocations: 1 kB / 424.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 0.001736/0.3056, allocations: 1.11 MB / 425.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 1.624e-05/0.3056, allocations: 8 kB / 425.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.004591/0.3102, allocations: 2.947 MB / 428.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of [SIM] Jacobian: time 0.005088/0.3153, allocations: 3.935 MB / 432.6 MB, free: 6.316 MB / 334.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: ............................. 8 (8) {massWithStopAndFriction.s, massWithStopAndFriction.v, mass1.v, springDamper.s_rel, damper.s_rel, supportFriction.v_relfric, brake.v_relfric, springDamper1.s_rel} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 50 (50) {elastoGap.contact, supportFriction.startForward, supportFriction.startBackward, supportFriction.locked, supportFriction.mode, brake.free, brake.startForward, brake.startBackward, brake.locked, brake.mode, massWithStopAndFriction.free, massWithStopAndFriction.startForward, massWithStopAndFriction.startBackward, massWithStopAndFriction.locked, massWithStopAndFriction.mode, massWithStopAndFriction.stopped, $FUN_8, $FUN_12, $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_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: ........... 102 (scalar:102, 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: ... 3 (linear: 3, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 133 (scalar:133, 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: ... 3 (linear: 3, nonlinear:0) Notification: Performance of backend: time 0.0001243/0.3155, allocations: 73.05 kB / 432.7 MB, free: 6.25 MB / 334.1 MB Notification: Performance of SimCode: time 0.007989/0.3234, allocations: 4.195 MB / 436.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of Templates: time 0.02549/0.3489, allocations: 13.81 MB / 450.7 MB, free: 4.453 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.334695975994691] Failed to read output from testmodel.py, exit status != 0: ['time', 'damper.s_rel', 'damper.v_rel', 'massWithStopAndFriction.s', 'massWithStopAndFriction.v', 'springDamper.s_rel', 'springDamper.v_rel', 'springDamper1.s_rel', 'springDamper1.v_rel', 'brake.mode', 'brake.startBackward', 'brake.startForward', 'massWithStopAndFriction.mode', 'massWithStopAndFriction.startBackward', 'massWithStopAndFriction.startForward', 'supportFriction.mode', 'supportFriction.startBackward', 'supportFriction.startForward'] 0.3580308210221119 0.372692057 0.112734464 Calling exit ...