Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.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.ScaledExperiments.HarmonicOscillator_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|x.10.|x.1.|x.2.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|x.10.|x.1.|x.2.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 111 kB / 17.75 MB, free: 5.355 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.001555/0.001555, allocations: 186.1 kB / 18.67 MB, free: 4.434 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.449/1.449, 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.002/1.002, allocations: 119.3 MB / 411.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 62.16 kB / 0.5716 GB, free: 39.74 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.164, allocations: 80.7 MB / 0.6505 GB, free: 12.99 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100): time 0.002682/0.1667, allocations: 1.207 MB / 0.6516 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003032/0.1671, allocations: 35.94 kB / 0.6517 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.1671, allocations: 0 / 0.6517 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.1672, allocations: 3.938 kB / 0.6517 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 7.234e-05/0.1673, allocations: 7.984 kB / 0.6517 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.1675, allocations: 15.92 kB / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.00139/0.1689, allocations: 1.455 MB / 0.6531 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 8.549e-05/0.169, allocations: 11.98 kB / 0.6531 GB, free: 10.24 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008596/0.1699, allocations: 0.4917 MB / 0.6536 GB, free: 9.75 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.1712, allocations: 0.6046 MB / 0.6542 GB, free: 9.145 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0004268/0.1717, allocations: 72 kB / 0.6543 GB, free: 9.074 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003419/0.172, allocations: 76 kB / 0.6543 GB, free: 9 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0005219/0.1725, allocations: 435.1 kB / 0.6548 GB, free: 8.574 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0009913/0.1735, allocations: 486.2 kB / 0.6552 GB, free: 8.098 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0009527/0.1745, allocations: 0.8255 MB / 0.656 GB, free: 7.27 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1745, allocations: 0 / 0.656 GB, free: 7.27 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1745, allocations: 0 / 0.656 GB, free: 7.27 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 3.333e-05/0.1746, allocations: 4 kB / 0.656 GB, free: 7.266 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.00498/0.1795, allocations: 2.102 MB / 0.6581 GB, free: 5.109 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.1796, allocations: 11.89 kB / 0.6581 GB, free: 5.098 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/0.1798, allocations: 92.19 kB / 0.6582 GB, free: 5.008 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000906/0.1807, allocations: 431.4 kB / 0.6586 GB, free: 4.547 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.739e-05/0.1808, allocations: 106.4 kB / 0.6587 GB, free: 4.441 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003234/0.1812, allocations: 251.5 kB / 0.6589 GB, free: 4.195 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.1828, allocations: 1.083 MB / 0.66 GB, free: 3.109 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-05/0.1829, allocations: 51.78 kB / 0.66 GB, free: 3.059 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.745e-05/0.183, allocations: 35.94 kB / 0.6601 GB, free: 3.023 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.183, allocations: 20 kB / 0.6601 GB, free: 3.004 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.1844, allocations: 0.835 MB / 0.6609 GB, free: 2.168 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.1859, allocations: 1.091 MB / 0.662 GB, free: 1.023 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.1874, allocations: 1.061 MB / 0.663 GB, free: 15.96 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.1885, allocations: 0.7211 MB / 0.6637 GB, free: 15.24 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.832e-05/0.1886, allocations: 26 kB / 0.6637 GB, free: 15.21 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.1886, allocations: 52.56 kB / 0.6638 GB, free: 15.15 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=200): time 3.958e-06/0.1886, allocations: 0 / 0.6638 GB, free: 15.15 MB / 0.5139 GB Notification: Performance of matching and sorting (n=200): time 0.003482/0.1921, allocations: 2.233 MB / 0.666 GB, free: 12.91 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1922, allocations: 73.41 kB / 0.666 GB, free: 12.82 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.1923, allocations: 161.8 kB / 0.6662 GB, free: 12.65 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001214/0.1924, allocations: 89.7 kB / 0.6663 GB, free: 12.56 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 9.171e-05/0.1925, allocations: 124.8 kB / 0.6664 GB, free: 12.43 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006373/0.1932, allocations: 0.874 MB / 0.6673 GB, free: 11.54 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006252/0.1938, allocations: 0.5618 MB / 0.6678 GB, free: 10.97 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.194, allocations: 306 kB / 0.6681 GB, free: 10.67 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/0.1954, allocations: 0.9546 MB / 0.669 GB, free: 9.711 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002028/0.1974, allocations: 1.726 MB / 0.6707 GB, free: 7.672 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003663/0.2011, allocations: 2.792 MB / 0.6734 GB, free: 4.57 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.969e-05/0.2011, allocations: 12 kB / 0.6734 GB, free: 4.559 MB / 0.5139 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.004298/0.2054, allocations: 2.976 MB / 0.6764 GB, free: 1.574 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.2055, allocations: 12 kB / 0.6764 GB, free: 1.562 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/0.2055, allocations: 24 kB / 0.6764 GB, free: 1.539 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.758e-05/0.2056, allocations: 39.94 kB / 0.6764 GB, free: 1.5 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002846/0.2084, allocations: 0.8389 MB / 0.6772 GB, free: 0.6602 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.838e-05/0.2085, allocations: 55.84 kB / 0.6773 GB, free: 0.6055 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.2096, allocations: 269.6 kB / 0.6776 GB, free: 348 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/0.2098, allocations: 124 kB / 0.6777 GB, free: 224 kB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (400): * Single equations (assignments): 400 * 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.0004996/0.2103, allocations: 356.9 kB / 0.678 GB, free: 15.86 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.2104, allocations: 67.25 kB / 0.6781 GB, free: 15.79 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004021/0.2108, allocations: 186.9 kB / 0.6783 GB, free: 15.6 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.2109, allocations: 11.97 kB / 0.6783 GB, free: 15.59 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.2109, allocations: 0 / 0.6783 GB, free: 15.59 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.211, allocations: 171.8 kB / 0.6784 GB, free: 15.4 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/0.2112, allocations: 107.9 kB / 0.6785 GB, free: 15.3 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006448/0.2119, allocations: 79.92 kB / 0.6786 GB, free: 15.22 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002206/0.2121, allocations: 133.7 kB / 0.6787 GB, free: 15.09 MB / 0.5295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01103/0.2231, allocations: 3.817 MB / 0.6825 GB, free: 11.26 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004847/0.228, allocations: 3.554 MB / 0.6859 GB, free: 7.684 MB / 0.5295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001412/0.2295, allocations: 1.014 MB / 0.6869 GB, free: 6.676 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 4.022e-05/0.2295, allocations: 75.28 kB / 0.687 GB, free: 6.602 MB / 0.5295 GB Notification: Performance of Backend: time 4.2e-07/0.2295, allocations: 0 / 0.687 GB, free: 6.602 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.002804/0.2323, allocations: 1.77 MB / 0.6887 GB, free: 4.82 MB / 0.5295 GB Notification: Performance of SimCode: time 0.01443/0.2468, allocations: 12.88 MB / 0.7013 GB, free: 7.867 MB / 0.5452 GB Notification: Performance of Templates: time 0.0345/0.2813, allocations: 20.33 MB / 0.7212 GB, free: 3.551 MB / 0.5608 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches