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.001149/0.001149, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001053/0.001053, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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 1.025/1.025, allocations: 173.3 MB / 201.1 MB, free: 9.332 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 3.035e-06/3.035e-06, allocations: 4 kB / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.964e-05, allocations: 10.25 kB / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002765/0.002794, allocations: 2.417 MB / 270.4 MB, free: 4.012 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005393/0.003334, allocations: 247 kB / 270.6 MB, free: 3.77 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.00344, allocations: 4 kB / 270.6 MB, free: 3.766 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.003586, allocations: 47.52 kB / 270.7 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.003722, allocations: 99.12 kB / 270.8 MB, free: 3.621 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.003908, allocations: 51.92 kB / 270.8 MB, free: 3.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.004158, allocations: 302.4 kB / 271.1 MB, free: 3.273 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.004346, allocations: 62.05 kB / 271.2 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.00452, allocations: 171.6 kB / 271.4 MB, free: 3.043 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.004641, allocations: 83.78 kB / 271.4 MB, free: 2.961 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.004673, allocations: 20 kB / 271.5 MB, free: 2.941 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.055e-05/0.004704, allocations: 31.94 kB / 271.5 MB, free: 2.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.02e-05/0.004744, allocations: 51.81 kB / 271.5 MB, free: 2.859 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.401e-05/0.004818, allocations: 91.81 kB / 271.6 MB, free: 2.77 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.005037, allocations: 191.2 kB / 271.8 MB, free: 2.582 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.005039, allocations: 0 / 271.8 MB, free: 2.582 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.00504, allocations: 3.938 kB / 271.8 MB, free: 2.578 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.005044, allocations: 0 / 271.8 MB, free: 2.578 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.0005682/0.005612, allocations: 0.578 MB / 272.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.005649, allocations: 12.92 kB / 272.4 MB, free: 1.949 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.923e-05/0.005718, allocations: 44.75 kB / 272.5 MB, free: 1.906 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.00593, allocations: 188.9 kB / 272.6 MB, free: 1.691 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.005945, allocations: 16.88 kB / 272.7 MB, free: 1.676 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/0.005989, allocations: 28.33 kB / 272.7 MB, free: 1.648 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.006247, allocations: 207.5 kB / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.00626, allocations: 4.188 kB / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.006277, allocations: 8.375 kB / 272.9 MB, free: 1.414 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.006289, allocations: 12.38 kB / 272.9 MB, free: 1.402 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.006441, allocations: 107.8 kB / 273 MB, free: 1.297 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007218/0.007163, allocations: 0.786 MB / 273.8 MB, free: 476 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/0.007505, allocations: 249.1 kB / 274 MB, free: 188 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.007651, allocations: 99.02 kB / 274.1 MB, free: 76 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.007669, allocations: 11.94 kB / 274.2 MB, free: 64 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.007693, allocations: 41.39 kB / 274.2 MB, free: 12 kB / 250.7 MB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.007695, allocations: 4 kB / 274.2 MB, free: 8 kB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.001573/0.009268, allocations: 1.409 MB / 275.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.009315, allocations: 110.8 kB / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.009435, allocations: 225.8 kB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.009453, allocations: 37.7 kB / 276 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/0.009526, allocations: 187.5 kB / 276.2 MB, free: 13.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.737e-05/0.009614, allocations: 170.5 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.587e-05/0.00969, allocations: 79.84 kB / 276.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.009814, allocations: 0.504 MB / 276.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.962e-05/0.009893, allocations: 48.97 kB / 276.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.01001, allocations: 142.8 kB / 277.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.01024, allocations: 221.8 kB / 277.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.01024, allocations: 4 kB / 277.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000306/0.01054, allocations: 294.9 kB / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.01056, allocations: 8 kB / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.01057, allocations: 0 / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.01059, allocations: 7.938 kB / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.01078, allocations: 91.89 kB / 277.7 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.01079, allocations: 7.938 kB / 277.7 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.819e-05/0.01084, allocations: 12 kB / 277.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.01086, allocations: 12 kB / 277.7 MB, free: 12.17 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.491e-05/0.01095, allocations: 188.5 kB / 277.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.138e-05/0.01101, allocations: 39.86 kB / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.505e-05/0.01107, allocations: 37.8 kB / 278 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.01107, allocations: 8 kB / 278 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.01108, allocations: 4 kB / 278 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.01109, allocations: 3.938 kB / 278 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008317/0.01192, allocations: 1.035 MB / 279 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.01192, allocations: 7.984 kB / 279.1 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.01213, allocations: 87.84 kB / 279.1 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.01213, allocations: 4 kB / 279.1 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.01215, allocations: 12 kB / 279.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.01215, allocations: 7.984 kB / 279.2 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.01216, allocations: 4 kB / 279.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005232/0.01268, allocations: 0.7939 MB / 280 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.397e-05/0.0127, allocations: 19.86 kB / 280 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.01273, allocations: 15.98 kB / 280 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.01283, allocations: 8 kB / 280 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.01287, allocations: 35.94 kB / 280 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.01289, allocations: 15.98 kB / 280.1 MB, free: 9.695 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.789e-05/0.01295, allocations: 168.2 kB / 280.2 MB, free: 9.531 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01295, allocations: 0 / 280.2 MB, free: 9.531 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002861/0.01324, allocations: 72 kB / 280.3 MB, free: 9.461 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.397e-05/0.01333, allocations: 119.1 kB / 280.4 MB, free: 9.332 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.01361, allocations: 212.3 kB / 280.6 MB, free: 9.121 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01361, allocations: 0 / 280.6 MB, free: 9.121 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.01372, allocations: 123.4 kB / 280.7 MB, free: 8.996 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.01414, allocations: 65.86 kB / 280.8 MB, free: 8.934 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008437/0.01499, allocations: 0.7805 MB / 281.6 MB, free: 8.078 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.22e-05/0.01506, allocations: 97.19 kB / 281.7 MB, free: 7.965 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.987e-05/0.01514, allocations: 42.94 kB / 281.7 MB, free: 7.922 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.0152, allocations: 28.5 kB / 281.7 MB, free: 7.891 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.0152, allocations: 0 / 281.7 MB, free: 7.891 MB / 266.7 MB Notification: Performance of Templates: time 0.005425/0.02062, allocations: 2.966 MB / 284.7 MB, free: 4.973 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: 3.0719223227351904]