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.001316/0.001316, allocations: 111.2 kB / 17.29 MB, free: 6.219 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.001327/0.001327, allocations: 193.3 kB / 18.21 MB, free: 5.293 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.35/1.35, allocations: 222.9 MB / 241.9 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.031/1.031, allocations: 119.3 MB / 411.4 MB, free: 9.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001384, allocations: 63.89 kB / 0.4911 GB, free: 14.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5733/0.5747, allocations: 80.7 MB / 0.5699 GB, free: 43.48 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.002537/0.5773, allocations: 1.288 MB / 0.5711 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002326/0.5776, allocations: 38.94 kB / 0.5712 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.7e-05/0.5776, allocations: 0 / 0.5712 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.5777, allocations: 5.312 kB / 0.5712 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 8.318e-05/0.5778, allocations: 15.88 kB / 0.5712 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.578, allocations: 17.47 kB / 0.5712 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0008028/0.5788, allocations: 0.8458 MB / 0.572 GB, free: 41.97 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.267e-05/0.5789, allocations: 5.688 kB / 0.572 GB, free: 41.97 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002816/0.5792, allocations: 302.1 kB / 0.5723 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003946/0.5796, allocations: 294 kB / 0.5726 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.5797, allocations: 45.41 kB / 0.5727 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.5798, allocations: 44.84 kB / 0.5727 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.58, allocations: 250.5 kB / 0.5729 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002822/0.5803, allocations: 283 kB / 0.5732 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.5807, allocations: 355.2 kB / 0.5735 GB, free: 41.14 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.5807, allocations: 0 / 0.5735 GB, free: 41.14 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.805e-06/0.5807, allocations: 0 / 0.5735 GB, free: 41.14 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.5807, allocations: 4 kB / 0.5736 GB, free: 41.14 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.002908/0.5837, allocations: 1.227 MB / 0.5747 GB, free: 40.33 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.5837, allocations: 13.27 kB / 0.5748 GB, free: 40.32 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.5839, allocations: 53.47 kB / 0.5748 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.5843, allocations: 309.6 kB / 0.5751 GB, free: 40.04 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.509e-05/0.5844, allocations: 57.91 kB / 0.5752 GB, free: 40.01 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.5846, allocations: 115.1 kB / 0.5753 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.5857, allocations: 0.6245 MB / 0.5759 GB, free: 39.61 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.834e-05/0.5857, allocations: 22.05 kB / 0.5759 GB, free: 39.6 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-05/0.5858, allocations: 24.25 kB / 0.5759 GB, free: 39.58 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.5858, allocations: 10.34 kB / 0.5759 GB, free: 39.58 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000708/0.5865, allocations: 433.9 kB / 0.5764 GB, free: 39.39 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009621/0.5875, allocations: 0.7874 MB / 0.5771 GB, free: 38.86 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.589, allocations: 0.9292 MB / 0.578 GB, free: 38.42 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006544/0.5896, allocations: 476.3 kB / 0.5785 GB, free: 38.2 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.812e-05/0.5897, allocations: 20.31 kB / 0.5785 GB, free: 38.19 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.5897, allocations: 48.53 kB / 0.5785 GB, free: 38.14 MB / 462.3 MB Notification: Performance of pre-optimization done (n=120): time 2.104e-06/0.5897, allocations: 0 / 0.5785 GB, free: 38.14 MB / 462.3 MB Notification: Performance of matching and sorting (n=120): time 0.01004/0.5998, allocations: 2.905 MB / 0.5814 GB, free: 36.64 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.5998, allocations: 68.22 kB / 0.5814 GB, free: 36.57 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.605e-05/0.5999, allocations: 132.3 kB / 0.5816 GB, free: 36.44 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.565e-05/0.6, allocations: 56.2 kB / 0.5816 GB, free: 36.39 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.6001, allocations: 105.1 kB / 0.5817 GB, free: 36.29 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000263/0.6003, allocations: 492.5 kB / 0.5822 GB, free: 35.85 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003373/0.6007, allocations: 280.4 kB / 0.5825 GB, free: 35.7 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.551e-05/0.6007, allocations: 307 kB / 0.5828 GB, free: 35.4 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007209/0.6015, allocations: 0.5062 MB / 0.5833 GB, free: 35.18 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009055/0.6024, allocations: 0.8287 MB / 0.5841 GB, free: 34.57 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.604, allocations: 1.429 MB / 0.5855 GB, free: 33.42 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.604, allocations: 4 kB / 0.5855 GB, free: 33.41 MB / 462.3 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003107/0.6071, allocations: 1.996 MB / 0.5874 GB, free: 31.41 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.6071, allocations: 8 kB / 0.5874 GB, free: 31.4 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.6072, allocations: 8 kB / 0.5874 GB, free: 31.39 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002142/0.6093, allocations: 0.5744 MB / 0.588 GB, free: 30.81 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008631/0.6102, allocations: 327.6 kB / 0.5883 GB, free: 30.49 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006237/0.6164, allocations: 5.045 MB / 0.5932 GB, free: 25.3 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005298/0.617, allocations: 110.8 kB / 0.5933 GB, free: 25.19 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.329e-05/0.6171, allocations: 60 kB / 0.5934 GB, free: 25.13 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.0002873/0.6174, allocations: 237.4 kB / 0.5936 GB, free: 24.89 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.372e-05/0.6174, allocations: 43.59 kB / 0.5937 GB, free: 24.84 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.6177, allocations: 123.9 kB / 0.5938 GB, free: 24.72 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.6177, allocations: 12 kB / 0.5938 GB, free: 24.71 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.065e-05/0.6177, allocations: 4 kB / 0.5938 GB, free: 24.71 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.6178, allocations: 7.969 kB / 0.5938 GB, free: 24.7 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007633/0.6185, allocations: 0.7551 MB / 0.5945 GB, free: 23.89 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.6185, allocations: 4 kB / 0.5945 GB, free: 23.89 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/0.6199, allocations: 263.8 kB / 0.5948 GB, free: 23.63 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00208/0.6219, allocations: 0.5626 MB / 0.5953 GB, free: 23.07 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.589e-05/0.622, allocations: 63.88 kB / 0.5954 GB, free: 23 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006088/0.6281, allocations: 5.011 MB / 0.6003 GB, free: 17.85 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6282, allocations: 0 / 0.6003 GB, free: 17.85 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003533/0.6317, allocations: 2.33 MB / 0.6026 GB, free: 15.5 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 9.748e-05/0.6318, allocations: 136.3 kB / 0.6027 GB, free: 15.35 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.6319, allocations: 51.95 kB / 0.6028 GB, free: 15.3 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.6323, allocations: 24 kB / 0.6028 GB, free: 15.28 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.6324, allocations: 84.86 kB / 0.6029 GB, free: 15.19 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.878e-05/0.6325, allocations: 31.98 kB / 0.6029 GB, free: 15.16 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.874e-05/0.6325, allocations: 87.22 kB / 0.603 GB, free: 15.07 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6325, allocations: 4 kB / 0.603 GB, free: 15.07 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0007656/0.6333, allocations: 284 kB / 0.6032 GB, free: 14.79 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.000199/0.6335, allocations: 165.3 kB / 0.6034 GB, free: 14.62 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.003585/0.6371, allocations: 2.309 MB / 0.6057 GB, free: 12.29 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.6371, allocations: 3.938 kB / 0.6057 GB, free: 12.29 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001779/0.6389, allocations: 1.01 MB / 0.6066 GB, free: 11.27 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.6392, allocations: 43.98 kB / 0.6067 GB, free: 11.23 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005702/0.6449, allocations: 6.059 MB / 0.6126 GB, free: 5.129 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.6453, allocations: 0.9402 MB / 0.6135 GB, free: 4.164 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.6454, allocations: 47.44 kB / 0.6136 GB, free: 4.117 MB / 462.3 MB Notification: Performance of SimCode: time 7.52e-07/0.6454, allocations: 0 / 0.6136 GB, free: 4.117 MB / 462.3 MB Notification: Performance of Templates: time 0.01082/0.6562, allocations: 8.926 MB / 0.6223 GB, free: 11.21 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)