Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.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.001399/0.001399, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00161/0.00161, allocations: 205.8 kB / 23.73 MB, free: 4.379 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.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.1.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.1.0_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 47.92 kB / 378.2 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2579, allocations: 53.37 MB / 431.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.004099/0.262, allocations: 2.273 MB / 433.8 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005106/0.2625, allocations: 239.1 kB / 434.1 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.2626, allocations: 7.938 kB / 434.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.2628, allocations: 47.52 kB / 434.1 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.2629, allocations: 87.27 kB / 434.2 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.2631, allocations: 63.84 kB / 434.3 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003202/0.2634, allocations: 286.7 kB / 434.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.2636, allocations: 69.98 kB / 434.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.2637, allocations: 111.6 kB / 434.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.2639, allocations: 127.5 kB / 434.9 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.681e-05/0.2639, allocations: 20 kB / 434.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.486e-05/0.264, allocations: 24 kB / 434.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.684e-05/0.2641, allocations: 51.84 kB / 435 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.2642, allocations: 111.5 kB / 435.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.2645, allocations: 297 kB / 435.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2645, allocations: 0 / 435.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2645, allocations: 0 / 435.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.2645, allocations: 0 / 435.4 MB, free: 2.918 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.0008287/0.2653, allocations: 481.5 kB / 435.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2654, allocations: 12.03 kB / 435.8 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.437e-05/0.2654, allocations: 28.75 kB / 435.9 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.2658, allocations: 190.7 kB / 436 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.2658, allocations: 16.88 kB / 436.1 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.537e-05/0.2659, allocations: 24.38 kB / 436.1 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004551/0.2663, allocations: 243.2 kB / 436.3 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.2663, allocations: 192 / 436.3 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.2664, allocations: 15.94 kB / 436.3 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.2664, allocations: 8 kB / 436.3 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/0.2667, allocations: 159.8 kB / 436.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009986/0.2677, allocations: 0.6642 MB / 437.2 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00051/0.2682, allocations: 283.7 kB / 437.4 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.2684, allocations: 114.5 kB / 437.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.2684, allocations: 4 kB / 437.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.2685, allocations: 46.48 kB / 437.6 MB, free: 0.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.754e-06/0.2685, allocations: 4 kB / 437.6 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002648/0.2711, allocations: 1.495 MB / 439.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/0.2712, allocations: 106.8 kB / 439.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.2713, allocations: 170.9 kB / 439.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.2714, allocations: 33.7 kB / 439.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.2715, allocations: 156.7 kB / 439.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.2716, allocations: 174.5 kB / 439.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.2717, allocations: 74.09 kB / 439.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.2719, allocations: 330.8 kB / 440.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.272, allocations: 92.83 kB / 440.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.2722, allocations: 158.3 kB / 440.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.2726, allocations: 272.5 kB / 440.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.2726, allocations: 0 / 440.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005133/0.2731, allocations: 347.9 kB / 441 MB, free: 12.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.2732, allocations: 7.125 kB / 441 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2732, allocations: 0 / 441 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.2732, allocations: 7.938 kB / 441 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.2735, allocations: 95.89 kB / 441.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.2735, allocations: 7.938 kB / 441.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.2737, allocations: 8 kB / 441.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.2737, allocations: 16 kB / 441.1 MB, free: 12.74 MB / 350.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.000165/0.2738, allocations: 158.8 kB / 441.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.788e-05/0.2739, allocations: 27.81 kB / 441.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.926e-05/0.274, allocations: 41.73 kB / 441.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.274, allocations: 8 kB / 441.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.274, allocations: 0 / 441.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.274, allocations: 3.984 kB / 441.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.2754, allocations: 0.9447 MB / 442.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2754, allocations: 0 / 442.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003899/0.2758, allocations: 87.91 kB / 442.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.2758, allocations: 4 kB / 442.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.2758, allocations: 15.98 kB / 442.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.778e-06/0.2758, allocations: 15.88 kB / 442.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2758, allocations: 0 / 442.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008117/0.2766, allocations: 0.7254 MB / 443.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.2767, allocations: 31.83 kB / 443.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/0.2767, allocations: 16 kB / 443.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.2769, allocations: 8 kB / 443.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.277, allocations: 35.89 kB / 443.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.277, allocations: 16 kB / 443.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.425e-05/0.2771, allocations: 124.3 kB / 443.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2771, allocations: 4 kB / 443.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004217/0.2775, allocations: 68 kB / 443.4 MB, free: 10.29 MB / 350.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.000131/0.2776, allocations: 119.1 kB / 443.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004178/0.2781, allocations: 255.5 kB / 443.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2781, allocations: 0 / 443.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.2783, allocations: 132.1 kB / 443.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006801/0.2789, allocations: 69.12 kB / 444 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.2804, allocations: 0.9171 MB / 444.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.2805, allocations: 159.8 kB / 445.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.2806, allocations: 34.97 kB / 445.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.189e-05/0.2807, allocations: 27.42 kB / 445.1 MB, free: 8.504 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2807, allocations: 0 / 445.1 MB, free: 8.504 MB / 350.1 MB Notification: Performance of Templates: time 0.007331/0.288, allocations: 3.356 MB / 448.5 MB, free: 5.203 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.521947993896902]