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.0008772/0.0008772, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001436/0.001436, allocations: 169.1 kB / 24.91 MB, free: 9.191 MB / 18.57 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 0.9706/0.9706, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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 1.373e-06/1.373e-06, allocations: 0 / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.164e-05, allocations: 2.312 kB / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002768/0.002789, allocations: 2.449 MB / 275.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004817/0.003271, allocations: 258.9 kB / 276.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.81e-05/0.003369, allocations: 11.94 kB / 276.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.003486, allocations: 47.58 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.003608, allocations: 87.14 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.003738, allocations: 59.86 kB / 276.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.003996, allocations: 298.4 kB / 276.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.004122, allocations: 72.84 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.004253, allocations: 167.7 kB / 276.9 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.004375, allocations: 87.78 kB / 277 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.004405, allocations: 27.92 kB / 277 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.511e-05/0.00443, allocations: 24 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.149e-05/0.004462, allocations: 47.83 kB / 277.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.01e-05/0.004522, allocations: 95.75 kB / 277.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.004703, allocations: 195.2 kB / 277.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.004705, allocations: 0 / 277.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.004706, allocations: 0 / 277.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.004711, allocations: 0 / 277.4 MB, free: 13.36 MB / 266.7 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.0004471/0.005158, allocations: 460.2 kB / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.746e-05/0.005185, allocations: 12.03 kB / 277.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.005232, allocations: 36.91 kB / 277.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.005411, allocations: 174 kB / 278 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.005426, allocations: 20.88 kB / 278.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.005455, allocations: 24.38 kB / 278.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.005742, allocations: 183.1 kB / 278.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.005756, allocations: 12.12 kB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.005768, allocations: 16.31 kB / 278.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.005777, allocations: 4.375 kB / 278.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.781e-05/0.005865, allocations: 80.62 kB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.006339, allocations: 0.5506 MB / 278.9 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.006545, allocations: 191.6 kB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.621e-05/0.006631, allocations: 82.66 kB / 279.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.006643, allocations: 8 kB / 279.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.006664, allocations: 38.55 kB / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.393e-06/0.006666, allocations: 0 / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.001255/0.00792, allocations: 1.278 MB / 280.5 MB, free: 9.934 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.007957, allocations: 110.8 kB / 280.6 MB, free: 9.801 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.577e-05/0.008033, allocations: 170.5 kB / 280.8 MB, free: 9.621 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.008048, allocations: 33.7 kB / 280.8 MB, free: 9.582 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.584e-05/0.008094, allocations: 132.8 kB / 281 MB, free: 9.449 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.059e-05/0.008165, allocations: 162.5 kB / 281.1 MB, free: 9.289 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.594e-05/0.008231, allocations: 78.14 kB / 281.2 MB, free: 9.207 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.217e-05/0.008303, allocations: 346.7 kB / 281.5 MB, free: 8.859 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.873e-05/0.008342, allocations: 32.98 kB / 281.6 MB, free: 8.824 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.008641, allocations: 106.9 kB / 281.7 MB, free: 8.703 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.00878, allocations: 187.5 kB / 281.8 MB, free: 8.504 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.008781, allocations: 0 / 281.8 MB, free: 8.504 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0001781/0.008959, allocations: 209.3 kB / 282.1 MB, free: 8.293 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.008969, allocations: 4 kB / 282.1 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.008972, allocations: 4.094 kB / 282.1 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.008984, allocations: 4 kB / 282.1 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.00919, allocations: 107.7 kB / 282.2 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.009195, allocations: 7.938 kB / 282.2 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.009244, allocations: 12 kB / 282.2 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.009254, allocations: 8 kB / 282.2 MB, free: 8.152 MB / 266.7 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 6.764e-05/0.009321, allocations: 137.7 kB / 282.3 MB, free: 8.008 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.009375, allocations: 31.97 kB / 282.4 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.79e-05/0.009413, allocations: 37.8 kB / 282.4 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.009416, allocations: 8 kB / 282.4 MB, free: 7.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.009418, allocations: 4 kB / 282.4 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.009422, allocations: 3.938 kB / 282.4 MB, free: 7.922 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005882/0.01001, allocations: 0.7149 MB / 283.1 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01001, allocations: 288 / 283.1 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.01023, allocations: 122.5 kB / 283.2 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.01024, allocations: 4 kB / 283.3 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.01025, allocations: 16 kB / 283.3 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.01026, allocations: 4 kB / 283.3 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.01026, allocations: 4 kB / 283.3 MB, free: 7.012 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.01057, allocations: 0.5609 MB / 283.8 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.25e-05/0.01059, allocations: 27.84 kB / 283.9 MB, free: 6.375 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.01061, allocations: 12 kB / 283.9 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.01072, allocations: 12 kB / 283.9 MB, free: 6.352 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.01075, allocations: 35.92 kB / 283.9 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.01076, allocations: 15.98 kB / 283.9 MB, free: 6.301 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.554e-05/0.01078, allocations: 33.89 kB / 284 MB, free: 6.266 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01078, allocations: 0 / 284 MB, free: 6.266 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002295/0.01101, allocations: 72 kB / 284 MB, free: 6.195 MB / 266.7 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 8.038e-05/0.01109, allocations: 104.2 kB / 284.1 MB, free: 6.082 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.01126, allocations: 185.3 kB / 284.3 MB, free: 5.895 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.01126, allocations: 4 kB / 284.3 MB, free: 5.891 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.528e-05/0.01134, allocations: 100.6 kB / 284.4 MB, free: 5.789 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.01167, allocations: 73.5 kB / 284.5 MB, free: 5.719 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/0.01228, allocations: 0.6661 MB / 285.2 MB, free: 4.992 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.042e-05/0.01234, allocations: 97.28 kB / 285.3 MB, free: 4.875 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.519e-05/0.01242, allocations: 35.05 kB / 285.3 MB, free: 4.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.01254, allocations: 111.3 kB / 285.4 MB, free: 4.73 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01254, allocations: 0 / 285.4 MB, free: 4.73 MB / 266.7 MB Notification: Performance of Templates: time 0.004628/0.01717, allocations: 3.372 MB / 288.8 MB, free: 1.449 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5445715920068324]