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.001504/0.001504, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001522/0.001522, allocations: 185 kB / 24.46 MB, free: 3.863 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.442/1.442, allocations: 225.7 MB / 253.3 MB, free: 12.86 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.001674/0.001674, allocations: 52.06 kB / 371.6 MB, free: 9.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2749, allocations: 52.18 MB / 423.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.008481/0.2834, allocations: 3.909 MB / 427.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00436/0.2877, allocations: 1.341 MB / 429.1 MB, free: 9.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009164/0.2887, allocations: 15.88 kB / 429.1 MB, free: 9.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007677/0.2894, allocations: 114.8 kB / 429.2 MB, free: 9.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.2907, allocations: 234 kB / 429.4 MB, free: 9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002002/0.2927, allocations: 437.2 kB / 429.9 MB, free: 8.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002392/0.295, allocations: 1.135 MB / 431 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000575/0.2956, allocations: 178 kB / 431.2 MB, free: 7.246 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.297, allocations: 494.6 kB / 431.6 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.2984, allocations: 486.1 kB / 432.1 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004462/0.2989, allocations: 92 kB / 432.2 MB, free: 6.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000676/0.2996, allocations: 140 kB / 432.3 MB, free: 6.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004898/0.3001, allocations: 227.3 kB / 432.6 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.3011, allocations: 382.3 kB / 432.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002334/0.3034, allocations: 1.076 MB / 434 MB, free: 4.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.3034, allocations: 0 / 434 MB, free: 4.383 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.409e-06/0.3034, allocations: 0 / 434 MB, free: 4.383 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.258e-05/0.3035, allocations: 0 / 434 MB, free: 4.383 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.00592/0.3094, allocations: 1.357 MB / 435.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/0.3095, allocations: 12.03 kB / 435.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005513/0.31, allocations: 92.38 kB / 435.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/0.3115, allocations: 384.1 kB / 435.9 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.3116, allocations: 54.38 kB / 435.9 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002689/0.3119, allocations: 72.33 kB / 436 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002782/0.3147, allocations: 0.8038 MB / 436.8 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.695e-05/0.3147, allocations: 7.953 kB / 436.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.3149, allocations: 35.94 kB / 436.8 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-05/0.3149, allocations: 16 kB / 436.8 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003009/0.3179, allocations: 0.8588 MB / 437.7 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006791/0.3247, allocations: 1.846 MB / 439.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002329/0.327, allocations: 0.6691 MB / 440.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.3284, allocations: 436.3 kB / 440.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.3285, allocations: 13 kB / 440.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001778/0.3303, allocations: 0.5477 MB / 441.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=86): time 5.37e-06/0.3303, allocations: 3.938 kB / 441.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.01415/0.3444, allocations: 3.868 MB / 445.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.3445, allocations: 60.41 kB / 445.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005393/0.345, allocations: 377.6 kB / 445.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.3451, allocations: 57.69 kB / 445.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.3454, allocations: 273.5 kB / 445.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004228/0.3458, allocations: 384.8 kB / 446.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003793/0.3462, allocations: 186.9 kB / 446.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.3464, allocations: 366.8 kB / 446.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.3475, allocations: 442.3 kB / 447.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.3487, allocations: 0.5345 MB / 447.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001875/0.3506, allocations: 0.7792 MB / 448.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.3506, allocations: 0 / 448.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003415/0.354, allocations: 1.342 MB / 449.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.354, allocations: 8 kB / 449.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.354, allocations: 0 / 449.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/0.3553, allocations: 0.6504 MB / 450.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008338/0.3562, allocations: 207.7 kB / 450.7 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004893/0.3611, allocations: 3.289 MB / 454 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.3624, allocations: 175.9 kB / 454.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.3625, allocations: 35.98 kB / 454.2 MB, free: 15.76 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.0005334/0.363, allocations: 229.7 kB / 454.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.3633, allocations: 75.58 kB / 454.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.3635, allocations: 98.91 kB / 454.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.3635, allocations: 12 kB / 454.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.3635, allocations: 3.938 kB / 454.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.3636, allocations: 7.969 kB / 454.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005157/0.3687, allocations: 2.171 MB / 456.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/0.3687, allocations: 4 kB / 456.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008511/0.3696, allocations: 175.8 kB / 456.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001202/0.3708, allocations: 0.6193 MB / 457.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.3709, allocations: 31.97 kB / 457.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004477/0.3754, allocations: 3.085 MB / 460.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.3754, allocations: 4.031 kB / 460.7 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004395/0.3798, allocations: 1.845 MB / 462.5 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005466/0.3803, allocations: 155.4 kB / 462.7 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.3805, allocations: 31.98 kB / 462.7 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/0.382, allocations: 203.7 kB / 462.9 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009628/0.3829, allocations: 392.2 kB / 463.3 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/0.3831, allocations: 43.97 kB / 463.3 MB, free: 6.305 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003714/0.3834, allocations: 259.1 kB / 463.6 MB, free: 6.051 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3834, allocations: 0 / 463.6 MB, free: 6.051 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001038/0.3845, allocations: 251.9 kB / 463.8 MB, free: 5.805 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.0004069/0.3849, allocations: 168.2 kB / 464 MB, free: 5.637 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002986/0.3879, allocations: 1.126 MB / 465.1 MB, free: 4.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.517e-06/0.3879, allocations: 4 kB / 465.1 MB, free: 4.496 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001709/0.3896, allocations: 0.6921 MB / 465.8 MB, free: 3.793 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.3907, allocations: 130.2 kB / 466 MB, free: 3.664 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004808/0.3955, allocations: 2.014 MB / 468 MB, free: 1.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.3959, allocations: 336.8 kB / 468.3 MB, free: 1.238 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/0.3962, allocations: 67.42 kB / 468.4 MB, free: 1.172 MB / 366.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3962, allocations: 0 / 468.4 MB, free: 1.172 MB / 366.1 MB Notification: Performance of Templates: time 0.0282/0.4244, allocations: 17.84 MB / 486.2 MB, free: 15.32 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.80457686400041]