Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001916/0.001916, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 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.002625/0.002625, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.59/1.59, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 47.92 kB / 378.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2641, allocations: 53.36 MB / 431.6 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.00664/0.2707, allocations: 4.515 MB / 436.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003604/0.2743, allocations: 1.59 MB / 437.7 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006374/0.275, allocations: 19.88 kB / 437.7 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006441/0.2756, allocations: 134.7 kB / 437.9 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.2767, allocations: 285.7 kB / 438.2 MB, free: 364 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.2778, allocations: 418.9 kB / 438.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001623/0.2795, allocations: 1.178 MB / 439.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004401/0.2799, allocations: 192.8 kB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.281, allocations: 0.5063 MB / 440.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009316/0.2819, allocations: 0.5371 MB / 441 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002446/0.2821, allocations: 99.94 kB / 441.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004335/0.2826, allocations: 164 kB / 441.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003093/0.2829, allocations: 243.3 kB / 441.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006046/0.2835, allocations: 465.8 kB / 441.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.285, allocations: 1.132 MB / 443.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.285, allocations: 4 kB / 443.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.285, allocations: 4 kB / 443.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.806e-05/0.2851, allocations: 0 / 443.1 MB, free: 11.43 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.003676/0.2888, allocations: 1.395 MB / 444.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2888, allocations: 12.03 kB / 444.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000536/0.2893, allocations: 120.3 kB / 444.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00083/0.2902, allocations: 400.1 kB / 445 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.193e-05/0.2902, allocations: 58.36 kB / 445 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.2904, allocations: 76.12 kB / 445.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.2921, allocations: 0.8037 MB / 445.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.2922, allocations: 3.953 kB / 445.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-05/0.2923, allocations: 32 kB / 445.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.2923, allocations: 16 kB / 446 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.2944, allocations: 0.8509 MB / 446.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004754/0.2991, allocations: 2.354 MB / 449.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.3007, allocations: 0.6937 MB / 449.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009742/0.3017, allocations: 416.3 kB / 450.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.181e-05/0.3018, allocations: 13 kB / 450.3 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001193/0.303, allocations: 0.5322 MB / 450.8 MB, free: 3.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=90): time 2.615e-06/0.303, allocations: 4 kB / 450.8 MB, free: 3.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=110): time 0.01113/0.3141, allocations: 3.794 MB / 454.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.3141, allocations: 64.41 kB / 454.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000521/0.3147, allocations: 421.8 kB / 455.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.631e-05/0.3148, allocations: 57.7 kB / 455.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.315, allocations: 285.5 kB / 455.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/0.3153, allocations: 388.8 kB / 455.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003304/0.3157, allocations: 190.8 kB / 456 MB, free: 14.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.3159, allocations: 378.8 kB / 456.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009844/0.3168, allocations: 414.4 kB / 456.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.3179, allocations: 0.5149 MB / 457.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/0.3197, allocations: 0.744 MB / 458 MB, free: 12.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3197, allocations: 0 / 458 MB, free: 12.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003181/0.3228, allocations: 1.296 MB / 459.3 MB, free: 10.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3229, allocations: 8 kB / 459.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3229, allocations: 0 / 459.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.324, allocations: 0.5294 MB / 459.9 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008265/0.3248, allocations: 199.7 kB / 460.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004494/0.3293, allocations: 3.304 MB / 463.4 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.3305, allocations: 175.9 kB / 463.5 MB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.88e-05/0.3306, allocations: 35.98 kB / 463.6 MB, free: 6.387 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.0003904/0.331, allocations: 222.4 kB / 463.8 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.3311, allocations: 79.47 kB / 463.9 MB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.3314, allocations: 111.2 kB / 464 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.3314, allocations: 12 kB / 464 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3314, allocations: 0 / 464 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.3314, allocations: 3.984 kB / 464 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004881/0.3363, allocations: 2.429 MB / 466.4 MB, free: 3.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.3363, allocations: 4 kB / 466.4 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007769/0.3371, allocations: 171.9 kB / 466.6 MB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001059/0.3381, allocations: 0.5137 MB / 467.1 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.532e-05/0.3382, allocations: 35.95 kB / 467.1 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004075/0.3423, allocations: 3.084 MB / 470.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.3423, allocations: 7.938 kB / 470.2 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003944/0.3462, allocations: 1.761 MB / 472 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004335/0.3467, allocations: 167.4 kB / 472.1 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.3468, allocations: 32 kB / 472.2 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.3481, allocations: 199.7 kB / 472.4 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009059/0.349, allocations: 392.2 kB / 472.8 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.454e-05/0.3491, allocations: 43.95 kB / 472.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003598/0.3495, allocations: 291.1 kB / 473.1 MB, free: 12.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3495, allocations: 0 / 473.1 MB, free: 12.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008003/0.3503, allocations: 240 kB / 473.3 MB, free: 12.3 MB / 382.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.001412/0.3517, allocations: 426.9 kB / 473.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002504/0.3542, allocations: 1.087 MB / 474.8 MB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3542, allocations: 4 kB / 474.8 MB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001593/0.3558, allocations: 0.7233 MB / 475.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008452/0.3566, allocations: 147.1 kB / 475.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004194/0.3608, allocations: 2.027 MB / 477.7 MB, free: 7.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006186/0.3614, allocations: 0.9441 MB / 478.7 MB, free: 6.984 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003436/0.3618, allocations: 89.69 kB / 478.7 MB, free: 6.895 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.362, allocations: 71.41 kB / 478.8 MB, free: 6.824 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.362, allocations: 0 / 478.8 MB, free: 6.824 MB / 382.1 MB Notification: Performance of Templates: time 0.03116/0.3932, allocations: 18.62 MB / 497.4 MB, free: 4.285 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 5.562657373026013]