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.001021/0.001021, allocations: 80.8 kB / 22.28 MB, free: 2.211 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.001033/0.001033, allocations: 164.9 kB / 25.69 MB, free: 8.453 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.9936/0.9936, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.515e-06/2.515e-06, allocations: 0 / 251.6 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.784e-05, allocations: 2.312 kB / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.006533/0.006561, allocations: 4.247 MB / 255.8 MB, free: 2.961 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003682/0.01024, allocations: 1.364 MB / 257.2 MB, free: 1.59 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005115/0.01075, allocations: 15.88 kB / 257.2 MB, free: 1.574 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.01107, allocations: 114.9 kB / 257.3 MB, free: 1.461 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000373/0.01144, allocations: 245.8 kB / 257.5 MB, free: 1.219 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009236/0.01236, allocations: 435 kB / 258 MB, free: 0.793 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001037/0.0134, allocations: 1.162 MB / 259.1 MB, free: 15.62 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002762/0.01368, allocations: 184.1 kB / 259.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.01468, allocations: 0.6861 MB / 260 MB, free: 14.74 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005796/0.01526, allocations: 423 kB / 260.4 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.01542, allocations: 92 kB / 260.5 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.01569, allocations: 151.9 kB / 260.6 MB, free: 14.09 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.01585, allocations: 231.2 kB / 260.9 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002446/0.01609, allocations: 331.2 kB / 261.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008181/0.01691, allocations: 0.8137 MB / 262 MB, free: 12.72 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.01692, allocations: 4 kB / 262 MB, free: 12.71 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.01692, allocations: 0 / 262 MB, free: 12.71 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.01694, allocations: 0 / 262 MB, free: 12.71 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.001455/0.01839, allocations: 1.108 MB / 263.1 MB, free: 11.58 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.01843, allocations: 15.98 kB / 263.1 MB, free: 11.56 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002145/0.01864, allocations: 112.8 kB / 263.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/0.01904, allocations: 323.4 kB / 263.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/0.01908, allocations: 54.36 kB / 263.6 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.012e-05/0.01916, allocations: 72.38 kB / 263.7 MB, free: 10.99 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.02017, allocations: 0.5705 MB / 264.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.02019, allocations: 12.08 kB / 264.3 MB, free: 10.4 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.587e-05/0.02024, allocations: 28.12 kB / 264.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.02025, allocations: 16 kB / 264.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004847/0.02073, allocations: 361.7 kB / 264.7 MB, free: 10 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.02261, allocations: 1.357 MB / 266 MB, free: 8.602 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/0.02311, allocations: 406.1 kB / 266.4 MB, free: 8.195 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.02333, allocations: 200.4 kB / 266.6 MB, free: 8 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.01e-05/0.02338, allocations: 17 kB / 266.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003366/0.02372, allocations: 352.9 kB / 267 MB, free: 7.629 MB / 250.7 MB Notification: Performance of pre-optimization done (n=86): time 2.024e-06/0.02372, allocations: 3.938 kB / 267 MB, free: 7.625 MB / 250.7 MB Notification: Performance of matching and sorting (n=106): time 0.003838/0.02756, allocations: 2.454 MB / 269.4 MB, free: 5.141 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.02759, allocations: 64.41 kB / 269.5 MB, free: 5.062 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.0278, allocations: 351.2 kB / 269.8 MB, free: 4.711 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.017e-05/0.02786, allocations: 57.69 kB / 269.9 MB, free: 4.648 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.02797, allocations: 246.1 kB / 270.1 MB, free: 4.398 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/0.02817, allocations: 376.8 kB / 270.5 MB, free: 4.027 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.02836, allocations: 186.8 kB / 270.7 MB, free: 3.836 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.02848, allocations: 378.6 kB / 271.1 MB, free: 3.457 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005722/0.02905, allocations: 174.5 kB / 271.2 MB, free: 3.289 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.0293, allocations: 275.3 kB / 271.5 MB, free: 3 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000414/0.02972, allocations: 445.7 kB / 271.9 MB, free: 2.551 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.02972, allocations: 0 / 271.9 MB, free: 2.551 MB / 250.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.000927/0.03065, allocations: 0.7023 MB / 272.6 MB, free: 1.832 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.03067, allocations: 8 kB / 272.6 MB, free: 1.824 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.03068, allocations: 0 / 272.6 MB, free: 1.824 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006103/0.03129, allocations: 0.5098 MB / 273.2 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/0.03172, allocations: 215.7 kB / 273.4 MB, free: 1.094 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/0.03352, allocations: 2.722 MB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/0.0339, allocations: 120.1 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/0.03394, allocations: 27.98 kB / 276.2 MB, free: 14.09 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.0001926/0.03413, allocations: 172.5 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.38e-05/0.03423, allocations: 83.92 kB / 276.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.779e-05/0.03431, allocations: 98.91 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.03432, allocations: 19.92 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.03433, allocations: 0 / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.03434, allocations: 3.984 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.03605, allocations: 1.311 MB / 277.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.03606, allocations: 4 kB / 277.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004223/0.03648, allocations: 195.7 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007459/0.03722, allocations: 0.5022 MB / 278.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.595e-05/0.03729, allocations: 35.89 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/0.03877, allocations: 2.557 MB / 281.2 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.03877, allocations: 4 kB / 281.2 MB, free: 8.895 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.03985, allocations: 0.9919 MB / 282.2 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.04003, allocations: 99.5 kB / 282.3 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.405e-05/0.04011, allocations: 32 kB / 282.3 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000377/0.04049, allocations: 135.8 kB / 282.5 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004543/0.04094, allocations: 356.2 kB / 282.8 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.134e-05/0.04099, allocations: 35.95 kB / 282.8 MB, free: 7.211 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.68e-05/0.04109, allocations: 140.7 kB / 283 MB, free: 7.074 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04109, allocations: 0 / 283 MB, free: 7.074 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004993/0.04159, allocations: 247.9 kB / 283.2 MB, free: 6.832 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.0002313/0.04182, allocations: 154.3 kB / 283.4 MB, free: 6.672 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008278/0.04265, allocations: 0.6786 MB / 284 MB, free: 5.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/0.04266, allocations: 4.312 kB / 284.1 MB, free: 5.977 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004643/0.04312, allocations: 482.8 kB / 284.5 MB, free: 5.488 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.04356, allocations: 162.2 kB / 284.7 MB, free: 5.332 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.0459, allocations: 1.508 MB / 286.2 MB, free: 3.766 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.04601, allocations: 169.1 kB / 286.4 MB, free: 3.578 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002282/0.04624, allocations: 73.34 kB / 286.4 MB, free: 3.504 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/0.04654, allocations: 201.2 kB / 286.6 MB, free: 3.309 MB / 266.7 MB Notification: Performance of SimCode: time 1.883e-06/0.04654, allocations: 0 / 286.6 MB, free: 3.309 MB / 266.7 MB Notification: Performance of Templates: time 0.01998/0.06653, allocations: 17.16 MB / 303.8 MB, free: 2.137 MB / 282.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 -s gbode -gbm=radauIIA3 -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.3569786846637726]