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.0007859/0.0007859, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003226/0.003226, allocations: 160.5 kB / 24.7 MB, free: 9.43 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 0.8392/0.8392, allocations: 177.1 MB / 205 MB, free: 5.715 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 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.91e-05, allocations: 8.531 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.00485/0.004869, allocations: 4.078 MB / 329.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.007232, allocations: 1.542 MB / 331.5 MB, free: 9.762 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002491/0.007481, allocations: 15.94 kB / 331.5 MB, free: 9.746 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.007862, allocations: 130.6 kB / 331.6 MB, free: 9.617 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005324/0.008394, allocations: 297.5 kB / 331.9 MB, free: 9.324 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007417/0.009136, allocations: 434.5 kB / 332.3 MB, free: 8.902 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008375/0.009973, allocations: 1.205 MB / 333.5 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.0102, allocations: 166.3 kB / 333.7 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005889/0.01079, allocations: 0.7056 MB / 334.4 MB, free: 6.812 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000351/0.01114, allocations: 438.9 kB / 334.8 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.072e-05/0.01123, allocations: 96 kB / 334.9 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.01142, allocations: 167.8 kB / 335.1 MB, free: 6.125 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.01159, allocations: 251.2 kB / 335.3 MB, free: 5.879 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.0118, allocations: 335.2 kB / 335.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007959/0.0126, allocations: 1.207 MB / 336.8 MB, free: 4.336 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.0126, allocations: 0 / 336.8 MB, free: 4.336 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.0126, allocations: 0 / 336.8 MB, free: 4.336 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.01261, allocations: 0 / 336.8 MB, free: 4.336 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001725/0.01433, allocations: 1.398 MB / 338.2 MB, free: 2.902 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.01437, allocations: 11.97 kB / 338.3 MB, free: 2.891 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002769/0.01464, allocations: 120.3 kB / 338.4 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/0.0151, allocations: 411.2 kB / 338.8 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.01513, allocations: 54.38 kB / 338.8 MB, free: 2.289 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-05/0.01522, allocations: 68.38 kB / 338.9 MB, free: 2.223 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009542/0.01617, allocations: 0.8042 MB / 339.7 MB, free: 1.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.0162, allocations: 15.88 kB / 339.7 MB, free: 1.395 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.556e-05/0.01625, allocations: 32 kB / 339.7 MB, free: 1.363 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.01627, allocations: 16 kB / 339.8 MB, free: 1.348 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.01737, allocations: 0.8315 MB / 340.6 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/0.01973, allocations: 1.87 MB / 342.5 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008879/0.02062, allocations: 0.6786 MB / 343.1 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005166/0.02114, allocations: 428.2 kB / 343.6 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.908e-05/0.02119, allocations: 9 kB / 343.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006517/0.02184, allocations: 0.536 MB / 344.1 MB, free: 12.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=90): time 1.994e-06/0.02184, allocations: 4 kB / 344.1 MB, free: 12.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=110): time 0.005827/0.02767, allocations: 3.775 MB / 347.9 MB, free: 9.102 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.02771, allocations: 68.41 kB / 348 MB, free: 9.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.02799, allocations: 413.7 kB / 348.4 MB, free: 8.613 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.117e-05/0.02805, allocations: 61.69 kB / 348.4 MB, free: 8.547 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.02818, allocations: 285.5 kB / 348.7 MB, free: 8.262 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.02837, allocations: 388.7 kB / 349.1 MB, free: 7.879 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.02856, allocations: 186.9 kB / 349.3 MB, free: 7.688 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.02867, allocations: 374.8 kB / 349.6 MB, free: 7.312 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005476/0.02921, allocations: 414.4 kB / 350 MB, free: 6.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006047/0.02982, allocations: 0.5071 MB / 350.5 MB, free: 6.383 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009385/0.03076, allocations: 0.744 MB / 351.3 MB, free: 5.621 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.03076, allocations: 0 / 351.3 MB, free: 5.621 MB / 314.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00171/0.03247, allocations: 1.295 MB / 352.6 MB, free: 4.309 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.03249, allocations: 8 kB / 352.6 MB, free: 4.301 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.0325, allocations: 0 / 352.6 MB, free: 4.301 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006782/0.03318, allocations: 0.5333 MB / 353.1 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003929/0.03357, allocations: 191.8 kB / 353.3 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.03599, allocations: 3.266 MB / 356.6 MB, free: 152 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005087/0.0365, allocations: 179.8 kB / 356.7 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/0.03655, allocations: 35.98 kB / 356.8 MB, free: 15.94 MB / 330.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.0002275/0.03678, allocations: 221.7 kB / 357 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.232e-05/0.03686, allocations: 79.52 kB / 357.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.03696, allocations: 103.1 kB / 357.2 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.03696, allocations: 12 kB / 357.2 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.03697, allocations: 0 / 357.2 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.03698, allocations: 11.86 kB / 357.2 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/0.03953, allocations: 2.137 MB / 359.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.03954, allocations: 0 / 359.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/0.03991, allocations: 180 kB / 359.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000577/0.04049, allocations: 0.506 MB / 360 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.911e-05/0.04054, allocations: 31.97 kB / 360 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002101/0.04264, allocations: 3.045 MB / 363.1 MB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.04264, allocations: 4.031 kB / 363.1 MB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/0.04474, allocations: 1.753 MB / 364.9 MB, free: 7.574 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/0.04497, allocations: 159.4 kB / 365 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.688e-05/0.04504, allocations: 35.98 kB / 365 MB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005709/0.04561, allocations: 207.9 kB / 365.2 MB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005509/0.04616, allocations: 396.2 kB / 365.6 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.007e-05/0.04621, allocations: 39.97 kB / 365.7 MB, free: 6.754 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001945/0.04641, allocations: 275.1 kB / 365.9 MB, free: 6.484 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04641, allocations: 0 / 365.9 MB, free: 6.484 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004407/0.04685, allocations: 244 kB / 366.2 MB, free: 6.246 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 (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.0006751/0.04752, allocations: 436.1 kB / 366.6 MB, free: 5.965 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.04892, allocations: 1.087 MB / 367.7 MB, free: 4.867 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.04892, allocations: 4 kB / 367.7 MB, free: 4.863 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008058/0.04973, allocations: 0.6844 MB / 368.4 MB, free: 4.164 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005027/0.05023, allocations: 162.3 kB / 368.5 MB, free: 4.016 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.05247, allocations: 1.844 MB / 370.4 MB, free: 2.113 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.05268, allocations: 353.5 kB / 370.7 MB, free: 1.742 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.05284, allocations: 76.47 kB / 370.8 MB, free: 1.668 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.05284, allocations: 0 / 370.8 MB, free: 1.668 MB / 330.7 MB Notification: Performance of Templates: time 0.01335/0.06619, allocations: 18.63 MB / 389.4 MB, free: 15.02 MB / 362.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.527007515542209]