Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.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.001412/0.001412, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 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.001546/0.001546, allocations: 219.1 kB / 24.55 MB, free: 3.82 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.522/1.522, allocations: 230.5 MB / 258.2 MB, free: 7.719 MB / 206.1 MB " [Timeout remaining time 178] 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(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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.447e-05, allocations: 4.812 kB / 379 MB, free: 2.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.1985/0.1985, allocations: 4.063 MB / 383.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.2013, allocations: 1.543 MB / 384.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002751/0.2016, allocations: 17.25 kB / 384.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004319/0.202, allocations: 130.4 kB / 384.8 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000559/0.2025, allocations: 284 kB / 385.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.2036, allocations: 436 kB / 385.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.2051, allocations: 1.296 MB / 386.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003803/0.2055, allocations: 162.8 kB / 386.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009681/0.2065, allocations: 0.5236 MB / 387.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006935/0.2072, allocations: 489.3 kB / 387.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001837/0.2074, allocations: 98.75 kB / 388 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004113/0.2078, allocations: 161.8 kB / 388.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001489/0.2093, allocations: 1.756 MB / 390 MB, free: 9.438 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007626/0.21, allocations: 0.9701 MB / 390.9 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.2102, allocations: 73.44 kB / 391 MB, free: 8.766 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001616/0.2104, allocations: 42.03 kB / 391 MB, free: 8.75 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.004953/0.2153, allocations: 3.834 MB / 394.9 MB, free: 6.203 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001251/0.2166, allocations: 0.6851 MB / 395.6 MB, free: 5.844 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.003322/0.2199, allocations: 2.964 MB / 398.5 MB, free: 4.203 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0008328/0.2208, allocations: 470.8 kB / 399 MB, free: 3.977 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.005475/0.2262, allocations: 4.043 MB / 403 MB, free: 1.32 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0005452/0.2268, allocations: 406.8 kB / 403.4 MB, free: 1.051 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002166/0.227, allocations: 245.6 kB / 403.7 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0006557/0.2276, allocations: 0.6807 MB / 404.3 MB, free: 224 kB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0009311/0.2286, allocations: 0.6375 MB / 405 MB, free: 15.74 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001773/0.2303, allocations: 1.095 MB / 406.1 MB, free: 15.07 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.009042/0.2394, allocations: 5.478 MB / 411.5 MB, free: 11.65 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002749/0.2421, allocations: 2.47 MB / 414 MB, free: 9.176 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.003469/0.2456, allocations: 1.115 MB / 415.1 MB, free: 7.969 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.004095/0.2497, allocations: 3.82 MB / 419 MB, free: 4.137 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0001299/0.2498, allocations: 60 kB / 419 MB, free: 4.062 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0005881/0.2504, allocations: 0.5502 MB / 419.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.004847/0.2553, allocations: 3.184 MB / 422.7 MB, free: 268 kB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.001676/0.2569, allocations: 1.18 MB / 423.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 7.01e-07/0.2569, allocations: 0 / 423.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001084/0.258, allocations: 0.678 MB / 424.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.175e-06/0.258, allocations: 1 kB / 424.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 0.001665/0.2597, allocations: 1.107 MB / 425.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 1.664e-05/0.2597, allocations: 7.938 kB / 425.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.003917/0.2636, allocations: 2.938 MB / 428.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of [SIM] Jacobian: time 0.004762/0.2684, allocations: 3.933 MB / 432.6 MB, free: 6.121 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.0001123/0.2685, allocations: 72.84 kB / 432.7 MB, free: 6.055 MB / 334.1 MB Notification: Performance of SimCode: time 0.007745/0.2763, allocations: 4.189 MB / 436.9 MB, free: 1.984 MB / 334.1 MB Notification: Performance of Templates: time 0.02501/0.3013, allocations: 13.81 MB / 450.7 MB, free: 4.199 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.176853930985089] 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.30970934400102124 0.325847653 0.11227115600000001 Calling exit ...