Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001521/0.001521, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 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.001547/0.001547, allocations: 166.4 kB / 25.02 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 158.6 MB / 186.8 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.118e-05/4.34e-05, allocations: 6.312 kB / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.01092/0.01096, allocations: 3.911 MB / 254.3 MB, free: 3.883 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004635/0.0156, allocations: 1.302 MB / 255.6 MB, free: 2.578 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000631/0.01623, allocations: 11.94 kB / 255.6 MB, free: 2.566 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006731/0.0169, allocations: 122.8 kB / 255.7 MB, free: 2.445 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.01811, allocations: 241.8 kB / 255.9 MB, free: 2.207 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.0202, allocations: 442.9 kB / 256.4 MB, free: 1.773 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002005/0.02221, allocations: 1.166 MB / 257.5 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004973/0.02271, allocations: 174.2 kB / 257.7 MB, free: 428 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.02407, allocations: 0.6706 MB / 258.4 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007172/0.02479, allocations: 422.9 kB / 258.8 MB, free: 15.33 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.02496, allocations: 92 kB / 258.9 MB, free: 15.24 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003492/0.02531, allocations: 151.9 kB / 259 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002993/0.02561, allocations: 231.2 kB / 259.3 MB, free: 14.87 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004478/0.02606, allocations: 327.3 kB / 259.6 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.02767, allocations: 1.145 MB / 260.7 MB, free: 13.4 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.02768, allocations: 0 / 260.7 MB, free: 13.4 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.02768, allocations: 4 kB / 260.7 MB, free: 13.39 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.0277, allocations: 0 / 260.7 MB, free: 13.39 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.003777/0.03147, allocations: 1.353 MB / 262.1 MB, free: 12 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.03152, allocations: 11.98 kB / 262.1 MB, free: 11.99 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004413/0.03196, allocations: 140.4 kB / 262.2 MB, free: 11.85 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008642/0.03283, allocations: 395.3 kB / 262.6 MB, free: 11.44 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.278e-05/0.0329, allocations: 54.38 kB / 262.7 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.03307, allocations: 80.31 kB / 262.7 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.03501, allocations: 0.8081 MB / 263.6 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.03504, allocations: 4.188 kB / 263.6 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.787e-05/0.03514, allocations: 28.12 kB / 263.6 MB, free: 10.47 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.03516, allocations: 16 kB / 263.6 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.03744, allocations: 0.8627 MB / 264.5 MB, free: 9.586 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004576/0.04201, allocations: 1.874 MB / 266.3 MB, free: 7.652 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.04375, allocations: 0.6694 MB / 267 MB, free: 6.973 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/0.04487, allocations: 436.3 kB / 267.4 MB, free: 6.547 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-05/0.04495, allocations: 17 kB / 267.4 MB, free: 6.531 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00137/0.04632, allocations: 0.5477 MB / 268 MB, free: 5.973 MB / 250.7 MB Notification: Performance of pre-optimization done (n=86): time 3.417e-06/0.04632, allocations: 0 / 268 MB, free: 5.973 MB / 250.7 MB Notification: Performance of matching and sorting (n=106): time 0.01264/0.05896, allocations: 3.873 MB / 271.9 MB, free: 2.062 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.05903, allocations: 76.28 kB / 271.9 MB, free: 1.977 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005645/0.0596, allocations: 373.5 kB / 272.3 MB, free: 1.605 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.05972, allocations: 57.7 kB / 272.4 MB, free: 1.543 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/0.06, allocations: 281.5 kB / 272.6 MB, free: 1.262 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000417/0.06042, allocations: 372.8 kB / 273 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003774/0.0608, allocations: 186.9 kB / 273.2 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002602/0.06106, allocations: 374.8 kB / 273.6 MB, free: 336 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.06222, allocations: 438.5 kB / 274 MB, free: 15.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.06345, allocations: 0.5267 MB / 274.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001983/0.06543, allocations: 0.7753 MB / 275.3 MB, free: 14.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.06544, allocations: 4 kB / 275.3 MB, free: 14.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003795/0.06923, allocations: 1.393 MB / 276.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.06926, allocations: 4 kB / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.06927, allocations: 8 kB / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/0.07068, allocations: 0.6543 MB / 277.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009044/0.07158, allocations: 195.7 kB / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005245/0.07683, allocations: 3.301 MB / 280.8 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.07819, allocations: 183.9 kB / 281 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.0783, allocations: 35.98 kB / 281.1 MB, free: 8.613 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 (supportFriction.free,massWithStopAndFriction.stopped,massWithStopAndFriction.mode,$PRE.massWithStopAndFriction.mode,massWithStopAndFriction.locked,massWithStopAndFriction.startBackward,$PRE.massWithStopAndFriction.startBackward,massWithStopAndFriction.startForward,$PRE.massWithStopAndFriction.startForward,massWithStopAndFriction.free,brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,supportFriction.mode,$PRE.supportFriction.mode,supportFriction.locked,supportFriction.startBackward,$PRE.supportFriction.startBackward,supportFriction.startForward,$PRE.supportFriction.startForward,elastoGap.contact,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,7), (1,5), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004579/0.07876, allocations: 213.7 kB / 281.3 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002624/0.07902, allocations: 111.5 kB / 281.4 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002941/0.07931, allocations: 102.9 kB / 281.5 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.07932, allocations: 12 kB / 281.5 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.07933, allocations: 4 kB / 281.5 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.07934, allocations: 3.984 kB / 281.5 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005355/0.0847, allocations: 2.179 MB / 283.7 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.08471, allocations: 12.16 kB / 283.7 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008728/0.08558, allocations: 171.8 kB / 283.8 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001304/0.08689, allocations: 0.6231 MB / 284.5 MB, free: 5.098 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.087, allocations: 35.95 kB / 284.5 MB, free: 5.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00453/0.09153, allocations: 3.085 MB / 287.6 MB, free: 1.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.09154, allocations: 3.938 kB / 287.6 MB, free: 1.816 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004713/0.09625, allocations: 1.869 MB / 289.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004821/0.09673, allocations: 163.3 kB / 289.6 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.09687, allocations: 28 kB / 289.6 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.09825, allocations: 199.9 kB / 289.8 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001082/0.09933, allocations: 396.2 kB / 290.2 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.09944, allocations: 51.95 kB / 290.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000347/0.09979, allocations: 255.2 kB / 290.5 MB, free: 14.83 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09979, allocations: 0 / 290.5 MB, free: 14.83 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00089/0.1007, allocations: 247.9 kB / 290.8 MB, free: 14.59 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,massWithStopAndFriction.s,massWithStopAndFriction.v,springDamper1.s_rel,springDamper1.v_rel) * Number of discrete variables: 17 ($whenCondition1,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) * Number of discrete states: 9 (massWithStopAndFriction.mode,massWithStopAndFriction.startBackward,massWithStopAndFriction.startForward,brake.mode,brake.startForward,brake.startBackward,supportFriction.mode,supportFriction.startForward,supportFriction.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,6), (1,6), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003662/0.101, allocations: 157.1 kB / 290.9 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002912/0.104, allocations: 1.14 MB / 292.1 MB, free: 13.28 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.104, allocations: 3.938 kB / 292.1 MB, free: 13.28 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001907/0.1059, allocations: 0.7466 MB / 292.8 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.1069, allocations: 177.5 kB / 293 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004405/0.1113, allocations: 1.782 MB / 294.8 MB, free: 10.51 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.1118, allocations: 344.8 kB / 295.1 MB, free: 10.14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004035/0.1122, allocations: 77.34 kB / 295.2 MB, free: 10.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002486/0.1124, allocations: 64.47 kB / 295.2 MB, free: 10 MB / 282.7 MB Notification: Performance of SimCode: time 1.453e-06/0.1124, allocations: 0 / 295.2 MB, free: 10 MB / 282.7 MB Notification: Performance of Templates: time 0.03039/0.1428, allocations: 15.69 MB / 310.9 MB, free: 10.33 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/HeatLosses/HeatLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.229770801961422]