Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001213/0.001213, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.001454/0.001454, allocations: 167 kB / 25.69 MB, free: 8.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.019/1.019, allocations: 158.6 MB / 187.6 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.664e-05, allocations: 6.25 kB / 251.6 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002976/0.003003, allocations: 2.422 MB / 254 MB, free: 4.816 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007514/0.003754, allocations: 254.9 kB / 254.2 MB, free: 4.566 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.003877, allocations: 11.94 kB / 254.2 MB, free: 4.555 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.004016, allocations: 43.52 kB / 254.3 MB, free: 4.512 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.004179, allocations: 91.14 kB / 254.4 MB, free: 4.422 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.004352, allocations: 51.92 kB / 254.4 MB, free: 4.371 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.004617, allocations: 310.4 kB / 254.7 MB, free: 4.066 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.00478, allocations: 72 kB / 254.8 MB, free: 3.996 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.005004, allocations: 167.7 kB / 255 MB, free: 3.832 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.005153, allocations: 91.7 kB / 255 MB, free: 3.742 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.499e-05/0.005198, allocations: 20 kB / 255.1 MB, free: 3.723 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.374e-05/0.005232, allocations: 24 kB / 255.1 MB, free: 3.699 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.48e-05/0.005277, allocations: 51.81 kB / 255.1 MB, free: 3.648 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.569e-05/0.005362, allocations: 91.77 kB / 255.2 MB, free: 3.559 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.005639, allocations: 187.3 kB / 255.4 MB, free: 3.375 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.005645, allocations: 4 kB / 255.4 MB, free: 3.371 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.005646, allocations: 4 kB / 255.4 MB, free: 3.367 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.005654, allocations: 0 / 255.4 MB, free: 3.367 MB / 234.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.0005523/0.006206, allocations: 456.1 kB / 255.9 MB, free: 2.895 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.006246, allocations: 15.98 kB / 255.9 MB, free: 2.879 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.561e-05/0.006312, allocations: 36.91 kB / 255.9 MB, free: 2.844 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.006561, allocations: 182 kB / 256.1 MB, free: 2.637 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.006581, allocations: 16.88 kB / 256.1 MB, free: 2.621 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.021e-05/0.006622, allocations: 24.38 kB / 256.1 MB, free: 2.598 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.006827, allocations: 191 kB / 256.3 MB, free: 2.395 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.006842, allocations: 8.078 kB / 256.3 MB, free: 2.387 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.00686, allocations: 16.36 kB / 256.3 MB, free: 2.371 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.006869, allocations: 4.375 kB / 256.3 MB, free: 2.367 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.61e-05/0.006965, allocations: 83.72 kB / 256.4 MB, free: 2.285 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005988/0.007563, allocations: 0.5507 MB / 257 MB, free: 1.711 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.00782, allocations: 191.7 kB / 257.2 MB, free: 1.492 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.007925, allocations: 82.52 kB / 257.2 MB, free: 1.402 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.007939, allocations: 4 kB / 257.2 MB, free: 1.398 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.007965, allocations: 42.5 kB / 257.3 MB, free: 1.348 MB / 234.7 MB Notification: Performance of pre-optimization done (n=33): time 2.736e-06/0.007968, allocations: 0 / 257.3 MB, free: 1.348 MB / 234.7 MB Notification: Performance of matching and sorting (n=45): time 0.001865/0.009833, allocations: 1.265 MB / 258.6 MB, free: 15.93 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.009883, allocations: 114.8 kB / 258.7 MB, free: 15.8 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.009991, allocations: 162.5 kB / 258.8 MB, free: 15.62 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.01001, allocations: 37.7 kB / 258.9 MB, free: 15.58 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.699e-05/0.01008, allocations: 136.8 kB / 259 MB, free: 15.45 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.587e-05/0.01017, allocations: 170.5 kB / 259.2 MB, free: 15.28 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.058e-05/0.01024, allocations: 74.17 kB / 259.2 MB, free: 15.2 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.975e-05/0.01033, allocations: 342.7 kB / 259.6 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.633e-05/0.01038, allocations: 36.97 kB / 259.6 MB, free: 14.82 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.857e-05/0.01047, allocations: 102.9 kB / 259.7 MB, free: 14.7 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.01063, allocations: 178.1 kB / 259.9 MB, free: 14.5 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.01063, allocations: 0 / 259.9 MB, free: 14.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002186/0.01085, allocations: 217.3 kB / 260.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.01087, allocations: 4 kB / 260.1 MB, free: 14.28 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01087, allocations: 0 / 260.1 MB, free: 14.28 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.01089, allocations: 4 kB / 260.1 MB, free: 14.28 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.01113, allocations: 108 kB / 260.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.01114, allocations: 7.938 kB / 260.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.589e-05/0.01119, allocations: 8 kB / 260.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.01121, allocations: 12 kB / 260.2 MB, free: 14.14 MB / 250.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 9.038e-05/0.0113, allocations: 137.8 kB / 260.4 MB, free: 14 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-05/0.01136, allocations: 31.98 kB / 260.4 MB, free: 13.97 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.029e-05/0.01141, allocations: 37.8 kB / 260.4 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.01141, allocations: 4 kB / 260.4 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.01142, allocations: 4 kB / 260.4 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.01143, allocations: 7.922 kB / 260.5 MB, free: 13.92 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007265/0.01215, allocations: 0.7359 MB / 261.2 MB, free: 13.13 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.01216, allocations: 0 / 261.2 MB, free: 13.13 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.01241, allocations: 111.8 kB / 261.3 MB, free: 13.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.01242, allocations: 4 kB / 261.3 MB, free: 13.02 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.01243, allocations: 12 kB / 261.3 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.01244, allocations: 4 kB / 261.3 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.01244, allocations: 4.281 kB / 261.3 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004043/0.01285, allocations: 0.5575 MB / 261.9 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.695e-05/0.01288, allocations: 19.86 kB / 261.9 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.0129, allocations: 12 kB / 261.9 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.01301, allocations: 12 kB / 261.9 MB, free: 12.35 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.01305, allocations: 39.81 kB / 262 MB, free: 12.31 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.01306, allocations: 8 kB / 262 MB, free: 12.3 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.666e-05/0.0131, allocations: 45.86 kB / 262 MB, free: 12.26 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0131, allocations: 0 / 262 MB, free: 12.26 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002683/0.01337, allocations: 76 kB / 262.1 MB, free: 12.18 MB / 250.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 0.000113/0.01348, allocations: 96.33 kB / 262.2 MB, free: 12.08 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.01369, allocations: 177.7 kB / 262.4 MB, free: 11.9 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.01369, allocations: 4 kB / 262.4 MB, free: 11.9 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.816e-05/0.01378, allocations: 112.9 kB / 262.5 MB, free: 11.79 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.01417, allocations: 82.53 kB / 262.5 MB, free: 11.71 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007585/0.01493, allocations: 0.6468 MB / 263.2 MB, free: 11.01 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.436e-05/0.015, allocations: 105.2 kB / 263.3 MB, free: 10.89 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.412e-05/0.0151, allocations: 31.05 kB / 263.3 MB, free: 10.85 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.01523, allocations: 115.3 kB / 263.4 MB, free: 10.74 MB / 250.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01524, allocations: 0 / 263.4 MB, free: 10.74 MB / 250.7 MB Notification: Performance of Templates: time 0.006255/0.02149, allocations: 3.353 MB / 266.8 MB, free: 7.422 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.7010500677861273]