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.001723/0.001723, allocations: 81.58 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001353/0.001353, allocations: 151.1 kB / 23.94 MB, free: 4.164 MB / 14.72 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 1.443/1.443, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] 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.703e-06/1.703e-06, allocations: 0 / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.923e-05, allocations: 2.281 kB / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002854/0.002873, allocations: 2.259 MB / 321.2 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004915/0.003364, allocations: 234.7 kB / 321.4 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.003488, allocations: 12.5 kB / 321.4 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.003658, allocations: 40.48 kB / 321.4 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.003812, allocations: 85.48 kB / 321.5 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.003983, allocations: 62.5 kB / 321.6 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000291/0.004274, allocations: 305.6 kB / 321.9 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.004448, allocations: 79.98 kB / 322 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.004645, allocations: 165.1 kB / 322.1 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.004793, allocations: 82.55 kB / 322.2 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.004834, allocations: 22.56 kB / 322.2 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.815e-05/0.004882, allocations: 22.28 kB / 322.3 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.697e-05/0.004929, allocations: 56.66 kB / 322.3 MB, free: 1.395 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.005032, allocations: 86.22 kB / 322.4 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.005377, allocations: 295.6 kB / 322.7 MB, free: 1.25 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.005381, allocations: 5.031 kB / 322.7 MB, free: 1.246 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005381, allocations: 0 / 322.7 MB, free: 1.246 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.005387, allocations: 0 / 322.7 MB, free: 1.246 MB / 286.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.0006656/0.006052, allocations: 484.5 kB / 323.2 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.006089, allocations: 11.7 kB / 323.2 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.037e-05/0.006149, allocations: 31.66 kB / 323.2 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.006396, allocations: 181.2 kB / 323.4 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.006418, allocations: 18 kB / 323.4 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.55e-05/0.006463, allocations: 33.28 kB / 323.4 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003835/0.006847, allocations: 239.4 kB / 323.7 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.006868, allocations: 6.109 kB / 323.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.006891, allocations: 6.906 kB / 323.7 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.006899, allocations: 6.438 kB / 323.7 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.007183, allocations: 164.9 kB / 323.8 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008655/0.008049, allocations: 0.6725 MB / 324.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005487/0.008598, allocations: 274.2 kB / 324.8 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.008846, allocations: 125 kB / 324.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.008871, allocations: 8.984 kB / 324.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.008905, allocations: 42.56 kB / 325 MB, free: 15.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/0.008907, allocations: 0 / 325 MB, free: 15.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002663/0.01157, allocations: 1.504 MB / 326.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.162e-05/0.01165, allocations: 117 kB / 326.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.01182, allocations: 166.2 kB / 326.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.01185, allocations: 30.83 kB / 326.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.01196, allocations: 143.7 kB / 326.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.0121, allocations: 164.9 kB / 327.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.01221, allocations: 72.16 kB / 327.1 MB, free: 13.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.01237, allocations: 337.4 kB / 327.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.01254, allocations: 91.16 kB / 327.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.01275, allocations: 154 kB / 327.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004095/0.01316, allocations: 288.2 kB / 328 MB, free: 13.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.01316, allocations: 1.188 kB / 328 MB, free: 13.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005189/0.01368, allocations: 337.5 kB / 328.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.0137, allocations: 6.406 kB / 328.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.01371, allocations: 5.781 kB / 328.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.01372, allocations: 4.375 kB / 328.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/0.01406, allocations: 97.02 kB / 328.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.01408, allocations: 11.88 kB / 328.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.01419, allocations: 11.28 kB / 328.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.01422, allocations: 14.59 kB / 328.5 MB, free: 13.18 MB / 302.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.0001496/0.01436, allocations: 148.4 kB / 328.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.51e-05/0.01446, allocations: 33.7 kB / 328.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.475e-05/0.01454, allocations: 32.45 kB / 328.7 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.01455, allocations: 5 kB / 328.7 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.01456, allocations: 5.125 kB / 328.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.01457, allocations: 7.547 kB / 328.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.01596, allocations: 0.9382 MB / 329.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.01596, allocations: 3.594 kB / 329.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003688/0.01633, allocations: 84.34 kB / 329.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.01634, allocations: 4.562 kB / 329.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.01637, allocations: 19.25 kB / 329.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.01637, allocations: 9.078 kB / 329.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.01637, allocations: 3.375 kB / 329.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008201/0.01719, allocations: 0.7209 MB / 330.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.01723, allocations: 22.97 kB / 330.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.01727, allocations: 14.53 kB / 330.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.0175, allocations: 17.28 kB / 330.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.01756, allocations: 37.89 kB / 330.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.01758, allocations: 15.97 kB / 330.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.995e-05/0.01768, allocations: 125.5 kB / 330.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01768, allocations: 4 kB / 330.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004356/0.01812, allocations: 71.03 kB / 330.8 MB, free: 11.62 MB / 302.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.0001348/0.01825, allocations: 106.4 kB / 330.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004378/0.01869, allocations: 254.8 kB / 331.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.01869, allocations: 1.156 kB / 331.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.0189, allocations: 146.4 kB / 331.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007128/0.01961, allocations: 60.11 kB / 331.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.02096, allocations: 0.7716 MB / 332.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.02115, allocations: 160.8 kB / 332.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.02126, allocations: 34.06 kB / 332.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.859e-05/0.02134, allocations: 27.28 kB / 332.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.02134, allocations: 0 / 332.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of Templates: time 0.007478/0.02882, allocations: 2.929 MB / 335.2 MB, free: 9.723 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.291629463434219]