Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001681/0.001681, allocations: 88.83 kB / 20.69 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001975/0.001975, allocations: 157.9 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.58e-05, allocations: 2.281 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003721/0.003747, allocations: 2.276 MB / 327.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005671/0.004314, allocations: 238.4 kB / 327.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.004444, allocations: 8.625 kB / 327.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.004629, allocations: 44.27 kB / 327.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.004815, allocations: 85.73 kB / 327.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.005008, allocations: 58.72 kB / 327.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003835/0.005391, allocations: 308.5 kB / 328 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.005585, allocations: 68.81 kB / 328.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002265/0.005812, allocations: 176 kB / 328.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.00598, allocations: 79.88 kB / 328.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.618e-05/0.006026, allocations: 21.22 kB / 328.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.024e-05/0.006076, allocations: 22.78 kB / 328.4 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.505e-05/0.006141, allocations: 55.56 kB / 328.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.006269, allocations: 90.84 kB / 328.5 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004213/0.006691, allocations: 299.9 kB / 328.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.006694, allocations: 1.406 kB / 328.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.006696, allocations: 0.5156 kB / 328.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.006702, allocations: 0 / 328.8 MB, free: 14.16 MB / 302.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.0008324/0.007535, allocations: 471.9 kB / 329.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.007593, allocations: 15.03 kB / 329.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.961e-05/0.007672, allocations: 34.91 kB / 329.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.007991, allocations: 181.1 kB / 329.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.008018, allocations: 18.53 kB / 329.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.268e-05/0.008071, allocations: 33.7 kB / 329.5 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004397/0.008511, allocations: 243.5 kB / 329.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.008531, allocations: 2.5 kB / 329.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.008563, allocations: 15.02 kB / 329.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.008571, allocations: 5.75 kB / 329.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.008883, allocations: 165.8 kB / 330 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.009934, allocations: 0.6576 MB / 330.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.01049, allocations: 282.8 kB / 330.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/0.01075, allocations: 128.3 kB / 331 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.01077, allocations: 8.812 kB / 331 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.01081, allocations: 41.05 kB / 331.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.01081, allocations: 1.062 kB / 331.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002687/0.0135, allocations: 1.5 MB / 332.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.048e-05/0.01358, allocations: 108.2 kB / 332.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.01375, allocations: 167.9 kB / 332.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.01378, allocations: 35.67 kB / 332.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.0139, allocations: 143 kB / 333 MB, free: 10.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.01406, allocations: 161.6 kB / 333.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.0142, allocations: 77.94 kB / 333.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000218/0.01442, allocations: 333.7 kB / 333.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.01461, allocations: 88.75 kB / 333.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.01487, allocations: 171.1 kB / 333.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004936/0.01537, allocations: 280.5 kB / 334.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01537, allocations: 1.344 kB / 334.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005313/0.0159, allocations: 344.1 kB / 334.4 MB, free: 9.945 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.01592, allocations: 4.938 kB / 334.4 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.01592, allocations: 2.719 kB / 334.4 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.01594, allocations: 3.375 kB / 334.4 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.01628, allocations: 94.84 kB / 334.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.01629, allocations: 6.812 kB / 334.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.0164, allocations: 8.031 kB / 334.6 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.01643, allocations: 18.09 kB / 334.6 MB, free: 9.91 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.0001603/0.01659, allocations: 155.6 kB / 334.7 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.72e-05/0.01667, allocations: 24.8 kB / 334.7 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.216e-05/0.01676, allocations: 34.16 kB / 334.8 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.01676, allocations: 5.625 kB / 334.8 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.01677, allocations: 0 / 334.8 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.01678, allocations: 9.359 kB / 334.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.01818, allocations: 0.9468 MB / 335.7 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.01818, allocations: 2.875 kB / 335.7 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003744/0.01856, allocations: 89.95 kB / 335.8 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.01857, allocations: 4.438 kB / 335.8 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.01859, allocations: 18.16 kB / 335.9 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.0186, allocations: 4.156 kB / 335.9 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.0186, allocations: 8.125 kB / 335.9 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00084/0.01944, allocations: 0.7255 MB / 336.6 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.01949, allocations: 21.11 kB / 336.6 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.271e-05/0.01953, allocations: 13.91 kB / 336.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.01975, allocations: 12.41 kB / 336.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.0198, allocations: 37.47 kB / 336.7 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.01983, allocations: 14.75 kB / 336.7 MB, free: 8.301 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.01993, allocations: 132.5 kB / 336.8 MB, free: 8.195 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01993, allocations: 3.938 kB / 336.8 MB, free: 8.191 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000453/0.02038, allocations: 71.03 kB / 336.9 MB, free: 8.18 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.0001368/0.02052, allocations: 108.8 kB / 337 MB, free: 8.082 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000473/0.02099, allocations: 260.5 kB / 337.3 MB, free: 7.977 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.02099, allocations: 0 / 337.3 MB, free: 7.977 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.02122, allocations: 139 kB / 337.4 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006998/0.02192, allocations: 74.11 kB / 337.5 MB, free: 7.879 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.02329, allocations: 0.7696 MB / 338.2 MB, free: 7.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.02346, allocations: 163.8 kB / 338.4 MB, free: 7.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.02358, allocations: 30.97 kB / 338.4 MB, free: 7.043 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.993e-05/0.02366, allocations: 28.5 kB / 338.4 MB, free: 7.016 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.02366, allocations: 0 / 338.4 MB, free: 7.016 MB / 302.1 MB Notification: Performance of Templates: time 0.007141/0.0308, allocations: 2.915 MB / 341.4 MB, free: 4.148 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.2555951327085495]