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.0008066/0.0008066, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.00142/0.00142, allocations: 161.3 kB / 25.6 MB, free: 8.895 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 0.9697/0.9697, allocations: 158.6 MB / 187.5 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] 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.565e-06/2.565e-06, allocations: 0 / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.07e-05/3.326e-05, allocations: 6.312 kB / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.005947/0.00598, allocations: 4.184 MB / 255.6 MB, free: 3.043 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00315/0.00913, allocations: 1.326 MB / 257 MB, free: 1.711 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005656/0.009695, allocations: 19.88 kB / 257 MB, free: 1.691 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.01008, allocations: 114.8 kB / 257.1 MB, free: 1.578 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005822/0.01067, allocations: 241.8 kB / 257.3 MB, free: 1.34 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.0121, allocations: 439 kB / 257.8 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001393/0.01349, allocations: 1.173 MB / 258.9 MB, free: 15.73 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003877/0.01388, allocations: 174.1 kB / 259.1 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.01496, allocations: 0.6706 MB / 259.8 MB, free: 14.88 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006699/0.01563, allocations: 430.9 kB / 260.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000223/0.01585, allocations: 92 kB / 260.3 MB, free: 14.36 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003303/0.01618, allocations: 147.9 kB / 260.4 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.01639, allocations: 231.2 kB / 260.7 MB, free: 13.99 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003751/0.01677, allocations: 331.2 kB / 261 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.01782, allocations: 0.8137 MB / 261.8 MB, free: 12.85 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.01782, allocations: 0 / 261.8 MB, free: 12.85 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01782, allocations: 0 / 261.8 MB, free: 12.85 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.01783, allocations: 0 / 261.8 MB, free: 12.85 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.002187/0.02002, allocations: 1.384 MB / 263.2 MB, free: 11.42 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.02007, allocations: 15.98 kB / 263.2 MB, free: 11.4 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003116/0.02038, allocations: 148.3 kB / 263.3 MB, free: 11.26 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005456/0.02092, allocations: 386.3 kB / 263.7 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.532e-05/0.02098, allocations: 58.36 kB / 263.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.0211, allocations: 68.33 kB / 263.8 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009973/0.0221, allocations: 0.5667 MB / 264.4 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.02212, allocations: 4.141 kB / 264.4 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-05/0.02219, allocations: 36.12 kB / 264.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.02221, allocations: 16 kB / 264.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007329/0.02294, allocations: 421.5 kB / 264.9 MB, free: 9.691 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.02508, allocations: 1.675 MB / 266.6 MB, free: 7.961 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005686/0.02565, allocations: 450 kB / 267 MB, free: 7.508 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.0259, allocations: 219.2 kB / 267.2 MB, free: 7.293 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.16e-05/0.02596, allocations: 20.98 kB / 267.2 MB, free: 7.273 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003953/0.02636, allocations: 366.6 kB / 267.6 MB, free: 6.902 MB / 250.7 MB Notification: Performance of pre-optimization done (n=86): time 2.726e-06/0.02636, allocations: 3.938 kB / 267.6 MB, free: 6.898 MB / 250.7 MB Notification: Performance of matching and sorting (n=106): time 0.003882/0.03024, allocations: 2.508 MB / 270.1 MB, free: 4.348 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.03028, allocations: 64.41 kB / 270.2 MB, free: 4.273 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.03055, allocations: 402.4 kB / 270.6 MB, free: 3.863 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.407e-05/0.03061, allocations: 53.7 kB / 270.6 MB, free: 3.805 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.03077, allocations: 332.1 kB / 270.9 MB, free: 3.473 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.03099, allocations: 376.8 kB / 271.3 MB, free: 3.102 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.03119, allocations: 196.5 kB / 271.5 MB, free: 2.898 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.03136, allocations: 0.5507 MB / 272 MB, free: 2.336 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.03166, allocations: 198.5 kB / 272.2 MB, free: 2.145 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.03197, allocations: 320.2 kB / 272.5 MB, free: 1.805 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004869/0.03246, allocations: 446.9 kB / 273 MB, free: 1.348 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.03246, allocations: 4 kB / 273 MB, free: 1.344 MB / 250.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.001208/0.03367, allocations: 0.8937 MB / 273.9 MB, free: 440 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.03369, allocations: 12 kB / 273.9 MB, free: 428 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.0337, allocations: 0 / 273.9 MB, free: 428 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006406/0.03434, allocations: 0.5336 MB / 274.4 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/0.03474, allocations: 191.7 kB / 274.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/0.03697, allocations: 3.949 MB / 278.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003937/0.03736, allocations: 119.9 kB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.0374, allocations: 27.98 kB / 278.7 MB, free: 11.41 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.0002208/0.03762, allocations: 220.5 kB / 278.9 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.03774, allocations: 107.6 kB / 279 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.839e-05/0.03783, allocations: 98.91 kB / 279.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.03784, allocations: 11.94 kB / 279.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.03784, allocations: 0 / 279.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.03785, allocations: 11.97 kB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/0.03992, allocations: 1.722 MB / 280.9 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.03992, allocations: 0 / 280.9 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003684/0.04029, allocations: 175.9 kB / 281 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005598/0.04085, allocations: 0.5182 MB / 281.6 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.775e-05/0.0409, allocations: 31.97 kB / 281.6 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.04283, allocations: 3.724 MB / 285.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.04283, allocations: 0 / 285.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/0.04424, allocations: 1.236 MB / 286.5 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/0.04449, allocations: 155.4 kB / 286.7 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.475e-05/0.04457, allocations: 32 kB / 286.7 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.04498, allocations: 135.8 kB / 286.9 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000468/0.04545, allocations: 364.2 kB / 287.2 MB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/0.0455, allocations: 35.97 kB / 287.3 MB, free: 2.512 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001361/0.04563, allocations: 251 kB / 287.5 MB, free: 2.266 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04563, allocations: 0 / 287.5 MB, free: 2.266 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005704/0.0462, allocations: 247.9 kB / 287.7 MB, free: 2.023 MB / 266.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.0002319/0.04643, allocations: 169 kB / 287.9 MB, free: 1.848 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008888/0.04732, allocations: 0.7937 MB / 288.7 MB, free: 1.035 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.04733, allocations: 0 / 288.7 MB, free: 1.035 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004846/0.04781, allocations: 0.556 MB / 289.3 MB, free: 468 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/0.04829, allocations: 165.7 kB / 289.4 MB, free: 304 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.05053, allocations: 1.67 MB / 291.1 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.05064, allocations: 165.1 kB / 291.3 MB, free: 14.38 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000217/0.05085, allocations: 77.33 kB / 291.3 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/0.05115, allocations: 218.1 kB / 291.5 MB, free: 14.08 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.05116, allocations: 4 kB / 291.5 MB, free: 14.08 MB / 282.7 MB Notification: Performance of Templates: time 0.01984/0.07099, allocations: 17.22 MB / 308.8 MB, free: 12.86 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.279806790407747]