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.001277/0.001277, allocations: 111.1 kB / 17.75 MB, free: 5.359 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.00151/0.00151, allocations: 186.1 kB / 18.67 MB, free: 4.438 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.399/1.399, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.088/1.088, allocations: 119.3 MB / 411.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 65.48 kB / 0.5716 GB, free: 39.86 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1682, allocations: 80.7 MB / 0.6504 GB, free: 13.1 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.003799/0.172, allocations: 1.196 MB / 0.6515 GB, free: 11.89 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002734/0.1724, allocations: 39.83 kB / 0.6516 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.357e-05/0.1724, allocations: 0 / 0.6516 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.1726, allocations: 11.98 kB / 0.6516 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 7.728e-05/0.1726, allocations: 7.938 kB / 0.6516 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.1729, allocations: 19.95 kB / 0.6516 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.1732, allocations: 67.88 kB / 0.6517 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.555e-05/0.1732, allocations: 0 / 0.6517 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 7.892e-05/0.1733, allocations: 27.97 kB / 0.6517 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.1734, allocations: 23.91 kB / 0.6517 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.1735, allocations: 4 kB / 0.6517 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 3.358e-05/0.1735, allocations: 8 kB / 0.6517 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 8.754e-05/0.1736, allocations: 19.97 kB / 0.6517 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 8.811e-05/0.1737, allocations: 15.94 kB / 0.6518 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.1739, allocations: 31.89 kB / 0.6518 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1739, allocations: 3.938 kB / 0.6518 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.946e-06/0.1739, allocations: 4 kB / 0.6518 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.1739, allocations: 0 / 0.6518 GB, free: 11.61 MB / 0.4983 GB 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.001007/0.1749, allocations: 371.5 kB / 0.6522 GB, free: 11.2 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 6.881e-05/0.175, allocations: 11.89 kB / 0.6522 GB, free: 11.19 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.1751, allocations: 8.844 kB / 0.6522 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.1754, allocations: 180.3 kB / 0.6523 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1754, allocations: 4.312 kB / 0.6523 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-05/0.1754, allocations: 16.31 kB / 0.6524 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.1756, allocations: 70.2 kB / 0.6524 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.1757, allocations: 4.188 kB / 0.6524 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.1757, allocations: 3.938 kB / 0.6524 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1757, allocations: 4 kB / 0.6524 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.492e-05/0.1758, allocations: 27.97 kB / 0.6525 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.176, allocations: 189.5 kB / 0.6527 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.1762, allocations: 70.55 kB / 0.6527 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.207e-05/0.1763, allocations: 32.78 kB / 0.6527 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.1763, allocations: 4 kB / 0.6528 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.1763, allocations: 30.56 kB / 0.6528 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 2.224e-06/0.1763, allocations: 4 kB / 0.6528 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0002949/0.1766, allocations: 117.8 kB / 0.6529 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.1767, allocations: 55.41 kB / 0.653 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.806e-05/0.1767, allocations: 93.86 kB / 0.653 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.1768, allocations: 29.7 kB / 0.6531 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.081e-05/0.1768, allocations: 80.14 kB / 0.6531 GB, free: 10.03 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 5.749e-05/0.1769, allocations: 39.45 kB / 0.6532 GB, free: 9.992 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.011e-05/0.177, allocations: 33.7 kB / 0.6532 GB, free: 9.953 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1771, allocations: 326.8 kB / 0.6535 GB, free: 9.625 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-05/0.1772, allocations: 35.92 kB / 0.6536 GB, free: 9.59 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.836e-05/0.1773, allocations: 79.34 kB / 0.6536 GB, free: 9.5 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.1775, allocations: 112.9 kB / 0.6537 GB, free: 9.375 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.1775, allocations: 0 / 0.6537 GB, free: 9.375 MB / 0.4983 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002332/0.1777, allocations: 153.4 kB / 0.6539 GB, free: 9.219 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1778, allocations: 7.938 kB / 0.6539 GB, free: 9.211 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1778, allocations: 4 kB / 0.6539 GB, free: 9.207 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1778, allocations: 0 / 0.6539 GB, free: 9.207 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.178, allocations: 31.98 kB / 0.6539 GB, free: 9.176 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.178, allocations: 128 / 0.6539 GB, free: 9.176 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.093e-05/0.1781, allocations: 19.92 kB / 0.654 GB, free: 9.156 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.1781, allocations: 4 kB / 0.654 GB, free: 9.152 MB / 0.4983 GB 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 0.0001175/0.1782, allocations: 126.6 kB / 0.6541 GB, free: 9.02 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.1783, allocations: 7.844 kB / 0.6541 GB, free: 9.012 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.021e-05/0.1783, allocations: 15.91 kB / 0.6541 GB, free: 8.992 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.1783, allocations: 3.984 kB / 0.6541 GB, free: 8.988 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1783, allocations: 4 kB / 0.6541 GB, free: 8.984 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.1784, allocations: 77.11 kB / 0.6542 GB, free: 8.891 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.1784, allocations: 12 kB / 0.6542 GB, free: 8.879 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.347e-05/0.1785, allocations: 0 / 0.6542 GB, free: 8.879 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.1785, allocations: 7.984 kB / 0.6542 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005325/0.179, allocations: 248.6 kB / 0.6544 GB, free: 8.621 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003515/0.1794, allocations: 338.5 kB / 0.6548 GB, free: 8.273 MB / 0.4983 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.796e-05/0.1795, allocations: 39.95 kB / 0.6548 GB, free: 8.234 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.918e-05/0.1795, allocations: 79.28 kB / 0.6549 GB, free: 8.156 MB / 0.4983 GB Notification: Performance of Backend: time 6.51e-07/0.1795, allocations: 0 / 0.6549 GB, free: 8.156 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0004227/0.18, allocations: 152.5 kB / 0.655 GB, free: 8.008 MB / 0.4983 GB Notification: Performance of SimCode: time 0.00118/0.1811, allocations: 1.06 MB / 0.6561 GB, free: 6.902 MB / 0.4983 GB Notification: Performance of Templates: time 0.003462/0.1846, allocations: 0.9848 MB / 0.657 GB, free: 5.949 MB / 0.4983 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches