Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 80.72 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 154.5 kB / 25.59 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9873/0.9873, allocations: 173.4 MB / 202.2 MB, free: 8.32 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 269.2 MB, free: 9.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.057e-05, allocations: 2.844 kB / 269.2 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003529/0.00356, allocations: 2.404 MB / 271.6 MB, free: 7.395 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005856/0.004145, allocations: 240.1 kB / 271.8 MB, free: 7.164 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.004261, allocations: 7.938 kB / 271.8 MB, free: 7.156 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.004404, allocations: 47.52 kB / 271.9 MB, free: 7.109 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.004536, allocations: 88.56 kB / 272 MB, free: 7.023 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.004678, allocations: 56.55 kB / 272 MB, free: 6.969 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000301/0.004979, allocations: 303 kB / 272.3 MB, free: 6.672 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.005135, allocations: 66.05 kB / 272.4 MB, free: 6.605 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.005297, allocations: 164.4 kB / 272.5 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.005419, allocations: 91.7 kB / 272.6 MB, free: 6.355 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.005449, allocations: 21.62 kB / 272.6 MB, free: 6.336 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.71e-05/0.005476, allocations: 24 kB / 272.7 MB, free: 6.312 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.994e-05/0.005516, allocations: 55.81 kB / 272.7 MB, free: 6.258 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.049e-05/0.005587, allocations: 91.75 kB / 272.8 MB, free: 6.168 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.005799, allocations: 192.5 kB / 273 MB, free: 5.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.005803, allocations: 0 / 273 MB, free: 5.98 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.005804, allocations: 0 / 273 MB, free: 5.98 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.005809, allocations: 0 / 273 MB, free: 5.98 MB / 250.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.0005346/0.006344, allocations: 0.5765 MB / 273.6 MB, free: 5.367 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.006379, allocations: 15.97 kB / 273.6 MB, free: 5.352 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.019e-05/0.00644, allocations: 49.25 kB / 273.6 MB, free: 5.305 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.006643, allocations: 188.9 kB / 273.8 MB, free: 5.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.006661, allocations: 16.88 kB / 273.8 MB, free: 5.074 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/0.006698, allocations: 32.27 kB / 273.9 MB, free: 5.043 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.006913, allocations: 195.5 kB / 274.1 MB, free: 4.836 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.006929, allocations: 4.188 kB / 274.1 MB, free: 4.832 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.006944, allocations: 8.375 kB / 274.1 MB, free: 4.824 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.006953, allocations: 8.375 kB / 274.1 MB, free: 4.816 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.007061, allocations: 87.83 kB / 274.2 MB, free: 4.73 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006663/0.007728, allocations: 0.7592 MB / 274.9 MB, free: 3.934 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.007989, allocations: 225.1 kB / 275.1 MB, free: 3.676 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.008098, allocations: 94.98 kB / 275.2 MB, free: 3.57 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.008111, allocations: 8 kB / 275.2 MB, free: 3.562 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.008137, allocations: 49.27 kB / 275.3 MB, free: 3.504 MB / 250.7 MB Notification: Performance of pre-optimization done (n=33): time 1.473e-06/0.008139, allocations: 0 / 275.3 MB, free: 3.504 MB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.001279/0.009418, allocations: 1.26 MB / 276.6 MB, free: 2.074 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.009466, allocations: 114.8 kB / 276.7 MB, free: 1.938 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.009573, allocations: 217.8 kB / 276.9 MB, free: 1.707 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.009591, allocations: 29.7 kB / 276.9 MB, free: 1.672 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.691e-05/0.009668, allocations: 191.5 kB / 277.1 MB, free: 1.48 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.816e-05/0.009766, allocations: 166.5 kB / 277.3 MB, free: 1.316 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.924e-05/0.009835, allocations: 79.83 kB / 277.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.00996, allocations: 0.5156 MB / 277.8 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.982e-05/0.01001, allocations: 40.95 kB / 277.9 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.934e-05/0.0101, allocations: 134.6 kB / 278 MB, free: 0.5 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.01026, allocations: 203 kB / 278.2 MB, free: 284 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.01026, allocations: 0 / 278.2 MB, free: 284 kB / 250.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002386/0.0105, allocations: 257.2 kB / 278.5 MB, free: 20 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.01051, allocations: 12.08 kB / 278.5 MB, free: 8 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.01052, allocations: 0 / 278.5 MB, free: 8 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.01053, allocations: 4 kB / 278.5 MB, free: 4 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.01074, allocations: 91.91 kB / 278.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.01075, allocations: 7.938 kB / 278.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.219e-05/0.01081, allocations: 15.94 kB / 278.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.01082, allocations: 12 kB / 278.6 MB, free: 15.88 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 9.135e-05/0.01091, allocations: 180.4 kB / 278.8 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.231e-05/0.01097, allocations: 39.86 kB / 278.8 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.892e-05/0.01102, allocations: 33.81 kB / 278.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.01103, allocations: 8 kB / 278.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01103, allocations: 0 / 278.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.01104, allocations: 7.922 kB / 278.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007683/0.0118, allocations: 0.9855 MB / 279.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.01181, allocations: 8.281 kB / 279.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.01201, allocations: 91.89 kB / 280 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.01202, allocations: 4 kB / 280 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.01203, allocations: 16 kB / 280 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.01204, allocations: 7.938 kB / 280 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.01204, allocations: 4 kB / 280 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004377/0.01248, allocations: 0.7634 MB / 280.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.611e-05/0.0125, allocations: 23.86 kB / 280.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.01253, allocations: 8 kB / 280.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.01265, allocations: 16 kB / 280.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.01268, allocations: 39.81 kB / 280.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.0127, allocations: 8 kB / 280.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.374e-05/0.01275, allocations: 164.7 kB / 281 MB, free: 13.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01275, allocations: 0 / 281 MB, free: 13.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002735/0.01302, allocations: 72 kB / 281.1 MB, free: 13.27 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 9.558e-05/0.01312, allocations: 115.1 kB / 281.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002137/0.01333, allocations: 195.2 kB / 281.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01333, allocations: 0 / 281.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.356e-05/0.01343, allocations: 111.8 kB / 281.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.01385, allocations: 75.03 kB / 281.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007818/0.01463, allocations: 0.7811 MB / 282.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.618e-05/0.0147, allocations: 97.28 kB / 282.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.116e-05/0.01478, allocations: 30.95 kB / 282.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.01491, allocations: 142.2 kB / 282.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01492, allocations: 0 / 282.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of Templates: time 0.00508/0.02, allocations: 3.304 MB / 285.9 MB, free: 8.387 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8664869386702776]