Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 115.5 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 192.3 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 249.8 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 47.92 kB / 366.8 MB, free: 376 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1167, allocations: 52.14 MB / 418.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.006208/0.1229, allocations: 4.337 MB / 423.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002827/0.1257, allocations: 1.383 MB / 424.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002662/0.126, allocations: 19.94 kB / 424.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003469/0.1263, allocations: 110.9 kB / 424.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004461/0.1268, allocations: 234 kB / 425 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.1278, allocations: 427.2 kB / 425.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.129, allocations: 1.135 MB / 426.6 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003788/0.1293, allocations: 185.7 kB / 426.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007555/0.1301, allocations: 482.6 kB / 427.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000914/0.131, allocations: 0.5176 MB / 427.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.1312, allocations: 92 kB / 427.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003272/0.1315, allocations: 151.9 kB / 428 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002687/0.1318, allocations: 223.3 kB / 428.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004741/0.1323, allocations: 446 kB / 428.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.1336, allocations: 1.074 MB / 429.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1336, allocations: 0 / 429.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1336, allocations: 3.938 kB / 429.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.1336, allocations: 4 kB / 429.7 MB, free: 1.297 MB / 350.1 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.003503/0.1371, allocations: 1.302 MB / 431 MB, free: 15.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1371, allocations: 8.031 kB / 431 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002563/0.1374, allocations: 96.36 kB / 431.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007261/0.1381, allocations: 449.9 kB / 431.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.791e-05/0.1382, allocations: 50.38 kB / 431.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.1383, allocations: 72.33 kB / 431.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/0.1401, allocations: 0.8077 MB / 432.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.365e-05/0.1402, allocations: 7.953 kB / 432.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-05/0.1402, allocations: 31.98 kB / 432.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.1403, allocations: 16 kB / 432.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002187/0.1425, allocations: 0.8666 MB / 433.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004855/0.1473, allocations: 2.377 MB / 435.8 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.1489, allocations: 0.6761 MB / 436.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.15, allocations: 432.2 kB / 436.9 MB, free: 9.895 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001641/0.1501, allocations: 16.98 kB / 436.9 MB, free: 9.875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001306/0.1514, allocations: 0.5516 MB / 437.4 MB, free: 9.312 MB / 366.1 MB Notification: Performance of pre-optimization done (n=86): time 3.367e-06/0.1514, allocations: 0 / 437.4 MB, free: 9.312 MB / 366.1 MB Notification: Performance of matching and sorting (n=106): time 0.01222/0.1637, allocations: 4.221 MB / 441.7 MB, free: 4.965 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.1637, allocations: 60.41 kB / 441.7 MB, free: 4.895 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005234/0.1642, allocations: 397.8 kB / 442.1 MB, free: 4.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.1644, allocations: 53.7 kB / 442.2 MB, free: 4.441 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.1646, allocations: 273.5 kB / 442.4 MB, free: 4.168 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003679/0.165, allocations: 384.8 kB / 442.8 MB, free: 3.789 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003769/0.1653, allocations: 182.9 kB / 443 MB, free: 3.602 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002542/0.1656, allocations: 370.8 kB / 443.4 MB, free: 3.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.1667, allocations: 442.4 kB / 443.8 MB, free: 2.801 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.1679, allocations: 0.5267 MB / 444.3 MB, free: 2.254 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/0.1697, allocations: 0.7869 MB / 445.1 MB, free: 1.449 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.1697, allocations: 0 / 445.1 MB, free: 1.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003406/0.1731, allocations: 1.35 MB / 446.4 MB, free: 84 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.1732, allocations: 12 kB / 446.5 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.1732, allocations: 4 kB / 446.5 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2481/0.4213, allocations: 0.6391 MB / 447.1 MB, free: 30.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009491/0.4222, allocations: 202.7 kB / 447.3 MB, free: 30.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003838/0.4261, allocations: 3.44 MB / 450.7 MB, free: 28.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.4274, allocations: 179.9 kB / 450.9 MB, free: 28.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.518e-05/0.4275, allocations: 36.3 kB / 451 MB, free: 28.07 MB / 366.1 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.0004229/0.4279, allocations: 220.7 kB / 451.2 MB, free: 27.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.4281, allocations: 73.28 kB / 451.2 MB, free: 27.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002422/0.4283, allocations: 102.8 kB / 451.3 MB, free: 27.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.4283, allocations: 18.72 kB / 451.4 MB, free: 27.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.4283, allocations: 0 / 451.4 MB, free: 27.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.4284, allocations: 7.75 kB / 451.4 MB, free: 27.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004844/0.4332, allocations: 2.48 MB / 453.8 MB, free: 27.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.4332, allocations: 3.469 kB / 453.8 MB, free: 27.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000815/0.434, allocations: 180.9 kB / 454 MB, free: 27.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/0.4352, allocations: 0.628 MB / 454.7 MB, free: 27.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.993e-05/0.4352, allocations: 35.16 kB / 454.7 MB, free: 27.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003538/0.4388, allocations: 3.214 MB / 457.9 MB, free: 24.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-06/0.4388, allocations: 2.438 kB / 457.9 MB, free: 24.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004268/0.4431, allocations: 1.841 MB / 459.7 MB, free: 24.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004079/0.4435, allocations: 240.2 kB / 460 MB, free: 23.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.4436, allocations: 32.36 kB / 460 MB, free: 23.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/0.445, allocations: 206 kB / 460.2 MB, free: 23.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009641/0.4459, allocations: 376.6 kB / 460.6 MB, free: 23.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-05/0.446, allocations: 39.95 kB / 460.6 MB, free: 23.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003172/0.4464, allocations: 274.8 kB / 460.9 MB, free: 23.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4464, allocations: 0 / 460.9 MB, free: 23.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009623/0.4473, allocations: 247.1 kB / 461.1 MB, free: 23.64 MB / 366.1 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.000315/0.4476, allocations: 177.1 kB / 461.3 MB, free: 23.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002784/0.4504, allocations: 1.121 MB / 462.4 MB, free: 23.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4504, allocations: 0 / 462.4 MB, free: 23.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001565/0.452, allocations: 0.7048 MB / 463.1 MB, free: 22.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000882/0.4529, allocations: 128.1 kB / 463.3 MB, free: 22.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.4567, allocations: 2.002 MB / 465.3 MB, free: 21.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.4571, allocations: 0.9331 MB / 466.2 MB, free: 20.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.4574, allocations: 72.88 kB / 466.3 MB, free: 20.85 MB / 366.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4574, allocations: 0 / 466.3 MB, free: 20.85 MB / 366.1 MB Notification: Performance of Templates: time 0.02388/0.4813, allocations: 17.59 MB / 483.8 MB, free: 11.95 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/HeatLosses/HeatLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 10.011965746991336]