Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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_cpp_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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_cpp_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001211/0.001211, allocations: 175.6 kB / 16.72 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007871/0.000787, allocations: 90.66 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003002/0.0003003, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.219, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003255/0.2223, allocations: 2.017 MB / 377.1 MB, free: 43.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007511/0.2231, allocations: 229.5 kB / 377.3 MB, free: 43.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/0.2234, allocations: 4.5 kB / 377.3 MB, free: 43.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.2236, allocations: 35.8 kB / 377.4 MB, free: 43.6 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.2239, allocations: 73.66 kB / 377.4 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.2242, allocations: 41.33 kB / 377.5 MB, free: 43.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000485/0.2247, allocations: 269.5 kB / 377.7 MB, free: 43.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002848/0.225, allocations: 81.16 kB / 377.8 MB, free: 43.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.2252, allocations: 89.66 kB / 377.9 MB, free: 43.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.2255, allocations: 107.4 kB / 378 MB, free: 43.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.048e-05/0.2256, allocations: 11.5 kB / 378 MB, free: 43.19 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.501e-05/0.2257, allocations: 13.41 kB / 378 MB, free: 43.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.321e-05/0.2257, allocations: 39 kB / 378.1 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.2259, allocations: 137.4 kB / 378.2 MB, free: 43.06 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.2262, allocations: 211.1 kB / 378.4 MB, free: 42.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.2263, allocations: 1.031 kB / 378.4 MB, free: 42.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.2263, allocations: 0 / 378.4 MB, free: 42.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.2263, allocations: 0 / 378.4 MB, free: 42.91 MB / 298.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.0009385/0.2273, allocations: 0.5097 MB / 378.9 MB, free: 42.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.2273, allocations: 9.375 kB / 378.9 MB, free: 42.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.2274, allocations: 26.47 kB / 379 MB, free: 42.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.2278, allocations: 243.3 kB / 379.2 MB, free: 42.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.2278, allocations: 26.09 kB / 379.2 MB, free: 42.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.006e-05/0.2279, allocations: 28.28 kB / 379.2 MB, free: 42.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006443/0.2286, allocations: 239.3 kB / 379.5 MB, free: 41.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/0.2286, allocations: 1.25 kB / 379.5 MB, free: 41.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.2287, allocations: 14.34 kB / 379.5 MB, free: 41.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.2287, allocations: 9.859 kB / 379.5 MB, free: 41.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/0.2292, allocations: 156 kB / 379.7 MB, free: 41.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.2307, allocations: 0.8083 MB / 380.5 MB, free: 41.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007638/0.2315, allocations: 284.2 kB / 380.7 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003786/0.2319, allocations: 135.3 kB / 380.9 MB, free: 40.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.2319, allocations: 7.688 kB / 380.9 MB, free: 40.9 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.232, allocations: 33.53 kB / 380.9 MB, free: 40.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 3.606e-06/0.232, allocations: 0 / 380.9 MB, free: 40.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.003906/0.2359, allocations: 1.949 MB / 382.9 MB, free: 39.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.236, allocations: 107.8 kB / 383 MB, free: 39.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.2362, allocations: 191.4 kB / 383.2 MB, free: 38.87 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.2363, allocations: 31.3 kB / 383.2 MB, free: 38.83 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.2364, allocations: 138.8 kB / 383.3 MB, free: 38.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.2366, allocations: 159.9 kB / 383.5 MB, free: 38.56 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/0.2366, allocations: 10.19 kB / 383.5 MB, free: 38.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.608e-05/0.2367, allocations: 341.1 kB / 383.8 MB, free: 38.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.237, allocations: 99.42 kB / 383.9 MB, free: 38.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/0.2373, allocations: 154 kB / 384.1 MB, free: 38.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006451/0.238, allocations: 278.2 kB / 384.3 MB, free: 37.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.238, allocations: 1.344 kB / 384.3 MB, free: 37.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008192/0.2388, allocations: 330 kB / 384.7 MB, free: 37.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.2389, allocations: 11.66 kB / 384.7 MB, free: 37.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.2389, allocations: 1.125 kB / 384.7 MB, free: 37.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.2389, allocations: 3.438 kB / 384.7 MB, free: 37.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000624/0.2396, allocations: 95.2 kB / 384.8 MB, free: 37.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.2396, allocations: 7.25 kB / 384.8 MB, free: 37.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.2398, allocations: 15.75 kB / 384.8 MB, free: 37.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.2399, allocations: 14.19 kB / 384.8 MB, free: 37.67 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001881/0.2401, allocations: 152.2 kB / 385 MB, free: 37.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.2403, allocations: 30.41 kB / 385 MB, free: 37.51 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.2404, allocations: 37.36 kB / 385 MB, free: 37.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.2404, allocations: 5.656 kB / 385 MB, free: 37.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.2404, allocations: 1 kB / 385 MB, free: 37.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.2405, allocations: 5.297 kB / 385 MB, free: 37.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/0.2425, allocations: 1.058 MB / 386.1 MB, free: 36.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.2425, allocations: 3 kB / 386.1 MB, free: 36.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006865/0.2432, allocations: 87.27 kB / 386.2 MB, free: 36.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.446e-05/0.2432, allocations: 7.5 kB / 386.2 MB, free: 36.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.2433, allocations: 18.28 kB / 386.2 MB, free: 36.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.286e-05/0.2433, allocations: 7.906 kB / 386.2 MB, free: 36.56 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/0.2433, allocations: 4.156 kB / 386.2 MB, free: 36.56 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.2445, allocations: 0.7215 MB / 386.9 MB, free: 36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.2446, allocations: 102.3 kB / 387 MB, free: 35.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.637e-05/0.2447, allocations: 17.53 kB / 387.1 MB, free: 35.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004261/0.2452, allocations: 12.5 kB / 387.1 MB, free: 35.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/0.2453, allocations: 34.61 kB / 387.1 MB, free: 35.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.2453, allocations: 18.78 kB / 387.1 MB, free: 35.85 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001615/0.2455, allocations: 134.7 kB / 387.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2455, allocations: 1.031 kB / 387.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008012/0.2463, allocations: 75.66 kB / 387.3 MB, free: 35.73 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001445/0.2465, allocations: 125.3 kB / 387.5 MB, free: 35.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006745/0.2472, allocations: 258 kB / 387.7 MB, free: 35.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.2472, allocations: 0 / 387.7 MB, free: 35.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003084/0.2475, allocations: 143.7 kB / 387.8 MB, free: 35.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.2488, allocations: 60.72 kB / 387.9 MB, free: 35.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.2509, allocations: 1.12 MB / 389 MB, free: 33.97 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.2512, allocations: 0.7723 MB / 389.8 MB, free: 33.17 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.2513, allocations: 31.44 kB / 389.8 MB, free: 33.14 MB / 298.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2514, allocations: 0 / 389.8 MB, free: 33.14 MB / 298.7 MB Notification: Performance of Templates: time 0.007734/0.2591, allocations: 3.408 MB / 393.2 MB, free: 29.74 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches