Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00173/0.00173, allocations: 117.6 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002671/0.002671, allocations: 201 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 59.91 kB / 373.8 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1142, allocations: 53.33 MB / 427.2 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.2068/0.321, allocations: 4.471 MB / 431.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003094/0.324, allocations: 1.583 MB / 433.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000391/0.3244, allocations: 16.88 kB / 433.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.3248, allocations: 132.6 kB / 433.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005432/0.3254, allocations: 283.6 kB / 433.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008888/0.3262, allocations: 420.8 kB / 434 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009492/0.3272, allocations: 1.173 MB / 435.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003062/0.3275, allocations: 188.5 kB / 435.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006344/0.3281, allocations: 0.492 MB / 435.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006063/0.3287, allocations: 0.541 MB / 436.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.3289, allocations: 94.78 kB / 436.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003351/0.3292, allocations: 164.2 kB / 436.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002392/0.3295, allocations: 241 kB / 436.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003808/0.3298, allocations: 465.9 kB / 437.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.3312, allocations: 1.132 MB / 438.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3312, allocations: 1.125 kB / 438.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3312, allocations: 0 / 438.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.3312, allocations: 0 / 438.5 MB, free: 6.586 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003334/0.3346, allocations: 1.347 MB / 439.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3346, allocations: 17.17 kB / 439.9 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005233/0.3351, allocations: 122.4 kB / 440 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000688/0.3358, allocations: 472.6 kB / 440.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.36e-05/0.3359, allocations: 56.84 kB / 440.5 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.336, allocations: 73.06 kB / 440.6 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.3377, allocations: 0.7994 MB / 441.4 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/0.3378, allocations: 7.781 kB / 441.4 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.604e-05/0.3378, allocations: 27 kB / 441.4 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.3379, allocations: 20.66 kB / 441.4 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.3399, allocations: 0.8477 MB / 442.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004354/0.3442, allocations: 2.408 MB / 444.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.3457, allocations: 0.6847 MB / 445.4 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009023/0.3466, allocations: 418.7 kB / 445.8 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.279e-05/0.3467, allocations: 14.36 kB / 445.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001135/0.3479, allocations: 0.5363 MB / 446.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=90): time 2.745e-06/0.3479, allocations: 0 / 446.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=110): time 0.01176/0.3596, allocations: 4.164 MB / 450.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.3597, allocations: 67.69 kB / 450.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005645/0.3602, allocations: 418.4 kB / 451 MB, free: 460 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.3603, allocations: 57.39 kB / 451 MB, free: 408 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.3605, allocations: 284.5 kB / 451.3 MB, free: 172 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003319/0.3609, allocations: 397.6 kB / 451.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003578/0.3612, allocations: 187.9 kB / 451.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002138/0.3614, allocations: 376.9 kB / 452.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000984/0.3624, allocations: 420.3 kB / 452.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.3635, allocations: 0.5054 MB / 453.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.3653, allocations: 0.7388 MB / 453.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3653, allocations: 4 kB / 453.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.0034/0.3687, allocations: 1.29 MB / 455.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.3688, allocations: 4.875 kB / 455.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.3688, allocations: 1.406 kB / 455.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.3701, allocations: 0.5387 MB / 455.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008522/0.3709, allocations: 200.7 kB / 455.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004744/0.3757, allocations: 3.4 MB / 459.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.3771, allocations: 174.4 kB / 459.5 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.102e-05/0.3772, allocations: 36.61 kB / 459.5 MB, free: 10.57 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,9), (1,5), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0005112/0.3777, allocations: 225.8 kB / 459.8 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.3779, allocations: 86.06 kB / 459.8 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.3782, allocations: 106.5 kB / 460 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.3782, allocations: 10.91 kB / 460 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/0.3782, allocations: 0 / 460 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.3782, allocations: 5.328 kB / 460 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005065/0.3833, allocations: 2.473 MB / 462.4 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.3833, allocations: 2.375 kB / 462.4 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007881/0.3841, allocations: 174.1 kB / 462.6 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/0.3851, allocations: 0.5152 MB / 463.1 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.845e-05/0.3852, allocations: 32.34 kB / 463.2 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004137/0.3893, allocations: 3.184 MB / 466.3 MB, free: 5.273 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.3894, allocations: 5.75 kB / 466.3 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004005/0.3934, allocations: 1.755 MB / 468.1 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005501/0.3939, allocations: 240.2 kB / 468.3 MB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.3941, allocations: 32.91 kB / 468.4 MB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/0.3955, allocations: 198.3 kB / 468.6 MB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009844/0.3964, allocations: 391.6 kB / 468.9 MB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-05/0.3965, allocations: 38.19 kB / 469 MB, free: 3.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004016/0.3969, allocations: 290.5 kB / 469.3 MB, free: 3.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3969, allocations: 3.938 kB / 469.3 MB, free: 3.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009583/0.3979, allocations: 245.1 kB / 469.5 MB, free: 3.461 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 (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.00152/0.3994, allocations: 418.4 kB / 469.9 MB, free: 3.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002763/0.4022, allocations: 1.088 MB / 471 MB, free: 2.668 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.4022, allocations: 0.9375 kB / 471 MB, free: 2.668 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00173/0.4039, allocations: 0.7282 MB / 471.7 MB, free: 2.254 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009358/0.4048, allocations: 142.9 kB / 471.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00441/0.4093, allocations: 2.035 MB / 473.9 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008513/0.4101, allocations: 0.9441 MB / 474.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004442/0.4106, allocations: 81.7 kB / 474.9 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.4108, allocations: 71.41 kB / 475 MB, free: 15.44 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4108, allocations: 0 / 475 MB, free: 15.44 MB / 382.1 MB Notification: Performance of Templates: time 0.03091/0.4417, allocations: 17.84 MB / 492.8 MB, free: 13.69 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.229223185218871]