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.001675/0.001675, allocations: 108.8 kB / 21.18 MB, free: 0.7734 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.002058/0.002058, allocations: 185.4 kB / 24.47 MB, free: 4.18 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.518/1.518, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.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.001793/0.001793, allocations: 47.92 kB / 371.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2893, allocations: 52.17 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.005986/0.2953, allocations: 4.349 MB / 428.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002699/0.298, allocations: 1.395 MB / 429.6 MB, free: 8.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002828/0.2982, allocations: 19.88 kB / 429.6 MB, free: 8.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003441/0.2986, allocations: 114.8 kB / 429.7 MB, free: 8.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004292/0.299, allocations: 234 kB / 430 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.3001, allocations: 426.4 kB / 430.4 MB, free: 8.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.3013, allocations: 1.135 MB / 431.5 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003414/0.3017, allocations: 190.2 kB / 431.7 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000652/0.3023, allocations: 494.5 kB / 432.2 MB, free: 6.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006804/0.303, allocations: 0.5255 MB / 432.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.3031, allocations: 92 kB / 432.8 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.3034, allocations: 151.9 kB / 433 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002525/0.3037, allocations: 231.3 kB / 433.2 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004569/0.3041, allocations: 446 kB / 433.6 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.3053, allocations: 1.068 MB / 434.7 MB, free: 3.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3053, allocations: 0 / 434.7 MB, free: 3.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3053, allocations: 0 / 434.7 MB, free: 3.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.3054, allocations: 0 / 434.7 MB, free: 3.801 MB / 334.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.003388/0.3087, allocations: 1.353 MB / 436 MB, free: 2.406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3088, allocations: 11.97 kB / 436 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/0.309, allocations: 96.36 kB / 436.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006771/0.3097, allocations: 380.1 kB / 436.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.559e-05/0.3098, allocations: 58.38 kB / 436.6 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.3099, allocations: 76.31 kB / 436.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.3116, allocations: 0.8038 MB / 437.4 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.424e-05/0.3117, allocations: 15.95 kB / 437.5 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.963e-05/0.3117, allocations: 24 kB / 437.5 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.3118, allocations: 16 kB / 437.5 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.3138, allocations: 0.8666 MB / 438.4 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004466/0.3183, allocations: 2.323 MB / 440.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.3198, allocations: 0.6721 MB / 441.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009611/0.3208, allocations: 432.3 kB / 441.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.393e-05/0.3208, allocations: 12.98 kB / 441.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/0.3221, allocations: 0.5556 MB / 442.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=86): time 4.729e-06/0.3221, allocations: 3.984 kB / 442.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.01111/0.3332, allocations: 3.849 MB / 446.2 MB, free: 8.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.3332, allocations: 64.41 kB / 446.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005223/0.3338, allocations: 389.9 kB / 446.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.954e-05/0.3339, allocations: 61.62 kB / 446.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.3341, allocations: 277.5 kB / 447 MB, free: 7.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000346/0.3344, allocations: 376.9 kB / 447.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003238/0.3347, allocations: 182.8 kB / 447.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.3349, allocations: 374.8 kB / 447.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.336, allocations: 438.4 kB / 448.3 MB, free: 5.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.3371, allocations: 0.5345 MB / 448.9 MB, free: 5.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/0.3389, allocations: 0.7792 MB / 449.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3389, allocations: 3.938 kB / 449.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.0033/0.3422, allocations: 1.35 MB / 451 MB, free: 3.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.3423, allocations: 4 kB / 451 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.3423, allocations: 4 kB / 451 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.3435, allocations: 0.6426 MB / 451.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000859/0.3444, allocations: 207.7 kB / 451.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00458/0.349, allocations: 3.344 MB / 455.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.3502, allocations: 171.9 kB / 455.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.468e-05/0.3503, allocations: 35.98 kB / 455.4 MB, free: 14.56 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.0004228/0.3507, allocations: 233.6 kB / 455.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.3508, allocations: 71.58 kB / 455.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.3511, allocations: 99.02 kB / 455.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.3511, allocations: 8 kB / 455.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3511, allocations: 0 / 455.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.3511, allocations: 7.969 kB / 455.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00499/0.3561, allocations: 2.462 MB / 458.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.3561, allocations: 4.219 kB / 458.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008409/0.357, allocations: 179.8 kB / 458.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001154/0.3581, allocations: 0.6153 MB / 459.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.154e-05/0.3582, allocations: 35.95 kB / 459.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004012/0.3622, allocations: 3.116 MB / 462.2 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.3622, allocations: 4.031 kB / 462.2 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004155/0.3664, allocations: 1.837 MB / 464.1 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000439/0.3668, allocations: 163.4 kB / 464.2 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.367, allocations: 32 kB / 464.2 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/0.3683, allocations: 203.7 kB / 464.4 MB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009157/0.3692, allocations: 396.2 kB / 464.8 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.3693, allocations: 43.95 kB / 464.9 MB, free: 4.754 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003364/0.3696, allocations: 267.2 kB / 465.1 MB, free: 4.492 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3696, allocations: 0 / 465.1 MB, free: 4.492 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008247/0.3705, allocations: 247.9 kB / 465.4 MB, free: 4.25 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.0003133/0.3708, allocations: 170.4 kB / 465.5 MB, free: 4.078 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002648/0.3734, allocations: 1.126 MB / 466.7 MB, free: 2.941 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3734, allocations: 4.062 kB / 466.7 MB, free: 2.938 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001503/0.3749, allocations: 0.6957 MB / 467.4 MB, free: 2.227 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008199/0.3757, allocations: 122 kB / 467.5 MB, free: 2.109 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/0.3799, allocations: 2.013 MB / 469.5 MB, free: 36 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006124/0.3805, allocations: 0.9322 MB / 470.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/0.3808, allocations: 71.42 kB / 470.5 MB, free: 15 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3808, allocations: 0 / 470.5 MB, free: 15 MB / 382.1 MB Notification: Performance of Templates: time 0.02424/0.405, allocations: 17.6 MB / 488.1 MB, free: 13.39 MB / 398.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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/HeatLosses/HeatLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 9.798519436037168]