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.001909/0.001909, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001542/0.001542, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.001802/0.001802, allocations: 55.91 kB / 378.3 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2498, allocations: 53.36 MB / 431.6 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003562/0.2533, allocations: 2.452 MB / 434.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004687/0.2538, allocations: 251.1 kB / 434.3 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.2539, allocations: 7.938 kB / 434.3 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.254, allocations: 39.58 kB / 434.4 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.2542, allocations: 87.27 kB / 434.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.2544, allocations: 55.92 kB / 434.5 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000324/0.2547, allocations: 290.6 kB / 434.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.2549, allocations: 69.98 kB / 434.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.255, allocations: 115.6 kB / 435 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.2552, allocations: 119.5 kB / 435.1 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/0.2552, allocations: 28 kB / 435.1 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.256e-05/0.2552, allocations: 20 kB / 435.1 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.986e-05/0.2553, allocations: 51.78 kB / 435.2 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.2554, allocations: 131.3 kB / 435.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003493/0.2558, allocations: 296 kB / 435.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2558, allocations: 0 / 435.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2558, allocations: 0 / 435.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.2558, allocations: 0 / 435.6 MB, free: 2.957 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.0007641/0.2565, allocations: 481.5 kB / 436.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.2566, allocations: 8.031 kB / 436.1 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.2566, allocations: 36.73 kB / 436.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.2569, allocations: 186.8 kB / 436.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.2569, allocations: 16.88 kB / 436.3 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.257, allocations: 24.38 kB / 436.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/0.2574, allocations: 243.1 kB / 436.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.2574, allocations: 8.188 kB / 436.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.2574, allocations: 7.938 kB / 436.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.2575, allocations: 8 kB / 436.6 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.2577, allocations: 163.8 kB / 436.8 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.2588, allocations: 0.765 MB / 437.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005031/0.2593, allocations: 283.4 kB / 437.8 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.2595, allocations: 122.5 kB / 437.9 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.2596, allocations: 4 kB / 437.9 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.2596, allocations: 42.5 kB / 438 MB, free: 432 kB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.503e-06/0.2596, allocations: 0 / 438 MB, free: 432 kB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002622/0.2622, allocations: 1.5 MB / 439.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.2623, allocations: 106.8 kB / 439.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.2625, allocations: 187.8 kB / 439.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.2625, allocations: 33.7 kB / 439.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.2626, allocations: 144.9 kB / 439.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.2628, allocations: 174.5 kB / 440.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.2629, allocations: 70.14 kB / 440.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.263, allocations: 334.8 kB / 440.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.2632, allocations: 100.8 kB / 440.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.2634, allocations: 154.3 kB / 440.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.2638, allocations: 276.6 kB / 441 MB, free: 13.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2638, allocations: 0 / 441 MB, free: 13.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005301/0.2643, allocations: 349.1 kB / 441.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.2644, allocations: 19 kB / 441.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2644, allocations: 0 / 441.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.2644, allocations: 4 kB / 441.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.2647, allocations: 100.8 kB / 441.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.2647, allocations: 4 kB / 441.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.2648, allocations: 8.094 kB / 441.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.2649, allocations: 16 kB / 441.5 MB, free: 12.63 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.0001507/0.265, allocations: 149.7 kB / 441.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.151e-05/0.2651, allocations: 35.75 kB / 441.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.361e-05/0.2652, allocations: 37.8 kB / 441.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2652, allocations: 4 kB / 441.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2652, allocations: 4 kB / 441.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/0.2652, allocations: 3.984 kB / 441.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.2666, allocations: 1.022 MB / 442.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.2666, allocations: 4 kB / 442.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003684/0.267, allocations: 87.84 kB / 442.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/0.267, allocations: 15.92 kB / 442.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.267, allocations: 8 kB / 442.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.267, allocations: 4 kB / 442.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.2671, allocations: 4 kB / 442.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009525/0.268, allocations: 0.7289 MB / 443.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.2681, allocations: 35.72 kB / 443.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.2681, allocations: 8.062 kB / 443.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.2683, allocations: 12 kB / 443.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.2684, allocations: 35.88 kB / 443.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.2684, allocations: 20 kB / 443.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.2685, allocations: 132.5 kB / 443.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2685, allocations: 0 / 443.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004283/0.2689, allocations: 72 kB / 443.9 MB, free: 10.09 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.0001416/0.2691, allocations: 119 kB / 444 MB, free: 9.957 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004902/0.2696, allocations: 247.6 kB / 444.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.2696, allocations: 8.188 kB / 444.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.2698, allocations: 137.7 kB / 444.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007168/0.2705, allocations: 74.11 kB / 444.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.272, allocations: 0.9137 MB / 445.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.2724, allocations: 0.776 MB / 446.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.2725, allocations: 34.95 kB / 446.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.643e-05/0.2726, allocations: 31.44 kB / 446.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2726, allocations: 0 / 446.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of Templates: time 0.007556/0.2802, allocations: 3.266 MB / 449.5 MB, free: 4.43 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.556784400949255]