Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.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.001376/0.001376, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001586/0.001586, allocations: 203.7 kB / 23.72 MB, free: 4.391 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.498/1.498, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 63.89 kB / 378.2 MB, free: 2.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2609, allocations: 53.41 MB / 431.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003974/0.2648, allocations: 2.26 MB / 433.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006648/0.2655, allocations: 247.1 kB / 434.1 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.2657, allocations: 4 kB / 434.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.2659, allocations: 47.52 kB / 434.2 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.2661, allocations: 91.25 kB / 434.3 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.2663, allocations: 47.94 kB / 434.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003797/0.2667, allocations: 294.6 kB / 434.6 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.2669, allocations: 69.98 kB / 434.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.2671, allocations: 103.7 kB / 434.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.2673, allocations: 111.3 kB / 434.9 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.356e-05/0.2673, allocations: 24 kB / 434.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.197e-05/0.2674, allocations: 24 kB / 434.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.617e-05/0.2674, allocations: 55.83 kB / 435 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.2675, allocations: 111.5 kB / 435.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.2679, allocations: 293 kB / 435.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2679, allocations: 0 / 435.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2679, allocations: 0 / 435.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.2679, allocations: 0 / 435.4 MB, free: 2.766 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.000852/0.2688, allocations: 481.5 kB / 435.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2688, allocations: 15.92 kB / 435.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.29e-05/0.2689, allocations: 32.75 kB / 435.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.2693, allocations: 194.8 kB / 436.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.2693, allocations: 16.88 kB / 436.1 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.944e-05/0.2693, allocations: 24.38 kB / 436.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004241/0.2698, allocations: 247.1 kB / 436.4 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.2698, allocations: 4.188 kB / 436.4 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.2698, allocations: 11.94 kB / 436.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.2698, allocations: 8 kB / 436.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/0.2701, allocations: 155.9 kB / 436.5 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.2712, allocations: 0.6642 MB / 437.2 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000543/0.2717, allocations: 283.6 kB / 437.5 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.272, allocations: 118.5 kB / 437.6 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.272, allocations: 8 kB / 437.6 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.272, allocations: 42.5 kB / 437.6 MB, free: 340 kB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.944e-06/0.272, allocations: 0 / 437.6 MB, free: 340 kB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002662/0.2747, allocations: 1.493 MB / 439.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/0.2748, allocations: 110.8 kB / 439.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.2749, allocations: 174.4 kB / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.275, allocations: 29.8 kB / 439.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.2751, allocations: 156.7 kB / 439.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.2752, allocations: 166.6 kB / 439.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.2753, allocations: 74.09 kB / 439.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.2755, allocations: 334.8 kB / 440.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.2757, allocations: 96.83 kB / 440.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.2759, allocations: 162.3 kB / 440.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/0.2763, allocations: 278.9 kB / 440.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2763, allocations: 0 / 440.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005261/0.2768, allocations: 342.4 kB / 441 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.2768, allocations: 4 kB / 441 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2768, allocations: 0 / 441 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.2769, allocations: 7.938 kB / 441 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/0.2772, allocations: 95.83 kB / 441.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.2772, allocations: 4 kB / 441.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.2773, allocations: 12 kB / 441.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.2774, allocations: 16.09 kB / 441.2 MB, free: 12.57 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.0001521/0.2775, allocations: 157.7 kB / 441.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.794e-05/0.2776, allocations: 27.81 kB / 441.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.289e-05/0.2777, allocations: 41.73 kB / 441.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.2777, allocations: 8.031 kB / 441.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.2777, allocations: 4 kB / 441.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2777, allocations: 0 / 441.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.2791, allocations: 0.9366 MB / 442.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2791, allocations: 4 kB / 442.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/0.2795, allocations: 95.83 kB / 442.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.2795, allocations: 4 kB / 442.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.2795, allocations: 8 kB / 442.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.2795, allocations: 7.938 kB / 442.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2795, allocations: 4 kB / 442.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000843/0.2804, allocations: 0.7332 MB / 443.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.2804, allocations: 23.92 kB / 443.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.2805, allocations: 15.92 kB / 443.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.2807, allocations: 12 kB / 443.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.2807, allocations: 35.89 kB / 443.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.2807, allocations: 8.094 kB / 443.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.2809, allocations: 128.2 kB / 443.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2809, allocations: 0 / 443.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004378/0.2813, allocations: 76 kB / 443.5 MB, free: 10.12 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.0001431/0.2814, allocations: 123.3 kB / 443.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004547/0.2819, allocations: 260.5 kB / 443.9 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2819, allocations: 0 / 443.9 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.2821, allocations: 135.7 kB / 444 MB, free: 9.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006889/0.2828, allocations: 67.52 kB / 444.1 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.2843, allocations: 0.9131 MB / 445 MB, free: 8.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.2845, allocations: 159.8 kB / 445.1 MB, free: 8.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001343/0.2846, allocations: 26.97 kB / 445.1 MB, free: 8.367 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.785e-05/0.2847, allocations: 31.38 kB / 445.2 MB, free: 8.336 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2847, allocations: 0 / 445.2 MB, free: 8.336 MB / 350.1 MB Notification: Performance of Templates: time 0.007583/0.2923, allocations: 3.234 MB / 448.4 MB, free: 5.156 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.584547156468034]