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.001346/0.001346, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.001263/0.001263, allocations: 159.4 kB / 25.45 MB, free: 9.352 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.9128/0.9128, allocations: 158.6 MB / 187.2 MB, free: 3.051 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 3.216e-06/3.216e-06, allocations: 3.984 kB / 299.7 MB, free: 6.941 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/3.046e-05, allocations: 2.281 kB / 299.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.00403/0.00406, allocations: 3.911 MB / 303.6 MB, free: 2.988 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002453/0.006514, allocations: 1.29 MB / 304.9 MB, free: 1.695 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003335/0.006847, allocations: 19.88 kB / 304.9 MB, free: 1.676 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.007171, allocations: 114.8 kB / 305 MB, free: 1.562 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003931/0.007564, allocations: 253.8 kB / 305.3 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.008707, allocations: 439 kB / 305.7 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008414/0.009548, allocations: 1.158 MB / 306.9 MB, free: 15.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.009783, allocations: 174.2 kB / 307 MB, free: 15.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005345/0.01032, allocations: 0.6706 MB / 307.7 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003347/0.01065, allocations: 426.9 kB / 308.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.81e-05/0.01074, allocations: 92 kB / 308.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.01092, allocations: 155.9 kB / 308.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.01106, allocations: 227.3 kB / 308.6 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.01126, allocations: 323.2 kB / 308.9 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007914/0.01206, allocations: 1.153 MB / 310 MB, free: 12.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.01206, allocations: 0 / 310 MB, free: 12.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01206, allocations: 0 / 310 MB, free: 12.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.01207, allocations: 0 / 310 MB, free: 12.52 MB / 298.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.001705/0.01377, allocations: 1.364 MB / 311.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.01381, allocations: 11.98 kB / 311.4 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.01396, allocations: 88.42 kB / 311.5 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.0144, allocations: 391.4 kB / 311.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.036e-05/0.01444, allocations: 50.38 kB / 311.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.468e-05/0.01453, allocations: 72.33 kB / 312 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009722/0.0155, allocations: 0.8042 MB / 312.8 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.01552, allocations: 4.188 kB / 312.8 MB, free: 9.672 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.455e-05/0.01557, allocations: 36.12 kB / 312.9 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.01559, allocations: 16 kB / 312.9 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.01672, allocations: 0.8588 MB / 313.7 MB, free: 8.762 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/0.01905, allocations: 1.866 MB / 315.6 MB, free: 6.836 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008828/0.01993, allocations: 0.6694 MB / 316.3 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005311/0.02046, allocations: 432.3 kB / 316.7 MB, free: 5.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.142e-05/0.02051, allocations: 13 kB / 316.7 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006652/0.02118, allocations: 0.5594 MB / 317.3 MB, free: 5.145 MB / 298.7 MB Notification: Performance of pre-optimization done (n=86): time 2.144e-06/0.02118, allocations: 0 / 317.3 MB, free: 5.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=106): time 0.005986/0.02716, allocations: 3.845 MB / 321.1 MB, free: 1.266 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.02721, allocations: 68.34 kB / 321.2 MB, free: 1.184 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.02748, allocations: 373.6 kB / 321.5 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.232e-05/0.02755, allocations: 61.69 kB / 321.6 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.02769, allocations: 277.5 kB / 321.9 MB, free: 480 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.02789, allocations: 372.8 kB / 322.2 MB, free: 104 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.02809, allocations: 190.8 kB / 322.4 MB, free: 15.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.0282, allocations: 370.8 kB / 322.8 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005865/0.02879, allocations: 434.4 kB / 323.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006419/0.02943, allocations: 0.5345 MB / 323.7 MB, free: 14.56 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009906/0.03042, allocations: 0.7792 MB / 324.5 MB, free: 13.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.03042, allocations: 0 / 324.5 MB, free: 13.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.001794/0.03222, allocations: 1.342 MB / 325.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.03224, allocations: 8 kB / 325.9 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.03225, allocations: 0 / 325.9 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007524/0.033, allocations: 0.6543 MB / 326.5 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003992/0.0334, allocations: 203.8 kB / 326.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/0.03588, allocations: 3.297 MB / 330 MB, free: 8.086 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004979/0.03638, allocations: 175.9 kB / 330.2 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-05/0.03643, allocations: 39.98 kB / 330.2 MB, free: 7.875 MB / 314.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.0002371/0.03667, allocations: 217.6 kB / 330.4 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.343e-05/0.03674, allocations: 79.52 kB / 330.5 MB, free: 7.578 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.857e-05/0.03684, allocations: 102.9 kB / 330.6 MB, free: 7.477 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.03684, allocations: 8 kB / 330.6 MB, free: 7.469 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.03685, allocations: 0 / 330.6 MB, free: 7.469 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.03686, allocations: 7.969 kB / 330.6 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002609/0.03947, allocations: 2.183 MB / 332.8 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.03947, allocations: 3.938 kB / 332.8 MB, free: 5.195 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003817/0.03985, allocations: 171.8 kB / 333 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006341/0.04049, allocations: 0.6272 MB / 333.6 MB, free: 4.391 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.555e-05/0.04054, allocations: 35.97 kB / 333.7 MB, free: 4.355 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/0.0426, allocations: 3.065 MB / 336.7 MB, free: 1.137 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.0426, allocations: 3.938 kB / 336.7 MB, free: 1.133 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/0.04484, allocations: 1.837 MB / 338.6 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.04509, allocations: 171.2 kB / 338.7 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.312e-05/0.04516, allocations: 28 kB / 338.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005651/0.04572, allocations: 203.7 kB / 339 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005666/0.04629, allocations: 392.2 kB / 339.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.082e-05/0.04634, allocations: 43.97 kB / 339.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001773/0.04652, allocations: 259.2 kB / 339.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04652, allocations: 0 / 339.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005056/0.04702, allocations: 248 kB / 339.9 MB, free: 13.93 MB / 330.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.0002311/0.04725, allocations: 161 kB / 340 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.0488, allocations: 1.133 MB / 341.2 MB, free: 12.62 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.04881, allocations: 0 / 341.2 MB, free: 12.62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008662/0.04967, allocations: 0.6998 MB / 341.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000517/0.05019, allocations: 129.6 kB / 342 MB, free: 11.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.0525, allocations: 1.797 MB / 343.8 MB, free: 9.922 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.05273, allocations: 336.8 kB / 344.1 MB, free: 9.566 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.05288, allocations: 68.47 kB / 344.2 MB, free: 9.5 MB / 330.7 MB Notification: Performance of SimCode: time 8.71e-07/0.05288, allocations: 0 / 344.2 MB, free: 9.5 MB / 330.7 MB Notification: Performance of Templates: time 0.1256/0.1785, allocations: 17.82 MB / 362 MB, free: 59.85 MB / 330.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.880098779685795]