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.0009148/0.0009148, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009409/0.0009409, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 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 0.9921/0.9921, allocations: 177 MB / 205.2 MB, free: 5.035 MB / 186.7 MB " [Timeout remaining time 179] 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 - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.616e-05, allocations: 5.266 kB / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.004051/0.004067, allocations: 4.387 MB / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.0062, allocations: 1.601 MB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.006423, allocations: 15.94 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.006766, allocations: 142.6 kB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004678/0.007234, allocations: 293.5 kB / 279.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000609/0.007843, allocations: 427.1 kB / 280.3 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008045/0.008647, allocations: 1.205 MB / 281.5 MB, free: 8.926 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.008865, allocations: 188.2 kB / 281.7 MB, free: 8.727 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006409/0.009506, allocations: 0.7056 MB / 282.4 MB, free: 8.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004184/0.009924, allocations: 446.8 kB / 282.8 MB, free: 7.582 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.01004, allocations: 92 kB / 282.9 MB, free: 7.492 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.01025, allocations: 167.8 kB / 283.1 MB, free: 7.328 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.01042, allocations: 243.2 kB / 283.3 MB, free: 7.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003447/0.01076, allocations: 339.2 kB / 283.6 MB, free: 6.758 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.01177, allocations: 0.8604 MB / 284.5 MB, free: 5.895 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.01178, allocations: 0 / 284.5 MB, free: 5.895 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01178, allocations: 0 / 284.5 MB, free: 5.895 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.689e-06/0.01179, allocations: 0 / 284.5 MB, free: 5.895 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.001508/0.01329, allocations: 1.158 MB / 285.6 MB, free: 4.707 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.01333, allocations: 19.98 kB / 285.7 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003399/0.01367, allocations: 140.8 kB / 285.8 MB, free: 4.551 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000419/0.01409, allocations: 344.1 kB / 286.1 MB, free: 4.184 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.832e-05/0.01413, allocations: 54.38 kB / 286.2 MB, free: 4.133 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.651e-05/0.01421, allocations: 84.31 kB / 286.3 MB, free: 4.051 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006728/0.01489, allocations: 0.5581 MB / 286.8 MB, free: 3.488 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.01491, allocations: 7.922 kB / 286.8 MB, free: 3.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.871e-05/0.01496, allocations: 32 kB / 286.9 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.01497, allocations: 16 kB / 286.9 MB, free: 3.434 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005873/0.01556, allocations: 357.6 kB / 287.2 MB, free: 3.082 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/0.01753, allocations: 1.36 MB / 288.6 MB, free: 1.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005451/0.01807, allocations: 435.2 kB / 289 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.0183, allocations: 196.4 kB / 289.2 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.258e-05/0.01835, allocations: 13 kB / 289.2 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003635/0.01872, allocations: 352.8 kB / 289.6 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of pre-optimization done (n=90): time 2.765e-06/0.01872, allocations: 0 / 289.6 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of matching and sorting (n=110): time 0.1187/0.1374, allocations: 2.48 MB / 292 MB, free: 25.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.1374, allocations: 64.22 kB / 292.1 MB, free: 24.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/0.1377, allocations: 372.7 kB / 292.5 MB, free: 24.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.733e-05/0.1378, allocations: 57.42 kB / 292.5 MB, free: 24.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.1379, allocations: 251.1 kB / 292.8 MB, free: 24.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.1381, allocations: 395.3 kB / 293.2 MB, free: 24.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/0.1383, allocations: 189.3 kB / 293.3 MB, free: 24.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.348e-05/0.1384, allocations: 381.5 kB / 293.7 MB, free: 24.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.1388, allocations: 158.4 kB / 293.9 MB, free: 24.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.139, allocations: 261.7 kB / 294.1 MB, free: 24.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005594/0.1396, allocations: 441.3 kB / 294.6 MB, free: 23.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1396, allocations: 1.094 kB / 294.6 MB, free: 23.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001089/0.1407, allocations: 0.6793 MB / 295.2 MB, free: 23.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.1407, allocations: 5.625 kB / 295.2 MB, free: 23.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.1407, allocations: 2.047 kB / 295.2 MB, free: 23.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005879/0.1413, allocations: 407.5 kB / 295.6 MB, free: 23.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004867/0.1418, allocations: 214.9 kB / 295.8 MB, free: 23.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/0.1434, allocations: 2.696 MB / 298.5 MB, free: 21.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004341/0.1438, allocations: 116.2 kB / 298.7 MB, free: 21.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.682e-05/0.1439, allocations: 29.08 kB / 298.7 MB, free: 21.52 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.0002089/0.1441, allocations: 178.5 kB / 298.9 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.1442, allocations: 93.44 kB / 299 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.217e-05/0.1443, allocations: 106.8 kB / 299.1 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.1443, allocations: 10.16 kB / 299.1 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.1443, allocations: 1.797 kB / 299.1 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.1443, allocations: 4.875 kB / 299.1 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/0.1462, allocations: 1.301 MB / 300.4 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1462, allocations: 5.812 kB / 300.4 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004503/0.1467, allocations: 185.2 kB / 300.6 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000511/0.1472, allocations: 399.1 kB / 301 MB, free: 20.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.806e-05/0.1473, allocations: 39.19 kB / 301 MB, free: 20.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.1486, allocations: 2.542 MB / 303.5 MB, free: 18.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.1486, allocations: 2.406 kB / 303.5 MB, free: 18.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.1497, allocations: 0.943 MB / 304.5 MB, free: 18.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.1499, allocations: 99.66 kB / 304.6 MB, free: 18.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.28e-05/0.15, allocations: 30.94 kB / 304.6 MB, free: 18.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.1504, allocations: 139.1 kB / 304.7 MB, free: 18.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004581/0.1509, allocations: 356.1 kB / 305.1 MB, free: 18.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.676e-05/0.1509, allocations: 34.77 kB / 305.1 MB, free: 18.44 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001326/0.1511, allocations: 153.7 kB / 305.3 MB, free: 18.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1511, allocations: 1.188 kB / 305.3 MB, free: 18.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005943/0.1517, allocations: 246.2 kB / 305.5 MB, free: 18.41 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.001059/0.1527, allocations: 486.2 kB / 306 MB, free: 18.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008838/0.1536, allocations: 0.6793 MB / 306.7 MB, free: 18.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/0.1536, allocations: 7 kB / 306.7 MB, free: 18.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000415/0.154, allocations: 465.5 kB / 307.1 MB, free: 17.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.1545, allocations: 205.3 kB / 307.3 MB, free: 17.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.1566, allocations: 1.562 MB / 308.9 MB, free: 16.99 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.978e-05/0.1567, allocations: 177.2 kB / 309.1 MB, free: 16.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002401/0.157, allocations: 80.48 kB / 309.1 MB, free: 16.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/0.1573, allocations: 203.2 kB / 309.3 MB, free: 16.82 MB / 266.7 MB Notification: Performance of SimCode: time 1.463e-06/0.1573, allocations: 0 / 309.3 MB, free: 16.82 MB / 266.7 MB Notification: Performance of Templates: time 0.01733/0.1746, allocations: 17.32 MB / 326.7 MB, free: 15.76 MB / 282.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.0803118105977774]