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.001721/0.001721, allocations: 102.4 kB / 16.5 MB, free: 6.645 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.001643/0.001643, allocations: 198.5 kB / 17.43 MB, free: 6.062 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.444/1.444, allocations: 222.9 MB / 241.1 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.1/1.1, allocations: 119.3 MB / 410.6 MB, free: 9.777 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001488, allocations: 59.91 kB / 0.4903 GB, free: 14.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.635/0.6365, allocations: 80.68 MB / 0.5691 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.002315/0.6389, allocations: 1.293 MB / 0.5703 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001828/0.6391, allocations: 43.38 kB / 0.5704 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.6391, allocations: 0 / 0.5704 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.593e-05/0.6392, allocations: 1.062 kB / 0.5704 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.128e-05/0.6393, allocations: 24.69 kB / 0.5704 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.6394, allocations: 12.42 kB / 0.5704 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007005/0.6401, allocations: 0.8468 MB / 0.5712 GB, free: 41.44 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.471e-05/0.6402, allocations: 5.5 kB / 0.5712 GB, free: 41.44 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.6405, allocations: 291 kB / 0.5715 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003518/0.6408, allocations: 297.5 kB / 0.5718 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.6409, allocations: 45.47 kB / 0.5718 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.6411, allocations: 44.84 kB / 0.5719 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001958/0.6413, allocations: 254 kB / 0.5721 GB, free: 40.97 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002587/0.6415, allocations: 283.2 kB / 0.5724 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.6419, allocations: 446.9 kB / 0.5728 GB, free: 40.55 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.6419, allocations: 1.438 kB / 0.5728 GB, free: 40.55 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.082e-06/0.6419, allocations: 4 kB / 0.5728 GB, free: 40.54 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.6419, allocations: 0 / 0.5728 GB, free: 40.54 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.002711/0.6446, allocations: 1.226 MB / 0.574 GB, free: 39.73 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.6447, allocations: 8.25 kB / 0.574 GB, free: 39.73 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.6448, allocations: 53.91 kB / 0.5741 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.6452, allocations: 308.5 kB / 0.5744 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.172e-05/0.6453, allocations: 58.5 kB / 0.5744 GB, free: 39.42 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.6454, allocations: 115.5 kB / 0.5745 GB, free: 39.37 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009904/0.6464, allocations: 0.621 MB / 0.5751 GB, free: 39.02 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.987e-05/0.6465, allocations: 21.39 kB / 0.5752 GB, free: 39.01 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.089e-05/0.6466, allocations: 24.28 kB / 0.5752 GB, free: 38.99 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.6466, allocations: 11.19 kB / 0.5752 GB, free: 38.99 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006704/0.6473, allocations: 433.8 kB / 0.5756 GB, free: 38.8 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.6484, allocations: 0.7903 MB / 0.5764 GB, free: 38.26 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.6498, allocations: 0.9339 MB / 0.5773 GB, free: 37.82 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007065/0.6505, allocations: 476 kB / 0.5777 GB, free: 37.61 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.779e-05/0.6506, allocations: 20 kB / 0.5778 GB, free: 37.59 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.6506, allocations: 44.19 kB / 0.5778 GB, free: 37.55 MB / 462.3 MB Notification: Performance of pre-optimization done (n=120): time 3.998e-06/0.6507, allocations: 0 / 0.5778 GB, free: 37.55 MB / 462.3 MB Notification: Performance of matching and sorting (n=120): time 0.01133/0.662, allocations: 2.906 MB / 0.5806 GB, free: 36.05 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.6621, allocations: 67.69 kB / 0.5807 GB, free: 35.98 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.6622, allocations: 125.4 kB / 0.5808 GB, free: 35.86 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001483/0.6623, allocations: 59.98 kB / 0.5809 GB, free: 35.8 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.6624, allocations: 99.88 kB / 0.581 GB, free: 35.7 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/0.6626, allocations: 494.5 kB / 0.5815 GB, free: 35.27 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003062/0.663, allocations: 278.9 kB / 0.5817 GB, free: 35.12 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.708e-05/0.663, allocations: 311.2 kB / 0.582 GB, free: 34.81 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007671/0.6638, allocations: 0.5017 MB / 0.5825 GB, free: 34.59 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008936/0.6647, allocations: 0.8296 MB / 0.5833 GB, free: 33.98 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/0.6665, allocations: 1.429 MB / 0.5847 GB, free: 33.1 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.6665, allocations: 6.281 kB / 0.5847 GB, free: 33.09 MB / 462.3 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003641/0.6701, allocations: 1.995 MB / 0.5867 GB, free: 31.39 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.6702, allocations: 12 kB / 0.5867 GB, free: 31.38 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/0.6702, allocations: 8 kB / 0.5867 GB, free: 31.37 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002474/0.6727, allocations: 0.5704 MB / 0.5872 GB, free: 30.8 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.6738, allocations: 331.6 kB / 0.5876 GB, free: 30.47 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006454/0.6802, allocations: 4.658 MB / 0.5921 GB, free: 25.67 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007011/0.681, allocations: 118.7 kB / 0.5922 GB, free: 25.55 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.832e-05/0.6811, allocations: 60 kB / 0.5923 GB, free: 25.5 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.000316/0.6814, allocations: 229.5 kB / 0.5925 GB, free: 25.26 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.281e-05/0.6815, allocations: 35.53 kB / 0.5925 GB, free: 25.23 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.6817, allocations: 119.9 kB / 0.5926 GB, free: 25.11 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.6817, allocations: 20 kB / 0.5927 GB, free: 25.09 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.551e-05/0.6817, allocations: 8 kB / 0.5927 GB, free: 25.08 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.6817, allocations: 11.91 kB / 0.5927 GB, free: 25.07 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008145/0.6826, allocations: 0.7512 MB / 0.5934 GB, free: 24.27 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.6826, allocations: 8 kB / 0.5934 GB, free: 24.26 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/0.6839, allocations: 259.8 kB / 0.5937 GB, free: 24.01 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002401/0.6863, allocations: 0.5665 MB / 0.5942 GB, free: 23.44 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/0.6865, allocations: 63.88 kB / 0.5943 GB, free: 23.38 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006295/0.6928, allocations: 4.64 MB / 0.5988 GB, free: 18.6 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6928, allocations: 0 / 0.5988 GB, free: 18.6 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003917/0.6968, allocations: 2.326 MB / 0.6011 GB, free: 16.26 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.6969, allocations: 132.3 kB / 0.6012 GB, free: 16.11 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.6971, allocations: 51.95 kB / 0.6013 GB, free: 16.06 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00034/0.6974, allocations: 24 kB / 0.6013 GB, free: 16.04 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002344/0.6977, allocations: 84.86 kB / 0.6014 GB, free: 15.95 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.32e-05/0.6977, allocations: 35.98 kB / 0.6014 GB, free: 15.91 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.442e-05/0.6978, allocations: 83.22 kB / 0.6015 GB, free: 15.83 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.6978, allocations: 0 / 0.6015 GB, free: 15.83 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0008247/0.6986, allocations: 284 kB / 0.6018 GB, free: 15.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.0002002/0.6988, allocations: 169.3 kB / 0.6019 GB, free: 15.38 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.003078/0.7019, allocations: 1.681 MB / 0.6036 GB, free: 13.68 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.7019, allocations: 0.75 kB / 0.6036 GB, free: 13.68 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001985/0.7039, allocations: 1.017 MB / 0.6045 GB, free: 12.65 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.7043, allocations: 40 kB / 0.6046 GB, free: 12.61 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006634/0.711, allocations: 6.005 MB / 0.6104 GB, free: 6.578 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.7114, allocations: 0.9441 MB / 0.6114 GB, free: 5.609 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006133/0.712, allocations: 301.4 kB / 0.6117 GB, free: 5.312 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.7121, allocations: 43.44 kB / 0.6117 GB, free: 5.27 MB / 462.3 MB Notification: Performance of SimCode: time 9.32e-07/0.7121, allocations: 0 / 0.6117 GB, free: 5.27 MB / 462.3 MB Notification: Performance of Templates: time 0.01786/0.73, allocations: 10.18 MB / 0.6216 GB, free: 11.11 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)