Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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) 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(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 95.58 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 182.8 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.2 MB / 241.1 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8908/0.8908, allocations: 120.4 MB / 412.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003708, allocations: 11.98 kB / 0.4942 GB, free: 11.1 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1689, allocations: 82.84 MB / 0.5751 GB, free: 8.125 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001384/0.1703, allocations: 0.9221 MB / 0.576 GB, free: 7.195 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002039/0.1706, allocations: 35.91 kB / 0.576 GB, free: 7.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.473e-05/0.1706, allocations: 0 / 0.576 GB, free: 7.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.174e-05/0.1707, allocations: 4 kB / 0.576 GB, free: 7.156 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.995e-05/0.1707, allocations: 3.984 kB / 0.576 GB, free: 7.152 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.1709, allocations: 15.97 kB / 0.576 GB, free: 7.137 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.171, allocations: 39.94 kB / 0.5761 GB, free: 7.098 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.865e-05/0.1711, allocations: 4 kB / 0.5761 GB, free: 7.094 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.206e-05/0.1712, allocations: 27.91 kB / 0.5761 GB, free: 7.066 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.456e-05/0.1712, allocations: 23.98 kB / 0.5761 GB, free: 7.043 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.1712, allocations: 4 kB / 0.5761 GB, free: 7.039 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.314e-05/0.1713, allocations: 0 / 0.5761 GB, free: 7.039 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.1713, allocations: 15.98 kB / 0.5761 GB, free: 7.023 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.876e-05/0.1714, allocations: 33.64 kB / 0.5762 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.534e-05/0.1714, allocations: 27.91 kB / 0.5762 GB, free: 6.957 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.1714, allocations: 0 / 0.5762 GB, free: 6.957 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1714, allocations: 0 / 0.5762 GB, free: 6.957 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1715, allocations: 3.938 kB / 0.5762 GB, free: 6.953 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000514/0.172, allocations: 367.5 kB / 0.5765 GB, free: 6.547 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.172, allocations: 8.031 kB / 0.5766 GB, free: 6.539 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.1721, allocations: 7.953 kB / 0.5766 GB, free: 6.531 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.1723, allocations: 175 kB / 0.5767 GB, free: 6.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.1723, allocations: 8 kB / 0.5767 GB, free: 6.312 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.1723, allocations: 7.906 kB / 0.5767 GB, free: 6.305 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.1725, allocations: 69.66 kB / 0.5768 GB, free: 6.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1725, allocations: 3.938 kB / 0.5768 GB, free: 6.227 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.1725, allocations: 7.984 kB / 0.5768 GB, free: 6.219 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.1726, allocations: 0 / 0.5768 GB, free: 6.219 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.468e-05/0.1726, allocations: 35.92 kB / 0.5769 GB, free: 6.184 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002165/0.1729, allocations: 181.6 kB / 0.577 GB, free: 5.957 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.173, allocations: 70.55 kB / 0.5771 GB, free: 5.879 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.173, allocations: 0 / 0.5771 GB, free: 5.879 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.173, allocations: 30.56 kB / 0.5771 GB, free: 5.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.173, allocations: 4 kB / 0.5771 GB, free: 5.836 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002642/0.1733, allocations: 130.1 kB / 0.5773 GB, free: 5.699 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.1734, allocations: 51.41 kB / 0.5773 GB, free: 5.637 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.232e-05/0.1734, allocations: 97.84 kB / 0.5774 GB, free: 5.531 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1735, allocations: 33.7 kB / 0.5774 GB, free: 5.492 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.1735, allocations: 80.14 kB / 0.5775 GB, free: 5.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.1736, allocations: 35.55 kB / 0.5775 GB, free: 5.375 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.1736, allocations: 0 / 0.5775 GB, free: 5.375 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1737, allocations: 326.8 kB / 0.5778 GB, free: 5.047 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.289e-05/0.1738, allocations: 35.97 kB / 0.5779 GB, free: 5.012 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.678e-05/0.1739, allocations: 71.08 kB / 0.578 GB, free: 4.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.691e-05/0.174, allocations: 55.91 kB / 0.578 GB, free: 4.875 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.174, allocations: 0 / 0.578 GB, free: 4.875 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002085/0.1742, allocations: 141.5 kB / 0.5781 GB, free: 4.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1742, allocations: 13.97 kB / 0.5782 GB, free: 4.719 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1742, allocations: 0 / 0.5782 GB, free: 4.719 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1743, allocations: 4 kB / 0.5782 GB, free: 4.715 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.1744, allocations: 43.92 kB / 0.5782 GB, free: 4.672 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1745, allocations: 0 / 0.5782 GB, free: 4.672 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.295e-05/0.1745, allocations: 7.906 kB / 0.5782 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.1745, allocations: 4 kB / 0.5782 GB, free: 4.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 16 * 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.0001095/0.1747, allocations: 133.8 kB / 0.5783 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.1747, allocations: 4 kB / 0.5783 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.1747, allocations: 15.91 kB / 0.5784 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1747, allocations: 192 / 0.5784 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1747, allocations: 0 / 0.5784 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1748, allocations: 3.984 kB / 0.5784 GB, free: 4.492 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.1749, allocations: 185.6 kB / 0.5785 GB, free: 4.262 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1749, allocations: 0 / 0.5785 GB, free: 4.262 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.1751, allocations: 23.98 kB / 0.5786 GB, free: 4.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1751, allocations: 4 kB / 0.5786 GB, free: 4.234 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.1751, allocations: 7.984 kB / 0.5786 GB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1752, allocations: 0 / 0.5786 GB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.1752, allocations: 4 kB / 0.5786 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.1754, allocations: 153.2 kB / 0.5787 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.1754, allocations: 77.11 kB / 0.5788 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.1755, allocations: 7.984 kB / 0.5788 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.38e-05/0.1755, allocations: 4 kB / 0.5788 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.1756, allocations: 7.984 kB / 0.5788 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.1756, allocations: 4 kB / 0.5788 GB, free: 3.938 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.465e-05/0.1756, allocations: 79.28 kB / 0.5789 GB, free: 3.859 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1756, allocations: 0 / 0.5789 GB, free: 3.859 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002087/0.1758, allocations: 16 kB / 0.5789 GB, free: 3.844 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (x[1],x[2],x[3],x[4],v[1],v[2],v[3],v[4]) * 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 (8): * Single equations (assignments): 8 * 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 9.879e-05/0.1759, allocations: 95.25 kB / 0.579 GB, free: 3.742 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.1761, allocations: 87.95 kB / 0.5791 GB, free: 3.656 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.1761, allocations: 4.25 kB / 0.5791 GB, free: 3.652 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.951e-05/0.1762, allocations: 39.91 kB / 0.5791 GB, free: 3.613 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.1764, allocations: 11.95 kB / 0.5791 GB, free: 3.602 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009773/0.1773, allocations: 0.748 MB / 0.5799 GB, free: 2.828 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.1777, allocations: 0.6965 MB / 0.5805 GB, free: 2.105 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.506e-05/0.1777, allocations: 24.64 kB / 0.5806 GB, free: 2.074 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.727e-05/0.1778, allocations: 11.44 kB / 0.5806 GB, free: 2.066 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1778, allocations: 0 / 0.5806 GB, free: 2.066 MB / 446.1 MB Notification: Performance of Templates: time 0.002702/0.1805, allocations: 0.6181 MB / 0.5812 GB, free: 1.48 MB / 446.1 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches