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.001531/0.001532, allocations: 114.8 kB / 17.69 MB, free: 5.312 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.001525/0.001526, allocations: 191 kB / 18.63 MB, free: 4.379 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.384/1.384, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.045/1.045, allocations: 119.3 MB / 411.8 MB, free: 9.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.91 kB / 0.4924 GB, free: 13.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5604/0.5617, allocations: 80.69 MB / 0.5712 GB, free: 43.49 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.00287/0.5646, allocations: 1.217 MB / 0.5724 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002337/0.5649, allocations: 51.7 kB / 0.5724 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.033e-05/0.5649, allocations: 0 / 0.5724 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.979e-05/0.5651, allocations: 1.625 kB / 0.5724 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 7.917e-05/0.5652, allocations: 13.27 kB / 0.5724 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.5654, allocations: 19.89 kB / 0.5724 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0008763/0.5662, allocations: 0.8438 MB / 0.5733 GB, free: 42.03 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.756e-05/0.5663, allocations: 5.719 kB / 0.5733 GB, free: 42.03 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003154/0.5666, allocations: 300 kB / 0.5736 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004191/0.5671, allocations: 276.8 kB / 0.5738 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.5672, allocations: 52.19 kB / 0.5739 GB, free: 41.71 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.5673, allocations: 45.88 kB / 0.5739 GB, free: 41.71 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.5676, allocations: 253.7 kB / 0.5742 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0004052/0.568, allocations: 283.7 kB / 0.5744 GB, free: 41.37 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0006061/0.5686, allocations: 454.3 kB / 0.5749 GB, free: 41.13 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.036e-06/0.5686, allocations: 0 / 0.5749 GB, free: 41.13 MB / 462.3 MB Notification: Performance of FrontEnd: time 4.158e-06/0.5686, allocations: 1.094 kB / 0.5749 GB, free: 41.13 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.5687, allocations: 0 / 0.5749 GB, free: 41.13 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.003373/0.572, allocations: 1.226 MB / 0.5761 GB, free: 40.32 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.245e-05/0.5721, allocations: 9.094 kB / 0.5761 GB, free: 40.32 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.5723, allocations: 50.25 kB / 0.5761 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006672/0.573, allocations: 308.9 kB / 0.5764 GB, free: 40.04 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.059e-05/0.573, allocations: 54.06 kB / 0.5765 GB, free: 40.01 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002183/0.5733, allocations: 118.6 kB / 0.5766 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.5745, allocations: 0.6215 MB / 0.5772 GB, free: 39.61 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.374e-05/0.5746, allocations: 17.22 kB / 0.5772 GB, free: 39.6 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.137e-05/0.5746, allocations: 24.59 kB / 0.5772 GB, free: 39.58 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.5747, allocations: 10.91 kB / 0.5772 GB, free: 39.58 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008497/0.5755, allocations: 441.8 kB / 0.5776 GB, free: 39.39 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.5767, allocations: 0.791 MB / 0.5784 GB, free: 38.85 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.5784, allocations: 0.9383 MB / 0.5793 GB, free: 38.4 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007138/0.5791, allocations: 475.9 kB / 0.5798 GB, free: 38.18 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 7.833e-05/0.5792, allocations: 16.31 kB / 0.5798 GB, free: 38.18 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.5792, allocations: 44.59 kB / 0.5798 GB, free: 38.13 MB / 462.3 MB Notification: Performance of pre-optimization done (n=120): time 3.537e-06/0.5792, allocations: 0 / 0.5798 GB, free: 38.13 MB / 462.3 MB Notification: Performance of matching and sorting (n=120): time 0.0106/0.5898, allocations: 2.91 MB / 0.5827 GB, free: 36.64 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.5899, allocations: 68.09 kB / 0.5828 GB, free: 36.57 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.59, allocations: 125.7 kB / 0.5829 GB, free: 36.45 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.5902, allocations: 59.23 kB / 0.5829 GB, free: 36.39 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.733e-05/0.5902, allocations: 101.2 kB / 0.583 GB, free: 36.29 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003019/0.5905, allocations: 492.8 kB / 0.5835 GB, free: 35.86 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003545/0.5909, allocations: 279.8 kB / 0.5838 GB, free: 35.71 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.018e-05/0.5909, allocations: 311.2 kB / 0.5841 GB, free: 35.4 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008052/0.5917, allocations: 0.4975 MB / 0.5845 GB, free: 35.19 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009261/0.5927, allocations: 0.8326 MB / 0.5854 GB, free: 34.57 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/0.5943, allocations: 1.426 MB / 0.5868 GB, free: 33.08 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.5943, allocations: 4 kB / 0.5868 GB, free: 33.08 MB / 462.3 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003309/0.5976, allocations: 2 MB / 0.5887 GB, free: 31.07 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.5977, allocations: 10.34 kB / 0.5887 GB, free: 31.06 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.5977, allocations: 8 kB / 0.5887 GB, free: 31.05 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002168/0.5999, allocations: 0.5782 MB / 0.5893 GB, free: 30.47 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009685/0.6008, allocations: 327.6 kB / 0.5896 GB, free: 30.15 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006555/0.6074, allocations: 5.045 MB / 0.5945 GB, free: 24.96 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007375/0.6082, allocations: 114.9 kB / 0.5946 GB, free: 24.84 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-05/0.6083, allocations: 56 kB / 0.5947 GB, free: 24.79 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.0003282/0.6086, allocations: 238.7 kB / 0.5949 GB, free: 24.55 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.67e-05/0.6087, allocations: 39.53 kB / 0.595 GB, free: 24.51 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.6089, allocations: 127.9 kB / 0.5951 GB, free: 24.38 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.609, allocations: 12 kB / 0.5951 GB, free: 24.37 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.643e-05/0.609, allocations: 4 kB / 0.5951 GB, free: 24.37 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.986e-06/0.609, allocations: 3.984 kB / 0.5951 GB, free: 24.36 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007808/0.6098, allocations: 0.7629 MB / 0.5958 GB, free: 23.55 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.6098, allocations: 0 / 0.5958 GB, free: 23.55 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.6111, allocations: 263.8 kB / 0.5961 GB, free: 23.29 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002106/0.6132, allocations: 0.5626 MB / 0.5966 GB, free: 22.73 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/0.6134, allocations: 59.88 kB / 0.5967 GB, free: 22.67 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006506/0.6199, allocations: 5.023 MB / 0.6016 GB, free: 17.5 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.62, allocations: 0 / 0.6016 GB, free: 17.5 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003936/0.6239, allocations: 2.322 MB / 0.6039 GB, free: 15.16 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.6241, allocations: 136.3 kB / 0.604 GB, free: 15.01 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.6242, allocations: 55.95 kB / 0.6041 GB, free: 14.95 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.6246, allocations: 24 kB / 0.6041 GB, free: 14.93 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/0.6248, allocations: 84.86 kB / 0.6042 GB, free: 14.84 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.711e-05/0.6249, allocations: 31.98 kB / 0.6042 GB, free: 14.81 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.209e-05/0.6249, allocations: 83.28 kB / 0.6043 GB, free: 14.73 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6249, allocations: 0 / 0.6043 GB, free: 14.73 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0009701/0.6259, allocations: 284 kB / 0.6045 GB, free: 14.45 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.0002423/0.6262, allocations: 169.3 kB / 0.6047 GB, free: 14.28 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.00331/0.6295, allocations: 1.685 MB / 0.6063 GB, free: 12.58 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.6295, allocations: 4 kB / 0.6064 GB, free: 12.57 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001952/0.6315, allocations: 1.017 MB / 0.6073 GB, free: 11.55 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.6319, allocations: 44 kB / 0.6074 GB, free: 11.5 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006099/0.638, allocations: 5.826 MB / 0.6131 GB, free: 5.645 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.6384, allocations: 0.9325 MB / 0.614 GB, free: 4.688 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006194/0.6391, allocations: 301.4 kB / 0.6143 GB, free: 4.391 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.6392, allocations: 43.44 kB / 0.6143 GB, free: 4.348 MB / 462.3 MB Notification: Performance of SimCode: time 1.483e-06/0.6392, allocations: 0 / 0.6143 GB, free: 4.348 MB / 462.3 MB Notification: Performance of Templates: time 0.01855/0.6578, allocations: 10.07 MB / 0.6242 GB, free: 10.3 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 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe 2>&1)