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.001335/0.001335, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.001551/0.001551, allocations: 216.8 kB / 24.5 MB, free: 3.926 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.442/1.442, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.703e-05/2.703e-05, allocations: 2.281 kB / 378.9 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.1714/0.1714, allocations: 4.051 MB / 383 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002553/0.174, allocations: 1.543 MB / 384.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003165/0.1743, allocations: 18.41 kB / 384.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003929/0.1747, allocations: 135.9 kB / 384.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005456/0.1752, allocations: 281.9 kB / 384.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009347/0.1762, allocations: 436 kB / 385.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00127/0.1774, allocations: 1.303 MB / 386.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003025/0.1777, allocations: 178.5 kB / 386.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006371/0.1784, allocations: 0.5263 MB / 387.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005123/0.1789, allocations: 0.5295 MB / 387.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.179, allocations: 93.75 kB / 388 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003168/0.1793, allocations: 162 kB / 388.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001094/0.1804, allocations: 1.761 MB / 389.9 MB, free: 9.551 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003957/0.1808, allocations: 0.9662 MB / 390.9 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.181, allocations: 73.53 kB / 391 MB, free: 8.883 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.004e-05/0.1811, allocations: 33.98 kB / 391 MB, free: 8.875 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.003058/0.1841, allocations: 3.831 MB / 394.8 MB, free: 6.328 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006588/0.1848, allocations: 0.6832 MB / 395.5 MB, free: 5.965 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.002662/0.1874, allocations: 2.959 MB / 398.5 MB, free: 4.328 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0006615/0.1881, allocations: 0.5116 MB / 399 MB, free: 4.047 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.00447/0.1926, allocations: 3.909 MB / 402.9 MB, free: 1.445 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000504/0.1931, allocations: 427.2 kB / 403.3 MB, free: 1.16 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002111/0.1933, allocations: 245.9 kB / 403.5 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005796/0.1939, allocations: 0.6841 MB / 404.2 MB, free: 344 kB / 302.1 MB Notification: Performance of [SIM] Events: time 0.000843/0.1947, allocations: 0.6692 MB / 404.9 MB, free: 15.84 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001311/0.196, allocations: 1.084 MB / 406 MB, free: 15.19 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.007692/0.2037, allocations: 5.463 MB / 411.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00253/0.2062, allocations: 2.459 MB / 413.9 MB, free: 9.477 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.003071/0.2093, allocations: 1.189 MB / 415.1 MB, free: 8.195 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.003869/0.2132, allocations: 3.816 MB / 418.9 MB, free: 4.371 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.000138/0.2133, allocations: 60.05 kB / 419 MB, free: 4.293 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0006179/0.2139, allocations: 0.5619 MB / 419.5 MB, free: 3.73 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.004654/0.2186, allocations: 3.219 MB / 422.7 MB, free: 456 kB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.001707/0.2203, allocations: 1.18 MB / 423.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 1.082e-06/0.2203, allocations: 0 / 423.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.569e-05/0.2203, allocations: 1 kB / 423.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 0.001749/0.2221, allocations: 1.069 MB / 425 MB, free: 14.17 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 1.269e-05/0.2221, allocations: 4 kB / 425 MB, free: 14.16 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.002458/0.2245, allocations: 1.687 MB / 426.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of [SIM] Jacobian: time 0.002598/0.2271, allocations: 2.037 MB / 428.7 MB, free: 10.25 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:131, array:0, record:2) * 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 8.76e-05/0.2272, allocations: 76.44 kB / 428.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of SimCode: time 0.007715/0.2349, allocations: 4.431 MB / 433.2 MB, free: 5.922 MB / 334.1 MB Notification: Performance of Templates: time 0.02421/0.2591, allocations: 14.23 MB / 447.5 MB, free: 7.742 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] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/HeatLosses/HeatLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference: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 Variables in the result:TAmbient.T,TAmbient.port.T,brake.cgeo,brake.fn_max,brake.mode,brake.mu0,brake.mu_pos[1,1],brake.mu_pos[1,2],brake.peak,brake.s_support,brake.smoothness,brake.startBackward,brake.startForward,brake.v_small,const.k,const.y,convection.Gc,convection.fluid.T,damper.d,damper.flange_b.s,damper.s_nominal,damper.s_rel,damper.v_rel,elastoGap.c,elastoGap.d,elastoGap.f_ref,elastoGap.flange_a.s,elastoGap.n,elastoGap.s_nominal,elastoGap.s_ref,elastoGap.s_rel0,fixed1.flange.s,fixed1.s0,fixed2.flange.s,fixed2.s0,force.s_support,mass1.L,mass1.m,mass1.stateSelect,mass2.L,mass2.m,mass2.stateSelect,mass3.L,mass3.m,mass3.stateSelect,massWithStopAndFriction.F_Coulomb,massWithStopAndFriction.F_Stribeck,massWithStopAndFriction.F_prop,massWithStopAndFriction.L,massWithStopAndFriction.f0,massWithStopAndFriction.f0_max,massWithStopAndFriction.fexp,massWithStopAndFriction.flange_b.f,massWithStopAndFriction.m,massWithStopAndFriction.mode,massWithStopAndFriction.s,massWithStopAndFriction.smax,massWithStopAndFriction.smin,massWithStopAndFriction.startBackward,massWithStopAndFriction.startForward,massWithStopAndFriction.v,massWithStopAndFriction.v_small,sine1.amplitude,sine1.continuous,sine1.f,sine1.offset,sine1.phase,sine1.startTime,sine2.amplitude,sine2.continuous,sine2.f,sine2.offset,sine2.phase,sine2.startTime,spring.c,spring.s_rel0,springDamper.c,springDamper.d,springDamper.s_nominal,springDamper.s_rel,springDamper.s_rel0,springDamper.v_rel,springDamper1.c,springDamper1.d,springDamper1.s_nominal,springDamper1.s_rel,springDamper1.s_rel0,springDamper1.v_rel,supportFriction.f_pos[1,1],supportFriction.f_pos[1,2],supportFriction.free,supportFriction.mode,supportFriction.peak,supportFriction.s_support,supportFriction.smoothness,supportFriction.startBackward,supportFriction.startForward,supportFriction.v_small,time [Calling sys.exit(0), Time elapsed: 5.554274552036077]