Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.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.001764/0.001764, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.001978/0.001978, allocations: 189.2 kB / 24.48 MB, free: 4.164 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.412/1.412, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 47.92 kB / 371.7 MB, free: 9.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.248, allocations: 52.19 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.004017/0.252, allocations: 2.439 MB / 426.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006054/0.2526, allocations: 247.1 kB / 426.6 MB, free: 12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.2528, allocations: 11.94 kB / 426.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.2529, allocations: 43.58 kB / 426.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.2531, allocations: 83.27 kB / 426.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.2533, allocations: 55.88 kB / 426.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003795/0.2537, allocations: 286.7 kB / 427 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/0.2539, allocations: 73.97 kB / 427.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.254, allocations: 119.6 kB / 427.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.2542, allocations: 119.4 kB / 427.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.2543, allocations: 20 kB / 427.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.139e-05/0.2543, allocations: 24 kB / 427.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.465e-05/0.2544, allocations: 55.83 kB / 427.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.2545, allocations: 131.3 kB / 427.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003579/0.2549, allocations: 292 kB / 427.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.2549, allocations: 0 / 427.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2549, allocations: 0 / 427.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.2549, allocations: 0 / 427.8 MB, free: 10.71 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007985/0.2557, allocations: 485.5 kB / 428.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.2557, allocations: 8.031 kB / 428.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.822e-05/0.2558, allocations: 36.69 kB / 428.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.2561, allocations: 190.8 kB / 428.5 MB, free: 9.949 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.2561, allocations: 20.88 kB / 428.6 MB, free: 9.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/0.2562, allocations: 32.33 kB / 428.6 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000408/0.2566, allocations: 239.2 kB / 428.8 MB, free: 9.648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.2566, allocations: 192 / 428.8 MB, free: 9.648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.2567, allocations: 15.94 kB / 428.8 MB, free: 9.633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.2567, allocations: 7.938 kB / 428.9 MB, free: 9.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.257, allocations: 159.8 kB / 429 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.2581, allocations: 0.7611 MB / 429.8 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005125/0.2586, allocations: 279.7 kB / 430 MB, free: 8.355 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.2588, allocations: 118.5 kB / 430.2 MB, free: 8.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.2589, allocations: 4 kB / 430.2 MB, free: 8.227 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.2589, allocations: 42.55 kB / 430.2 MB, free: 8.176 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.492e-06/0.2589, allocations: 0 / 430.2 MB, free: 8.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.00263/0.2615, allocations: 1.512 MB / 431.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.5e-05/0.2616, allocations: 111.2 kB / 431.8 MB, free: 6.387 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.2618, allocations: 181 kB / 432 MB, free: 6.199 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.2618, allocations: 37.7 kB / 432 MB, free: 6.156 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.2619, allocations: 140.9 kB / 432.2 MB, free: 6.016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.2621, allocations: 178.4 kB / 432.3 MB, free: 5.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.2622, allocations: 78.12 kB / 432.4 MB, free: 5.758 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.2623, allocations: 338.8 kB / 432.8 MB, free: 5.418 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.2625, allocations: 88.83 kB / 432.8 MB, free: 5.332 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.2627, allocations: 158.3 kB / 433 MB, free: 5.152 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003978/0.2631, allocations: 274 kB / 433.3 MB, free: 4.867 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.2631, allocations: 7.938 kB / 433.3 MB, free: 4.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005238/0.2636, allocations: 339.8 kB / 433.6 MB, free: 4.523 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.2637, allocations: 7.938 kB / 433.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2637, allocations: 4 kB / 433.6 MB, free: 4.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.2637, allocations: 4 kB / 433.6 MB, free: 4.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.264, allocations: 91.89 kB / 433.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.264, allocations: 12.03 kB / 433.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.2642, allocations: 12 kB / 433.7 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.2642, allocations: 12 kB / 433.7 MB, free: 4.383 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001543/0.2643, allocations: 145.8 kB / 433.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.344e-05/0.2644, allocations: 35.75 kB / 433.9 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.086e-05/0.2645, allocations: 37.8 kB / 434 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.2645, allocations: 4 kB / 434 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.2645, allocations: 0 / 434 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2645, allocations: 4 kB / 434 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.266, allocations: 1.03 MB / 435 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.266, allocations: 4 kB / 435 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/0.2664, allocations: 83.91 kB / 435.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.2664, allocations: 7.938 kB / 435.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.2665, allocations: 16 kB / 435.1 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.074e-05/0.2665, allocations: 11.92 kB / 435.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.2665, allocations: 4 kB / 435.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008285/0.2673, allocations: 0.7212 MB / 435.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.2673, allocations: 31.73 kB / 435.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/0.2674, allocations: 16.06 kB / 435.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.2676, allocations: 8 kB / 435.9 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.2677, allocations: 39.83 kB / 435.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.2677, allocations: 16 kB / 436 MB, free: 2.035 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.2678, allocations: 135.4 kB / 436.1 MB, free: 1.902 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2678, allocations: 7.938 kB / 436.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004351/0.2682, allocations: 72 kB / 436.2 MB, free: 1.824 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001335/0.2684, allocations: 107.2 kB / 436.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004689/0.2688, allocations: 255.7 kB / 436.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.2688, allocations: 4 kB / 436.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.269, allocations: 131.8 kB / 436.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006657/0.2697, allocations: 64.22 kB / 436.7 MB, free: 1.262 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.2712, allocations: 0.9503 MB / 437.7 MB, free: 252 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.2716, allocations: 0.7761 MB / 438.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.509e-05/0.2717, allocations: 31.44 kB / 438.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2717, allocations: 0 / 438.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of Templates: time 0.006264/0.278, allocations: 3.495 MB / 442 MB, free: 11.93 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.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: 7.230212138965726]