Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001909/0.001909, allocations: 112.3 kB / 17.74 MB, free: 5.293 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.001672/0.001672, allocations: 187 kB / 18.67 MB, free: 4.375 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.387/1.387, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.063/1.063, allocations: 119.3 MB / 411.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 66.72 kB / 0.5716 GB, free: 39.74 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1612, allocations: 80.7 MB / 0.6504 GB, free: 13 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.002208/0.1635, allocations: 1.219 MB / 0.6516 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002073/0.1637, allocations: 47.86 kB / 0.6517 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.726e-05/0.1637, allocations: 0 / 0.6517 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.938e-05/0.1638, allocations: 7.922 kB / 0.6517 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.733e-05/0.1639, allocations: 19.92 kB / 0.6517 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.1641, allocations: 23.89 kB / 0.6517 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0007193/0.1648, allocations: 0.8427 MB / 0.6525 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.034e-05/0.1649, allocations: 8 kB / 0.6526 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.1651, allocations: 295.8 kB / 0.6528 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003954/0.1655, allocations: 273.5 kB / 0.6531 GB, free: 10.27 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.1657, allocations: 52 kB / 0.6531 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1658, allocations: 44 kB / 0.6532 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.166, allocations: 257.8 kB / 0.6534 GB, free: 9.922 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002499/0.1662, allocations: 274.9 kB / 0.6537 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.1666, allocations: 450.5 kB / 0.6541 GB, free: 9.211 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1666, allocations: 0 / 0.6541 GB, free: 9.211 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.026e-06/0.1666, allocations: 4 kB / 0.6541 GB, free: 9.207 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.1666, allocations: 3.938 kB / 0.6541 GB, free: 9.203 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.002706/0.1693, allocations: 1.234 MB / 0.6553 GB, free: 7.914 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1694, allocations: 11.89 kB / 0.6553 GB, free: 7.902 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.1695, allocations: 48.47 kB / 0.6554 GB, free: 7.855 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.1699, allocations: 311.8 kB / 0.6557 GB, free: 7.512 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/0.1699, allocations: 57.38 kB / 0.6557 GB, free: 7.457 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.1701, allocations: 116.1 kB / 0.6559 GB, free: 7.344 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009198/0.171, allocations: 0.6196 MB / 0.6565 GB, free: 6.719 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.125e-05/0.1711, allocations: 23.98 kB / 0.6565 GB, free: 6.695 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.253e-05/0.1711, allocations: 23.94 kB / 0.6565 GB, free: 6.672 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.1712, allocations: 12 kB / 0.6565 GB, free: 6.66 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006344/0.1718, allocations: 439.6 kB / 0.6569 GB, free: 6.23 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009764/0.1728, allocations: 0.7825 MB / 0.6577 GB, free: 5.398 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.1741, allocations: 0.9307 MB / 0.6586 GB, free: 4.453 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006218/0.1747, allocations: 475.6 kB / 0.6591 GB, free: 3.988 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 6.029e-05/0.1748, allocations: 16.94 kB / 0.6591 GB, free: 3.973 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.1748, allocations: 47.5 kB / 0.6591 GB, free: 3.918 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=120): time 2.234e-06/0.1748, allocations: 0 / 0.6591 GB, free: 3.918 MB / 0.4983 GB Notification: Performance of matching and sorting (n=120): time 0.0104/0.1852, allocations: 2.904 MB / 0.662 GB, free: 0.9844 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.1853, allocations: 68.34 kB / 0.662 GB, free: 0.9062 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.1854, allocations: 125.8 kB / 0.6621 GB, free: 0.7734 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-05/0.1855, allocations: 61.7 kB / 0.6622 GB, free: 0.707 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.1856, allocations: 98.66 kB / 0.6623 GB, free: 0.6055 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003436/0.1859, allocations: 492.9 kB / 0.6628 GB, free: 120 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003195/0.1863, allocations: 275.6 kB / 0.663 GB, free: 15.84 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1864, allocations: 314 kB / 0.6633 GB, free: 15.53 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007083/0.1871, allocations: 0.4996 MB / 0.6638 GB, free: 15.03 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009313/0.188, allocations: 0.8317 MB / 0.6646 GB, free: 14.07 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/0.1898, allocations: 1.431 MB / 0.666 GB, free: 12.51 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.1898, allocations: 7.938 kB / 0.666 GB, free: 12.5 MB / 0.5139 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003625/0.1935, allocations: 1.992 MB / 0.668 GB, free: 10.5 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.1935, allocations: 12 kB / 0.668 GB, free: 10.49 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.1935, allocations: 8.031 kB / 0.668 GB, free: 10.48 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002314/0.1958, allocations: 0.5782 MB / 0.6686 GB, free: 9.898 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009781/0.1968, allocations: 327.6 kB / 0.6689 GB, free: 9.578 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007671/0.2045, allocations: 5.041 MB / 0.6738 GB, free: 4.391 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007206/0.2053, allocations: 118.8 kB / 0.6739 GB, free: 4.273 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.108e-05/0.2054, allocations: 60 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.000369/0.2057, allocations: 246.2 kB / 0.6742 GB, free: 3.965 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.684e-05/0.2058, allocations: 35.53 kB / 0.6742 GB, free: 3.93 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.2062, allocations: 123.9 kB / 0.6744 GB, free: 3.812 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.2062, allocations: 12 kB / 0.6744 GB, free: 3.801 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.755e-05/0.2063, allocations: 8 kB / 0.6744 GB, free: 3.793 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.2063, allocations: 7.969 kB / 0.6744 GB, free: 3.785 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009211/0.2072, allocations: 0.7513 MB / 0.6751 GB, free: 2.984 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.2072, allocations: 4 kB / 0.6751 GB, free: 2.98 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/0.2086, allocations: 259.8 kB / 0.6754 GB, free: 2.727 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002219/0.2108, allocations: 0.5665 MB / 0.6759 GB, free: 2.156 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/0.2109, allocations: 59.88 kB / 0.676 GB, free: 2.098 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007455/0.2184, allocations: 5.011 MB / 0.6809 GB, free: 12.94 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2184, allocations: 0 / 0.6809 GB, free: 12.94 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003985/0.2224, allocations: 2.33 MB / 0.6832 GB, free: 10.59 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 9.757e-05/0.2225, allocations: 132.3 kB / 0.6833 GB, free: 10.44 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.2227, allocations: 51.95 kB / 0.6833 GB, free: 10.39 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/0.223, allocations: 24 kB / 0.6833 GB, free: 10.37 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.2232, allocations: 84.86 kB / 0.6834 GB, free: 10.29 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-05/0.2233, allocations: 35.98 kB / 0.6835 GB, free: 10.25 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 4.655e-05/0.2233, allocations: 75.28 kB / 0.6835 GB, free: 10.18 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1e-07/0.2233, allocations: 0 / 0.6835 GB, free: 10.18 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0007989/0.2241, allocations: 288 kB / 0.6838 GB, free: 9.895 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 80 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],xm[11],xm[12],xm[13],xm[14],xm[15],xm[16],xm[17],xm[18],xm[19],xm[20],xm[21],xm[22],xm[23],xm[24],xm[25],xm[26],xm[27],xm[28],xm[29],xm[30],xm[31],xm[32],xm[33],xm[34],xm[35],xm[36],xm[37],xm[38],xm[39],xm[40],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15],v[16],v[17],v[18],v[19],v[20],v[21],v[22],v[23],v[24],v[25],v[26],v[27],v[28],v[29],v[30],v[31],v[32],v[33],v[34],v[35],v[36],v[37],v[38],v[39],v[40]) * 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 (81): * Single equations (assignments): 80 * 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 Backend phase and start with SimCode phase: time 0.0002302/0.2244, allocations: 173.3 kB / 0.684 GB, free: 9.715 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.003256/0.2276, allocations: 1.685 MB / 0.6856 GB, free: 8.016 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.2276, allocations: 0 / 0.6856 GB, free: 8.016 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.002036/0.2297, allocations: 1.029 MB / 0.6866 GB, free: 6.977 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.23, allocations: 47.17 kB / 0.6867 GB, free: 6.938 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006897/0.2369, allocations: 5.882 MB / 0.6924 GB, free: 1.02 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.2375, allocations: 0.9325 MB / 0.6933 GB, free: 60 kB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.2377, allocations: 51.38 kB / 0.6934 GB, free: 8 kB / 0.5295 GB Notification: Performance of SimCode: time 1.443e-06/0.2377, allocations: 0 / 0.6934 GB, free: 8 kB / 0.5295 GB Notification: Performance of Templates: time 0.01544/0.2532, allocations: 8.998 MB / 0.7022 GB, free: 7.035 MB / 0.5452 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe 2>&1)