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.001315/0.001315, allocations: 108.7 kB / 16.92 MB, free: 6.145 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.00132/0.001321, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.377/1.377, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.015/1.015, allocations: 119.3 MB / 411 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 63.91 kB / 0.491 GB, free: 13.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5499/0.5514, allocations: 80.68 MB / 0.5697 GB, free: 43.34 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.002121/0.5536, allocations: 1.223 MB / 0.5709 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001924/0.5538, allocations: 47.3 kB / 0.571 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.286e-05/0.5538, allocations: 0 / 0.571 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.784e-05/0.5539, allocations: 0 / 0.571 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.602e-05/0.554, allocations: 15.02 kB / 0.571 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.5542, allocations: 19.52 kB / 0.571 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006163/0.5548, allocations: 0.8425 MB / 0.5718 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.278e-05/0.5549, allocations: 9.219 kB / 0.5719 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.5551, allocations: 295.6 kB / 0.5721 GB, free: 41.74 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003421/0.5554, allocations: 276.3 kB / 0.5724 GB, free: 41.56 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.5556, allocations: 44.81 kB / 0.5724 GB, free: 41.56 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.5557, allocations: 46.25 kB / 0.5725 GB, free: 41.56 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.5559, allocations: 258.4 kB / 0.5727 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002651/0.5561, allocations: 274.2 kB / 0.573 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.5565, allocations: 458.9 kB / 0.5734 GB, free: 40.96 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5565, allocations: 1.312 kB / 0.5734 GB, free: 40.96 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5565, allocations: 4 kB / 0.5734 GB, free: 40.96 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.5565, allocations: 0 / 0.5734 GB, free: 40.96 MB / 462.3 MB 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.00265/0.5592, allocations: 1.226 MB / 0.5746 GB, free: 40.15 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5592, allocations: 13.17 kB / 0.5746 GB, free: 40.14 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.5594, allocations: 49.28 kB / 0.5747 GB, free: 40.12 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.5597, allocations: 309.2 kB / 0.575 GB, free: 39.87 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.147e-05/0.5598, allocations: 59.41 kB / 0.575 GB, free: 39.84 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.5599, allocations: 113.7 kB / 0.5752 GB, free: 39.79 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008534/0.5608, allocations: 0.6249 MB / 0.5758 GB, free: 39.43 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.629e-05/0.5608, allocations: 21.7 kB / 0.5758 GB, free: 39.42 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.933e-05/0.5609, allocations: 24.06 kB / 0.5758 GB, free: 39.4 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.5609, allocations: 11 kB / 0.5758 GB, free: 39.4 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006483/0.5616, allocations: 437.2 kB / 0.5762 GB, free: 39.22 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009774/0.5626, allocations: 0.788 MB / 0.577 GB, free: 38.68 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.564, allocations: 0.9299 MB / 0.5779 GB, free: 38.23 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006363/0.5647, allocations: 472.5 kB / 0.5784 GB, free: 38.02 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.454e-05/0.5648, allocations: 24.22 kB / 0.5784 GB, free: 38.01 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.5648, allocations: 48.61 kB / 0.5784 GB, free: 37.96 MB / 462.3 MB Notification: Performance of pre-optimization done (n=120): time 2.234e-06/0.5648, allocations: 0 / 0.5784 GB, free: 37.96 MB / 462.3 MB Notification: Performance of matching and sorting (n=120): time 0.01057/0.5754, allocations: 2.91 MB / 0.5813 GB, free: 36.46 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.5755, allocations: 67.62 kB / 0.5813 GB, free: 36.39 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.5756, allocations: 125.2 kB / 0.5815 GB, free: 36.27 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-05/0.5757, allocations: 56.36 kB / 0.5815 GB, free: 36.22 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.5757, allocations: 99.91 kB / 0.5816 GB, free: 36.12 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000277/0.576, allocations: 494.5 kB / 0.5821 GB, free: 35.69 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003026/0.5763, allocations: 282.9 kB / 0.5823 GB, free: 35.54 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.897e-05/0.5764, allocations: 311 kB / 0.5826 GB, free: 35.23 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007292/0.5771, allocations: 0.4983 MB / 0.5831 GB, free: 35.02 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009139/0.578, allocations: 0.8322 MB / 0.5839 GB, free: 34.4 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/0.5796, allocations: 1.426 MB / 0.5853 GB, free: 33.19 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.5796, allocations: 7.938 kB / 0.5853 GB, free: 33.18 MB / 462.3 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003275/0.5829, allocations: 1.996 MB / 0.5873 GB, free: 31.18 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.5829, allocations: 8 kB / 0.5873 GB, free: 31.17 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.583, allocations: 11.98 kB / 0.5873 GB, free: 31.16 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0022/0.5852, allocations: 0.5705 MB / 0.5879 GB, free: 30.58 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009615/0.5862, allocations: 327.6 kB / 0.5882 GB, free: 30.26 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006483/0.5926, allocations: 5.049 MB / 0.5931 GB, free: 25.06 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006488/0.5933, allocations: 110.8 kB / 0.5932 GB, free: 24.95 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.007e-05/0.5934, allocations: 60 kB / 0.5933 GB, free: 24.89 MB / 462.3 MB 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.0002903/0.5937, allocations: 233.4 kB / 0.5935 GB, free: 24.66 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.464e-05/0.5938, allocations: 43.59 kB / 0.5935 GB, free: 24.61 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.594, allocations: 123.9 kB / 0.5937 GB, free: 24.49 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.594, allocations: 8 kB / 0.5937 GB, free: 24.48 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-05/0.5941, allocations: 11.98 kB / 0.5937 GB, free: 24.47 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.5941, allocations: 3.984 kB / 0.5937 GB, free: 24.47 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007415/0.5948, allocations: 0.7551 MB / 0.5944 GB, free: 23.66 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5949, allocations: 0 / 0.5944 GB, free: 23.66 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.5961, allocations: 263.9 kB / 0.5947 GB, free: 23.41 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002104/0.5983, allocations: 0.5626 MB / 0.5952 GB, free: 22.84 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.565e-05/0.5984, allocations: 63.88 kB / 0.5953 GB, free: 22.78 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006173/0.6045, allocations: 5.022 MB / 0.6002 GB, free: 17.61 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.6046, allocations: 0 / 0.6002 GB, free: 17.61 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003509/0.6081, allocations: 2.326 MB / 0.6025 GB, free: 15.27 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 9.243e-05/0.6082, allocations: 136.3 kB / 0.6026 GB, free: 15.11 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.6083, allocations: 51.95 kB / 0.6026 GB, free: 15.06 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.6087, allocations: 28 kB / 0.6027 GB, free: 15.04 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.6089, allocations: 88.86 kB / 0.6027 GB, free: 14.95 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.479e-05/0.6089, allocations: 27.98 kB / 0.6028 GB, free: 14.92 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.922e-05/0.609, allocations: 83.28 kB / 0.6029 GB, free: 14.84 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.609, allocations: 4 kB / 0.6029 GB, free: 14.83 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0007786/0.6098, allocations: 284 kB / 0.6031 GB, free: 14.55 MB / 462.3 MB 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.0001888/0.61, allocations: 169.3 kB / 0.6033 GB, free: 14.38 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.003623/0.6136, allocations: 2.309 MB / 0.6055 GB, free: 12.05 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6136, allocations: 0 / 0.6055 GB, free: 12.05 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001805/0.6154, allocations: 1.014 MB / 0.6065 GB, free: 11.03 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.6158, allocations: 44 kB / 0.6066 GB, free: 10.99 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00563/0.6214, allocations: 5.83 MB / 0.6123 GB, free: 5.125 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.6217, allocations: 0.9364 MB / 0.6132 GB, free: 4.164 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0005237/0.6223, allocations: 305.4 kB / 0.6135 GB, free: 3.863 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.6224, allocations: 47.44 kB / 0.6135 GB, free: 3.816 MB / 462.3 MB Notification: Performance of SimCode: time 1.172e-06/0.6224, allocations: 0 / 0.6135 GB, free: 3.816 MB / 462.3 MB Notification: Performance of Templates: time 0.01552/0.6379, allocations: 10.07 MB / 0.6234 GB, free: 9.77 MB / 478.3 MB 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)