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.001096/0.001096, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001201/0.001201, allocations: 174.3 kB / 24.91 MB, free: 8.766 MB / 18.57 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.03/1.03, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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 - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 273.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.054e-05, allocations: 2.312 kB / 273.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.004112/0.004133, allocations: 4.383 MB / 277.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.006302, allocations: 1.609 MB / 279.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000209/0.006511, allocations: 15.88 kB / 279.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004437/0.006954, allocations: 138.6 kB / 279.6 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004577/0.007412, allocations: 293.5 kB / 279.9 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006502/0.008062, allocations: 435.1 kB / 280.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009111/0.008973, allocations: 1.201 MB / 281.5 MB, free: 9.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.009227, allocations: 192.2 kB / 281.7 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006766/0.009904, allocations: 0.6979 MB / 282.4 MB, free: 8.258 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003888/0.01029, allocations: 438.9 kB / 282.9 MB, free: 7.828 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.565e-05/0.01039, allocations: 92 kB / 282.9 MB, free: 7.738 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002474/0.01064, allocations: 171.8 kB / 283.1 MB, free: 7.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.01082, allocations: 243.2 kB / 283.3 MB, free: 7.332 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.01104, allocations: 343.2 kB / 283.7 MB, free: 6.996 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007762/0.01181, allocations: 0.8565 MB / 284.5 MB, free: 6.137 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.01182, allocations: 4 kB / 284.5 MB, free: 6.133 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.01182, allocations: 0 / 284.5 MB, free: 6.133 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.01183, allocations: 0 / 284.5 MB, free: 6.133 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001633/0.01346, allocations: 1.158 MB / 285.7 MB, free: 4.945 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.01349, allocations: 8.031 kB / 285.7 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003279/0.01382, allocations: 144.8 kB / 285.9 MB, free: 4.797 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/0.01425, allocations: 348.1 kB / 286.2 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.233e-05/0.0143, allocations: 50.38 kB / 286.2 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.383e-05/0.01438, allocations: 80.31 kB / 286.3 MB, free: 4.301 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000628/0.01501, allocations: 0.562 MB / 286.9 MB, free: 3.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.01503, allocations: 7.922 kB / 286.9 MB, free: 3.723 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.712e-05/0.01508, allocations: 35.98 kB / 286.9 MB, free: 3.688 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.01509, allocations: 16 kB / 286.9 MB, free: 3.672 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004757/0.01557, allocations: 353.7 kB / 287.3 MB, free: 3.324 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.01748, allocations: 1.36 MB / 288.6 MB, free: 1.922 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005693/0.01805, allocations: 433.7 kB / 289.1 MB, free: 1.488 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.01828, allocations: 196.4 kB / 289.3 MB, free: 1.293 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.585e-05/0.01833, allocations: 17 kB / 289.3 MB, free: 1.277 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003623/0.01869, allocations: 352.8 kB / 289.6 MB, free: 0.918 MB / 266.7 MB Notification: Performance of pre-optimization done (n=90): time 2.385e-06/0.0187, allocations: 0 / 289.6 MB, free: 0.918 MB / 266.7 MB Notification: Performance of matching and sorting (n=110): time 0.1238/0.1425, allocations: 2.483 MB / 292.1 MB, free: 25.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.1425, allocations: 63.52 kB / 292.2 MB, free: 25.06 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.1429, allocations: 368.5 kB / 292.5 MB, free: 24.94 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.881e-05/0.1429, allocations: 61.34 kB / 292.6 MB, free: 24.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.143, allocations: 250.4 kB / 292.8 MB, free: 24.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.1432, allocations: 391.5 kB / 293.2 MB, free: 24.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.1434, allocations: 191.7 kB / 293.4 MB, free: 24.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.529e-05/0.1435, allocations: 384.8 kB / 293.8 MB, free: 24.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.1438, allocations: 158.6 kB / 293.9 MB, free: 24.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/0.1441, allocations: 260.2 kB / 294.2 MB, free: 24.19 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00076/0.1449, allocations: 438 kB / 294.6 MB, free: 24.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.1449, allocations: 1.438 kB / 294.6 MB, free: 24.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001523/0.1464, allocations: 0.6796 MB / 295.3 MB, free: 24.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.1464, allocations: 10.75 kB / 295.3 MB, free: 24.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.1464, allocations: 1.219 kB / 295.3 MB, free: 24.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008095/0.1472, allocations: 412.2 kB / 295.7 MB, free: 24.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007491/0.148, allocations: 209.8 kB / 295.9 MB, free: 24.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.1501, allocations: 2.681 MB / 298.6 MB, free: 21.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005146/0.1507, allocations: 116.5 kB / 298.7 MB, free: 21.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.1507, allocations: 28.42 kB / 298.7 MB, free: 21.69 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,9), (1,5), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002779/0.151, allocations: 193.7 kB / 298.9 MB, free: 21.56 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.1512, allocations: 80.19 kB / 299 MB, free: 21.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.1513, allocations: 109.1 kB / 299.1 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.1513, allocations: 15.53 kB / 299.1 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.1513, allocations: 2.375 kB / 299.1 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.1513, allocations: 6.766 kB / 299.1 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002654/0.154, allocations: 1.307 MB / 300.4 MB, free: 21.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.154, allocations: 2.906 kB / 300.4 MB, free: 21.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007128/0.1547, allocations: 187.7 kB / 300.6 MB, free: 21.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007591/0.1555, allocations: 399.8 kB / 301 MB, free: 21.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.81e-05/0.1555, allocations: 33.61 kB / 301.1 MB, free: 21.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/0.1569, allocations: 2.545 MB / 303.6 MB, free: 18.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1569, allocations: 2.75 kB / 303.6 MB, free: 18.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.1582, allocations: 0.953 MB / 304.6 MB, free: 18.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002321/0.1584, allocations: 87.22 kB / 304.6 MB, free: 18.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.061e-05/0.1585, allocations: 34.31 kB / 304.7 MB, free: 18.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000418/0.1589, allocations: 136.6 kB / 304.8 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004696/0.1594, allocations: 361.6 kB / 305.2 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-05/0.1595, allocations: 35.03 kB / 305.2 MB, free: 18.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.1596, allocations: 151.2 kB / 305.3 MB, free: 18.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1596, allocations: 1.281 kB / 305.3 MB, free: 18.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006021/0.1602, allocations: 239.7 kB / 305.6 MB, free: 18.55 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 (90): * Single equations (assignments): 87 * 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,8), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001041/0.1612, allocations: 0.4924 MB / 306.1 MB, free: 18.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008911/0.1621, allocations: 0.6782 MB / 306.7 MB, free: 18.2 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.1621, allocations: 7.094 kB / 306.8 MB, free: 18.2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004104/0.1625, allocations: 464.9 kB / 307.2 MB, free: 18.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.163, allocations: 194.7 kB / 307.4 MB, free: 17.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.165, allocations: 1.576 MB / 309 MB, free: 17.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.62e-05/0.1651, allocations: 167.1 kB / 309.1 MB, free: 17.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002364/0.1654, allocations: 88.91 kB / 309.2 MB, free: 17.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.1656, allocations: 200.9 kB / 309.4 MB, free: 16.96 MB / 266.7 MB Notification: Performance of SimCode: time 1.483e-06/0.1656, allocations: 0 / 309.4 MB, free: 16.96 MB / 266.7 MB Notification: Performance of Templates: time 0.01674/0.1824, allocations: 17.32 MB / 326.7 MB, free: 15.95 MB / 282.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 240] 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","",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.14331725705415]