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.00135/0.001351, allocations: 93.64 kB / 16.65 MB, free: 6.59 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.001754/0.001754, allocations: 182.1 kB / 17.56 MB, free: 6.203 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.366/1.366, allocations: 223.3 MB / 241.6 MB, free: 104 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9459/0.9459, allocations: 120.5 MB / 413.2 MB, free: 9.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003461, allocations: 8 kB / 0.4949 GB, free: 11.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5652/0.5656, allocations: 82.84 MB / 0.5758 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.001223/0.5668, allocations: 0.956 MB / 0.5767 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001826/0.567, allocations: 45.97 kB / 0.5768 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.5671, allocations: 0 / 0.5768 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.5672, allocations: 5.125 kB / 0.5768 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 8.766e-05/0.5673, allocations: 10.28 kB / 0.5768 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.5675, allocations: 20.75 kB / 0.5768 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007098/0.5683, allocations: 0.835 MB / 0.5776 GB, free: 40.64 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.267e-05/0.5683, allocations: 5.281 kB / 0.5776 GB, free: 40.64 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003039/0.5686, allocations: 301.9 kB / 0.5779 GB, free: 40.51 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003835/0.569, allocations: 287 kB / 0.5782 GB, free: 40.34 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.963e-05/0.5691, allocations: 45.09 kB / 0.5782 GB, free: 40.34 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.156e-05/0.5692, allocations: 48 kB / 0.5783 GB, free: 40.33 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.5695, allocations: 259.4 kB / 0.5785 GB, free: 40.16 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002705/0.5697, allocations: 309 kB / 0.5788 GB, free: 39.95 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004035/0.5701, allocations: 446.4 kB / 0.5792 GB, free: 39.7 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.5702, allocations: 0.9062 kB / 0.5792 GB, free: 39.7 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.464e-06/0.5702, allocations: 0 / 0.5792 GB, free: 39.7 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.5702, allocations: 0 / 0.5792 GB, free: 39.7 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.002673/0.5729, allocations: 1.153 MB / 0.5804 GB, free: 38.94 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.5729, allocations: 8.469 kB / 0.5804 GB, free: 38.94 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.573, allocations: 53.28 kB / 0.5804 GB, free: 38.91 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/0.5734, allocations: 309.1 kB / 0.5807 GB, free: 38.66 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.01e-05/0.5735, allocations: 54.41 kB / 0.5808 GB, free: 38.63 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.5737, allocations: 117.9 kB / 0.5809 GB, free: 38.57 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009479/0.5746, allocations: 0.6262 MB / 0.5815 GB, free: 38.22 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.952e-05/0.5747, allocations: 20.81 kB / 0.5815 GB, free: 38.21 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.118e-05/0.5747, allocations: 23.72 kB / 0.5815 GB, free: 38.19 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.5748, allocations: 11.38 kB / 0.5816 GB, free: 38.19 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006532/0.5754, allocations: 433.3 kB / 0.582 GB, free: 38.01 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.5765, allocations: 0.7877 MB / 0.5827 GB, free: 37.47 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.578, allocations: 0.9487 MB / 0.5837 GB, free: 37.01 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007004/0.5788, allocations: 476 kB / 0.5841 GB, free: 36.8 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.518e-05/0.5788, allocations: 16.09 kB / 0.5841 GB, free: 36.79 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.5789, allocations: 52.28 kB / 0.5842 GB, free: 36.73 MB / 462.3 MB Notification: Performance of pre-optimization done (n=120): time 3.567e-06/0.5789, allocations: 0 / 0.5842 GB, free: 36.73 MB / 462.3 MB Notification: Performance of matching and sorting (n=120): time 0.01041/0.5893, allocations: 2.902 MB / 0.587 GB, free: 34.57 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.5894, allocations: 68.34 kB / 0.5871 GB, free: 34.49 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.616e-05/0.5895, allocations: 121.8 kB / 0.5872 GB, free: 34.36 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.5896, allocations: 57.7 kB / 0.5872 GB, free: 34.3 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.5896, allocations: 102.7 kB / 0.5873 GB, free: 34.2 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/0.5899, allocations: 492.9 kB / 0.5878 GB, free: 33.71 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.59, allocations: 165.6 kB / 0.588 GB, free: 33.54 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.651e-05/0.5901, allocations: 306 kB / 0.5883 GB, free: 33.23 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006192/0.5907, allocations: 0.4996 MB / 0.5888 GB, free: 32.73 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000704/0.5914, allocations: 0.8317 MB / 0.5896 GB, free: 31.78 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.5929, allocations: 1.431 MB / 0.591 GB, free: 30.22 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.5929, allocations: 0 / 0.591 GB, free: 30.22 MB / 462.3 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00331/0.5962, allocations: 2.004 MB / 0.5929 GB, free: 28.21 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.5962, allocations: 8 kB / 0.5929 GB, free: 28.2 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.5963, allocations: 12 kB / 0.5929 GB, free: 28.19 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00219/0.5985, allocations: 0.5704 MB / 0.5935 GB, free: 27.61 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009823/0.5995, allocations: 327.6 kB / 0.5938 GB, free: 27.29 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006181/0.6056, allocations: 4.693 MB / 0.5984 GB, free: 22.46 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006258/0.6063, allocations: 114.8 kB / 0.5985 GB, free: 22.34 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.801e-05/0.6064, allocations: 56 kB / 0.5986 GB, free: 22.29 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.0002737/0.6067, allocations: 245.5 kB / 0.5988 GB, free: 22.04 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.975e-05/0.6067, allocations: 39.53 kB / 0.5988 GB, free: 22 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.607, allocations: 115.9 kB / 0.5989 GB, free: 21.89 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.6071, allocations: 12 kB / 0.5989 GB, free: 21.88 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-05/0.6071, allocations: 8 kB / 0.599 GB, free: 21.87 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.6071, allocations: 7.922 kB / 0.599 GB, free: 21.86 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000711/0.6078, allocations: 0.7551 MB / 0.5997 GB, free: 21.06 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.6078, allocations: 0 / 0.5997 GB, free: 21.06 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.6091, allocations: 271.8 kB / 0.6 GB, free: 20.79 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002042/0.6112, allocations: 0.5587 MB / 0.6005 GB, free: 20.23 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.004e-05/0.6113, allocations: 59.88 kB / 0.6006 GB, free: 20.17 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005911/0.6172, allocations: 4.694 MB / 0.6051 GB, free: 15.34 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6172, allocations: 0 / 0.6051 GB, free: 15.34 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003554/0.6208, allocations: 2.333 MB / 0.6074 GB, free: 12.99 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.271e-05/0.6209, allocations: 132.3 kB / 0.6076 GB, free: 12.84 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.621, allocations: 47.95 kB / 0.6076 GB, free: 12.8 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/0.6214, allocations: 20 kB / 0.6076 GB, free: 12.78 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.6215, allocations: 88.88 kB / 0.6077 GB, free: 12.69 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.593e-05/0.6216, allocations: 35.98 kB / 0.6077 GB, free: 12.65 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.513e-05/0.6216, allocations: 83.2 kB / 0.6078 GB, free: 12.57 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.6216, allocations: 0 / 0.6078 GB, free: 12.57 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0007457/0.6224, allocations: 284 kB / 0.6081 GB, free: 12.29 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.0001926/0.6226, allocations: 171 kB / 0.6083 GB, free: 12.12 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002881/0.6255, allocations: 1.678 MB / 0.6099 GB, free: 10.42 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6255, allocations: 0 / 0.6099 GB, free: 10.42 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001829/0.6273, allocations: 1.017 MB / 0.6109 GB, free: 9.395 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.6276, allocations: 40.81 kB / 0.6109 GB, free: 9.355 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006068/0.6337, allocations: 7.066 MB / 0.6178 GB, free: 2.258 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.6341, allocations: 0.9402 MB / 0.6187 GB, free: 1.289 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0005793/0.6347, allocations: 305.3 kB / 0.619 GB, free: 0.9883 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.6348, allocations: 43.44 kB / 0.6191 GB, free: 0.9453 MB / 462.3 MB Notification: Performance of SimCode: time 8.52e-07/0.6349, allocations: 0 / 0.6191 GB, free: 0.9453 MB / 462.3 MB Notification: Performance of Templates: time 0.0178/0.6527, allocations: 9.977 MB / 0.6288 GB, free: 6.996 MB / 478.3 MB 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)