Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001709, allocations: 177.3 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.7 MB / 243.2 MB, free: 8.449 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 93.55 kB / 294.4 MB, free: 9.492 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.9555/0.9555, allocations: 120.5 MB / 465.9 MB, free: 7.758 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003258, allocations: 8 kB / 0.5464 GB, free: 41.33 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1672, allocations: 82.85 MB / 0.6273 GB, free: 7.863 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001162/0.1684, allocations: 0.9307 MB / 0.6282 GB, free: 6.926 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001688/0.1686, allocations: 27.97 kB / 0.6282 GB, free: 6.898 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.897e-05/0.1686, allocations: 0 / 0.6282 GB, free: 6.898 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 9.673e-05/0.1687, allocations: 3.938 kB / 0.6282 GB, free: 6.895 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 6.49e-05/0.1688, allocations: 11.98 kB / 0.6282 GB, free: 6.883 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.1689, allocations: 11.98 kB / 0.6282 GB, free: 6.871 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.1691, allocations: 91.84 kB / 0.6283 GB, free: 6.781 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.859e-05/0.1691, allocations: 0 / 0.6283 GB, free: 6.781 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.698e-05/0.1692, allocations: 23.97 kB / 0.6284 GB, free: 6.758 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.1693, allocations: 27.91 kB / 0.6284 GB, free: 6.73 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.1693, allocations: 4 kB / 0.6284 GB, free: 6.727 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.697e-05/0.1693, allocations: 7.938 kB / 0.6284 GB, free: 6.719 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 4.419e-05/0.1694, allocations: 15.98 kB / 0.6284 GB, free: 6.703 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.1694, allocations: 53.55 kB / 0.6285 GB, free: 6.645 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 7.169e-05/0.1695, allocations: 31.89 kB / 0.6285 GB, free: 6.613 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1695, allocations: 0 / 0.6285 GB, free: 6.613 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1695, allocations: 0 / 0.6285 GB, free: 6.613 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1695, allocations: 4 kB / 0.6285 GB, free: 6.609 MB / 442.8 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.0005064/0.17, allocations: 359.7 kB / 0.6288 GB, free: 6.207 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.1701, allocations: 12.03 kB / 0.6289 GB, free: 6.195 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.1701, allocations: 0.9375 kB / 0.6289 GB, free: 6.195 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.1703, allocations: 176.3 kB / 0.629 GB, free: 5.984 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1703, allocations: 4.375 kB / 0.629 GB, free: 5.98 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.1703, allocations: 16.27 kB / 0.629 GB, free: 5.965 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.1705, allocations: 70.22 kB / 0.6291 GB, free: 5.891 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1705, allocations: 4.188 kB / 0.6291 GB, free: 5.887 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1705, allocations: 3.938 kB / 0.6291 GB, free: 5.883 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.1705, allocations: 4 kB / 0.6291 GB, free: 5.879 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.211e-05/0.1706, allocations: 31.91 kB / 0.6291 GB, free: 5.848 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.1708, allocations: 185.6 kB / 0.6293 GB, free: 5.617 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.1709, allocations: 70.55 kB / 0.6294 GB, free: 5.539 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.866e-05/0.171, allocations: 36.83 kB / 0.6294 GB, free: 5.5 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.171, allocations: 4 kB / 0.6294 GB, free: 5.496 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.171, allocations: 30.56 kB / 0.6295 GB, free: 5.457 MB / 442.8 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.171, allocations: 0 / 0.6295 GB, free: 5.457 MB / 442.8 MB Notification: Performance of matching and sorting (n=8): time 0.0002137/0.1712, allocations: 121.4 kB / 0.6296 GB, free: 5.332 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.1713, allocations: 55.41 kB / 0.6296 GB, free: 5.266 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.594e-05/0.1713, allocations: 97.84 kB / 0.6297 GB, free: 5.16 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1714, allocations: 29.7 kB / 0.6298 GB, free: 5.125 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.825e-05/0.1714, allocations: 88.14 kB / 0.6298 GB, free: 5.035 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.1714, allocations: 39.77 kB / 0.6299 GB, free: 4.996 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-06/0.1715, allocations: 0 / 0.6299 GB, free: 4.996 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 9.266e-05/0.1716, allocations: 318.8 kB / 0.6302 GB, free: 4.676 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-05/0.1716, allocations: 39.91 kB / 0.6302 GB, free: 4.637 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.27e-05/0.1717, allocations: 68.27 kB / 0.6303 GB, free: 4.555 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.1718, allocations: 120.2 kB / 0.6304 GB, free: 4.422 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1718, allocations: 0 / 0.6304 GB, free: 4.422 MB / 442.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001851/0.172, allocations: 149.7 kB / 0.6305 GB, free: 4.27 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1721, allocations: 7.938 kB / 0.6305 GB, free: 4.262 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1721, allocations: 8.125 kB / 0.6306 GB, free: 4.254 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1721, allocations: 0 / 0.6306 GB, free: 4.254 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.1722, allocations: 39.92 kB / 0.6306 GB, free: 4.215 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.1723, allocations: 4 kB / 0.6306 GB, free: 4.211 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.779e-05/0.1723, allocations: 3.906 kB / 0.6306 GB, free: 4.207 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1723, allocations: 7.984 kB / 0.6306 GB, free: 4.199 MB / 442.8 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.423e-05/0.1724, allocations: 125.7 kB / 0.6307 GB, free: 4.066 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.1724, allocations: 7.875 kB / 0.6307 GB, free: 4.059 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.1725, allocations: 11.97 kB / 0.6307 GB, free: 4.043 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1725, allocations: 8 kB / 0.6308 GB, free: 4.035 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1725, allocations: 0 / 0.6308 GB, free: 4.035 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1725, allocations: 0 / 0.6308 GB, free: 4.035 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.1726, allocations: 185.5 kB / 0.6309 GB, free: 3.805 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1726, allocations: 0 / 0.6309 GB, free: 3.805 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.1728, allocations: 31.92 kB / 0.631 GB, free: 3.773 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1728, allocations: 3.938 kB / 0.631 GB, free: 3.77 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.1728, allocations: 8 kB / 0.631 GB, free: 3.762 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1729, allocations: 0 / 0.631 GB, free: 3.762 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1729, allocations: 0 / 0.631 GB, free: 3.762 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.1731, allocations: 149 kB / 0.6311 GB, free: 3.598 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.1731, allocations: 88.98 kB / 0.6312 GB, free: 3.492 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.1731, allocations: 0 / 0.6312 GB, free: 3.492 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.206e-05/0.1732, allocations: 8 kB / 0.6312 GB, free: 3.484 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.186e-05/0.1732, allocations: 3.984 kB / 0.6312 GB, free: 3.48 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.1732, allocations: 4 kB / 0.6312 GB, free: 3.477 MB / 442.8 MB Notification: Performance of sorting global known variables: time 3.016e-05/0.1732, allocations: 75.28 kB / 0.6313 GB, free: 3.402 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.483e-06/0.1733, allocations: 0 / 0.6313 GB, free: 3.402 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001727/0.1734, allocations: 27.94 kB / 0.6313 GB, free: 3.375 MB / 442.8 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.434e-05/0.1735, allocations: 103.2 kB / 0.6314 GB, free: 3.266 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.1737, allocations: 83.89 kB / 0.6315 GB, free: 3.184 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1737, allocations: 0 / 0.6315 GB, free: 3.184 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 4.668e-05/0.1738, allocations: 36 kB / 0.6315 GB, free: 3.148 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.1739, allocations: 15.88 kB / 0.6315 GB, free: 3.133 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008517/0.1748, allocations: 0.7444 MB / 0.6323 GB, free: 2.363 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.175, allocations: 0.6965 MB / 0.6329 GB, free: 1.641 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 6.855e-05/0.1751, allocations: 28.64 kB / 0.633 GB, free: 1.605 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.1751, allocations: 11.44 kB / 0.633 GB, free: 1.598 MB / 442.8 MB Notification: Performance of SimCode: time 3.31e-07/0.1751, allocations: 0 / 0.633 GB, free: 1.598 MB / 442.8 MB Notification: Performance of Templates: time 0.002306/0.1774, allocations: 0.6355 MB / 0.6336 GB, free: 0.9648 MB / 442.8 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile (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) 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