Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.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.HarmonicOscillatorNetwork_N_40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.40..|der.v.4..|der.v.5..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.40..|der.xm.4..|der.xm.5..|time|time|v.1.|v.2.|v.3.|v.40.|v.4.|v.5.|xm.1.|xm.2.|xm.3.|xm.40.|xm.4.|xm.5.|xs.1.|xs.2.|xs.3.|xs.40.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.40..|der.v.4..|der.v.5..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.40..|der.xm.4..|der.xm.5..|time|time|v.1.|v.2.|v.3.|v.40.|v.4.|v.5.|xm.1.|xm.2.|xm.3.|xm.40.|xm.4.|xm.5.|xs.1.|xs.2.|xs.3.|xs.40.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 111.8 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.001478/0.001478, allocations: 187.2 kB / 18.68 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.396/1.396, 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.011/1.011, allocations: 119.3 MB / 411.9 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.09 kB / 0.5716 GB, free: 39.73 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1754, allocations: 80.71 MB / 0.6505 GB, free: 12.99 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.002247/0.1777, allocations: 1.219 MB / 0.6516 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001997/0.1779, allocations: 39.88 kB / 0.6517 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.766e-05/0.178, allocations: 0 / 0.6517 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.173e-05/0.1781, allocations: 4 kB / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/0.1781, allocations: 15.91 kB / 0.6517 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.1783, allocations: 19.97 kB / 0.6517 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0007152/0.179, allocations: 0.8544 MB / 0.6526 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.693e-05/0.1791, allocations: 7.984 kB / 0.6526 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.1793, allocations: 295.8 kB / 0.6528 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003904/0.1797, allocations: 273.5 kB / 0.6531 GB, free: 10.26 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.1799, allocations: 44 kB / 0.6532 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.18, allocations: 44 kB / 0.6532 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002347/0.1802, allocations: 257.8 kB / 0.6534 GB, free: 9.922 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002865/0.1805, allocations: 282.9 kB / 0.6537 GB, free: 9.645 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003682/0.1809, allocations: 458.4 kB / 0.6541 GB, free: 9.195 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1809, allocations: 0 / 0.6541 GB, free: 9.195 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.266e-06/0.1809, allocations: 0 / 0.6541 GB, free: 9.195 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.1809, allocations: 3.938 kB / 0.6541 GB, free: 9.191 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002715/0.1836, allocations: 1.23 MB / 0.6554 GB, free: 7.906 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.1837, allocations: 11.89 kB / 0.6554 GB, free: 7.895 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.1838, allocations: 52.47 kB / 0.6554 GB, free: 7.844 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005301/0.1843, allocations: 311.8 kB / 0.6557 GB, free: 7.5 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.383e-05/0.1844, allocations: 57.36 kB / 0.6558 GB, free: 7.445 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.1846, allocations: 112.1 kB / 0.6559 GB, free: 7.336 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00096/0.1855, allocations: 0.6197 MB / 0.6565 GB, free: 6.711 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.625e-05/0.1856, allocations: 27.98 kB / 0.6565 GB, free: 6.684 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-05/0.1857, allocations: 19.94 kB / 0.6565 GB, free: 6.664 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.1857, allocations: 8 kB / 0.6565 GB, free: 6.656 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006858/0.1864, allocations: 435.6 kB / 0.6569 GB, free: 6.23 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.1874, allocations: 0.7825 MB / 0.6577 GB, free: 5.398 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.1888, allocations: 0.9424 MB / 0.6586 GB, free: 4.441 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006526/0.1895, allocations: 475.6 kB / 0.6591 GB, free: 3.977 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 6.374e-05/0.1895, allocations: 16.94 kB / 0.6591 GB, free: 3.961 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1896, allocations: 43.56 kB / 0.6591 GB, free: 3.91 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=120): time 2.625e-06/0.1896, allocations: 0 / 0.6591 GB, free: 3.91 MB / 0.4983 GB Notification: Performance of matching and sorting (n=120): time 0.01056/0.2002, allocations: 2.904 MB / 0.662 GB, free: 0.9766 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.2002, allocations: 64.41 kB / 0.662 GB, free: 0.9023 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.2003, allocations: 121.8 kB / 0.6622 GB, free: 0.7734 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 7.448e-05/0.2004, allocations: 61.7 kB / 0.6622 GB, free: 0.707 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.2005, allocations: 102.6 kB / 0.6623 GB, free: 0.6016 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003574/0.2008, allocations: 496.9 kB / 0.6628 GB, free: 112 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/0.2012, allocations: 279.6 kB / 0.6631 GB, free: 15.83 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.2013, allocations: 306 kB / 0.6633 GB, free: 15.52 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000783/0.2021, allocations: 0.5035 MB / 0.6638 GB, free: 15.02 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.2032, allocations: 0.8356 MB / 0.6647 GB, free: 14.06 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/0.2051, allocations: 1.427 MB / 0.666 GB, free: 12.5 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.2051, allocations: 4 kB / 0.666 GB, free: 12.5 MB / 0.5139 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003855/0.2089, allocations: 1.996 MB / 0.668 GB, free: 10.49 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.209, allocations: 14.91 kB / 0.668 GB, free: 10.48 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.209, allocations: 8 kB / 0.668 GB, free: 10.47 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002453/0.2115, allocations: 0.5783 MB / 0.6686 GB, free: 9.891 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000956/0.2124, allocations: 323.6 kB / 0.6689 GB, free: 9.574 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00784/0.2203, allocations: 5.045 MB / 0.6738 GB, free: 4.383 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005933/0.2209, allocations: 114.9 kB / 0.6739 GB, free: 4.27 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.221, allocations: 56 kB / 0.674 GB, free: 4.215 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (161): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,39,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003818/0.2214, allocations: 246.3 kB / 0.6742 GB, free: 3.965 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.2215, allocations: 43.52 kB / 0.6743 GB, free: 3.922 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.2218, allocations: 115.9 kB / 0.6744 GB, free: 3.812 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.2218, allocations: 7.922 kB / 0.6744 GB, free: 3.805 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.2219, allocations: 4 kB / 0.6744 GB, free: 3.801 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.331e-05/0.222, allocations: 132.4 kB / 0.6745 GB, free: 3.652 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.2221, allocations: 51.95 kB / 0.6746 GB, free: 3.602 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000318/0.2224, allocations: 20 kB / 0.6746 GB, free: 3.582 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/0.2226, allocations: 112.8 kB / 0.6747 GB, free: 3.473 MB / 0.5139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005484/0.2281, allocations: 2.206 MB / 0.6768 GB, free: 1.254 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00304/0.2312, allocations: 2.071 MB / 0.6789 GB, free: 15.17 MB / 0.5295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008105/0.232, allocations: 0.5618 MB / 0.6794 GB, free: 14.61 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 5.011e-05/0.2321, allocations: 83.28 kB / 0.6795 GB, free: 14.52 MB / 0.5295 GB Notification: Performance of Backend: time 6.92e-07/0.2321, allocations: 0 / 0.6795 GB, free: 14.52 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.003397/0.2355, allocations: 1.426 MB / 0.6809 GB, free: 13.07 MB / 0.5295 GB Notification: Performance of SimCode: time 0.007125/0.2426, allocations: 6.007 MB / 0.6867 GB, free: 7.012 MB / 0.5295 GB Notification: Performance of Templates: time 0.02174/0.2644, allocations: 12.38 MB / 0.6988 GB, free: 10.66 MB / 0.5452 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches