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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007967/0.0007967, allocations: 178.6 kB / 17.04 MB, free: 5.109 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.161/1.161, allocations: 223.3 MB / 241 MB, free: 11.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007039/0.0007041, allocations: 91.62 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002074/0.0002074, allocations: 7.938 kB / 351.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1745, allocations: 50.41 MB / 402.2 MB, free: 32.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.001637/0.1762, allocations: 2.023 MB / 404.2 MB, free: 30.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000387/0.1766, allocations: 226.5 kB / 404.4 MB, free: 30.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.1767, allocations: 9.188 kB / 404.5 MB, free: 30.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.1768, allocations: 31.77 kB / 404.5 MB, free: 30.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.1769, allocations: 77.16 kB / 404.6 MB, free: 30.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001244/0.1771, allocations: 43.89 kB / 404.6 MB, free: 30.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.1772, allocations: 267.8 kB / 404.9 MB, free: 29.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.1774, allocations: 74.89 kB / 404.9 MB, free: 29.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.865e-05/0.1775, allocations: 87.66 kB / 405 MB, free: 29.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.1776, allocations: 111.5 kB / 405.1 MB, free: 29.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.1776, allocations: 12 kB / 405.1 MB, free: 29.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.179e-05/0.1776, allocations: 12 kB / 405.2 MB, free: 29.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.375e-05/0.1777, allocations: 39.84 kB / 405.2 MB, free: 29.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.1777, allocations: 69.58 kB / 405.3 MB, free: 29.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.1778, allocations: 212.9 kB / 405.5 MB, free: 29.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1779, allocations: 0 / 405.5 MB, free: 29.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1779, allocations: 0 / 405.5 MB, free: 29.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1779, allocations: 0 / 405.5 MB, free: 29.32 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.000499/0.1784, allocations: 0.5028 MB / 406 MB, free: 28.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.1784, allocations: 12.03 kB / 406 MB, free: 28.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.509e-05/0.1785, allocations: 27.67 kB / 406 MB, free: 28.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.1786, allocations: 248.8 kB / 406.3 MB, free: 28.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.1787, allocations: 16.56 kB / 406.3 MB, free: 28.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.1787, allocations: 31.98 kB / 406.3 MB, free: 28.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.179, allocations: 239.4 kB / 406.5 MB, free: 28.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.179, allocations: 0 / 406.5 MB, free: 28.15 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.1791, allocations: 19.97 kB / 406.6 MB, free: 28.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1791, allocations: 7.953 kB / 406.6 MB, free: 28.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.1793, allocations: 163.8 kB / 406.7 MB, free: 27.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007285/0.18, allocations: 0.801 MB / 407.5 MB, free: 27.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.1804, allocations: 279.8 kB / 407.8 MB, free: 26.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.1806, allocations: 134.8 kB / 407.9 MB, free: 26.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.1806, allocations: 8.203 kB / 407.9 MB, free: 26.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.255e-05/0.1806, allocations: 50.44 kB / 408 MB, free: 26.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.312e-06/0.1806, allocations: 0 / 408 MB, free: 26.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.001761/0.1824, allocations: 1.945 MB / 409.9 MB, free: 24.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.1824, allocations: 110.8 kB / 410 MB, free: 24.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.1825, allocations: 188.7 kB / 410.2 MB, free: 24.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.1825, allocations: 37.7 kB / 410.3 MB, free: 24.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.1826, allocations: 132.7 kB / 410.4 MB, free: 23.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.161e-05/0.1827, allocations: 169.6 kB / 410.6 MB, free: 23.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/0.1827, allocations: 7.938 kB / 410.6 MB, free: 23.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.383e-05/0.1827, allocations: 338.8 kB / 410.9 MB, free: 23.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.1828, allocations: 92.83 kB / 411 MB, free: 23.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.183, allocations: 154.3 kB / 411.1 MB, free: 23.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.1831, allocations: 115.1 kB / 411.2 MB, free: 22.99 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1831, allocations: 0 / 411.2 MB, free: 22.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003467/0.1835, allocations: 339.4 kB / 411.6 MB, free: 22.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.1835, allocations: 4 kB / 411.6 MB, free: 22.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1835, allocations: 7.984 kB / 411.6 MB, free: 22.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1835, allocations: 7.953 kB / 411.6 MB, free: 22.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.1838, allocations: 91.84 kB / 411.7 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.1838, allocations: 4 kB / 411.7 MB, free: 22.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.988e-05/0.1839, allocations: 8 kB / 411.7 MB, free: 22.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.184, allocations: 16 kB / 411.7 MB, free: 22.52 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 8.775e-05/0.1841, allocations: 157.8 kB / 411.9 MB, free: 22.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.934e-05/0.1841, allocations: 27.72 kB / 411.9 MB, free: 22.33 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.447e-05/0.1842, allocations: 33.88 kB / 411.9 MB, free: 22.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1842, allocations: 7.953 kB / 411.9 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1842, allocations: 0 / 411.9 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.1842, allocations: 7.984 kB / 411.9 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009107/0.1851, allocations: 1.054 MB / 413 MB, free: 21.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.676e-06/0.1851, allocations: 0 / 413 MB, free: 21.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003106/0.1855, allocations: 95.83 kB / 413.1 MB, free: 21.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.1855, allocations: 4 kB / 413.1 MB, free: 21.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.1855, allocations: 12 kB / 413.1 MB, free: 21.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1855, allocations: 4 kB / 413.1 MB, free: 21.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1855, allocations: 4.281 kB / 413.1 MB, free: 21.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004711/0.186, allocations: 0.7247 MB / 413.8 MB, free: 20.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.186, allocations: 100.8 kB / 413.9 MB, free: 20.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.1861, allocations: 8.188 kB / 413.9 MB, free: 20.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.1863, allocations: 19.98 kB / 414 MB, free: 20.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.1863, allocations: 39.86 kB / 414 MB, free: 20.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.1863, allocations: 12 kB / 414 MB, free: 20.06 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.284e-05/0.1864, allocations: 139.3 kB / 414.2 MB, free: 19.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1864, allocations: 96 / 414.2 MB, free: 19.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003349/0.1867, allocations: 75.94 kB / 414.2 MB, free: 19.85 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 7.66e-05/0.1868, allocations: 115.1 kB / 414.3 MB, free: 19.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002942/0.1871, allocations: 260.8 kB / 414.6 MB, free: 19.47 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1871, allocations: 4 kB / 414.6 MB, free: 19.47 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.1873, allocations: 139.8 kB / 414.7 MB, free: 19.33 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005809/0.1879, allocations: 60.7 kB / 414.8 MB, free: 19.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009822/0.1888, allocations: 1.121 MB / 415.9 MB, free: 18.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.189, allocations: 0.7608 MB / 416.7 MB, free: 17.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.1891, allocations: 35.44 kB / 416.7 MB, free: 17.26 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1891, allocations: 0 / 416.7 MB, free: 17.26 MB / 298.7 MB Notification: Performance of Templates: time 0.003562/0.1927, allocations: 3.403 MB / 420.1 MB, free: 13.87 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches