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.000922/0.0009223, allocations: 92.73 kB / 17.31 MB, free: 6.535 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.0009516/0.0009516, allocations: 176 kB / 18.21 MB, free: 5.684 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.335/1.335, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.023/1.023, allocations: 120.5 MB / 413.8 MB, free: 9.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003481, allocations: 11.98 kB / 0.4955 GB, free: 11.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5935/0.5938, allocations: 82.84 MB / 0.5764 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.001147/0.595, allocations: 0.9557 MB / 0.5774 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001706/0.5952, allocations: 50.33 kB / 0.5774 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.5953, allocations: 1.5 kB / 0.5774 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.393e-05/0.5953, allocations: 0 / 0.5774 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.098e-05/0.5954, allocations: 10.11 kB / 0.5774 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.5956, allocations: 16.47 kB / 0.5774 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006753/0.5962, allocations: 0.8386 MB / 0.5783 GB, free: 40.68 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.841e-05/0.5963, allocations: 9.5 kB / 0.5783 GB, free: 40.68 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/0.5966, allocations: 295.6 kB / 0.5786 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003671/0.597, allocations: 289.4 kB / 0.5788 GB, free: 40.37 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.5971, allocations: 45.38 kB / 0.5789 GB, free: 40.37 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.5972, allocations: 45.38 kB / 0.5789 GB, free: 40.37 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002116/0.5974, allocations: 257.9 kB / 0.5792 GB, free: 40.2 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003053/0.5977, allocations: 308.8 kB / 0.5795 GB, free: 39.99 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.5981, allocations: 350.6 kB / 0.5798 GB, free: 39.81 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.5981, allocations: 0 / 0.5798 GB, free: 39.81 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5981, allocations: 0.9062 kB / 0.5798 GB, free: 39.81 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.5981, allocations: 4 kB / 0.5798 GB, free: 39.81 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.002766/0.6009, allocations: 1.159 MB / 0.5809 GB, free: 39.04 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.6009, allocations: 9.031 kB / 0.5809 GB, free: 39.04 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.6011, allocations: 50.41 kB / 0.581 GB, free: 39.02 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.6014, allocations: 304 kB / 0.5813 GB, free: 38.77 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.534e-05/0.6015, allocations: 62.33 kB / 0.5813 GB, free: 38.73 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.6016, allocations: 111.2 kB / 0.5814 GB, free: 38.68 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009479/0.6026, allocations: 0.6213 MB / 0.582 GB, free: 38.34 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.049e-05/0.6026, allocations: 24.95 kB / 0.5821 GB, free: 38.32 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.879e-05/0.6027, allocations: 25 kB / 0.5821 GB, free: 38.3 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.6027, allocations: 11.34 kB / 0.5821 GB, free: 38.3 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006524/0.6034, allocations: 436.5 kB / 0.5825 GB, free: 38.11 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.6044, allocations: 0.7797 MB / 0.5833 GB, free: 37.58 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.6058, allocations: 0.9451 MB / 0.5842 GB, free: 37.13 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006429/0.6064, allocations: 476.1 kB / 0.5847 GB, free: 36.91 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.265e-05/0.6065, allocations: 17 kB / 0.5847 GB, free: 36.91 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.6065, allocations: 47.75 kB / 0.5847 GB, free: 36.86 MB / 462.3 MB Notification: Performance of pre-optimization done (n=120): time 2.364e-06/0.6065, allocations: 0 / 0.5847 GB, free: 36.86 MB / 462.3 MB Notification: Performance of matching and sorting (n=120): time 0.01033/0.6169, allocations: 2.897 MB / 0.5875 GB, free: 34.7 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.6169, allocations: 72.34 kB / 0.5876 GB, free: 34.61 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.367e-05/0.617, allocations: 125.8 kB / 0.5877 GB, free: 34.48 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.947e-05/0.6171, allocations: 57.7 kB / 0.5878 GB, free: 34.41 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.74e-05/0.6171, allocations: 102.6 kB / 0.5879 GB, free: 34.31 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.6174, allocations: 492.8 kB / 0.5884 GB, free: 33.82 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.6175, allocations: 165.6 kB / 0.5885 GB, free: 33.65 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.722e-05/0.6176, allocations: 310 kB / 0.5888 GB, free: 33.34 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006115/0.6182, allocations: 0.4957 MB / 0.5893 GB, free: 32.85 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007387/0.619, allocations: 0.8317 MB / 0.5901 GB, free: 31.89 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.6204, allocations: 1.439 MB / 0.5915 GB, free: 30.33 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.6204, allocations: 0 / 0.5915 GB, free: 30.33 MB / 462.3 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003302/0.6237, allocations: 2 MB / 0.5935 GB, free: 28.32 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.6238, allocations: 12.03 kB / 0.5935 GB, free: 28.3 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.6238, allocations: 12 kB / 0.5935 GB, free: 28.29 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002164/0.626, allocations: 0.5704 MB / 0.594 GB, free: 27.72 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009638/0.6269, allocations: 327.6 kB / 0.5944 GB, free: 27.4 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006298/0.6332, allocations: 4.693 MB / 0.5989 GB, free: 22.56 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006313/0.6339, allocations: 122.8 kB / 0.5991 GB, free: 22.44 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-05/0.634, allocations: 56 kB / 0.5991 GB, free: 22.39 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.0003542/0.6343, allocations: 241.4 kB / 0.5993 GB, free: 22.14 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.237e-05/0.6344, allocations: 35.53 kB / 0.5994 GB, free: 22.11 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003232/0.6348, allocations: 115.9 kB / 0.5995 GB, free: 22 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.6348, allocations: 16.06 kB / 0.5995 GB, free: 21.98 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.6e-05/0.6348, allocations: 8 kB / 0.5995 GB, free: 21.97 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.6348, allocations: 11.91 kB / 0.5995 GB, free: 21.96 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007675/0.6356, allocations: 0.7512 MB / 0.6003 GB, free: 21.16 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.6356, allocations: 0 / 0.6003 GB, free: 21.16 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/0.6369, allocations: 267.8 kB / 0.6005 GB, free: 20.9 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002116/0.6391, allocations: 0.5665 MB / 0.6011 GB, free: 20.33 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.162e-05/0.6392, allocations: 51.95 kB / 0.6011 GB, free: 20.28 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006092/0.6453, allocations: 4.679 MB / 0.6057 GB, free: 15.46 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6453, allocations: 0 / 0.6057 GB, free: 15.46 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003588/0.6489, allocations: 2.333 MB / 0.608 GB, free: 13.11 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.222e-05/0.649, allocations: 140.3 kB / 0.6081 GB, free: 12.96 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.6491, allocations: 47.95 kB / 0.6081 GB, free: 12.91 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/0.6495, allocations: 20 kB / 0.6082 GB, free: 12.89 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.6497, allocations: 88.86 kB / 0.6082 GB, free: 12.8 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.588e-05/0.6497, allocations: 31.98 kB / 0.6083 GB, free: 12.77 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.574e-05/0.6497, allocations: 87.16 kB / 0.6084 GB, free: 12.68 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6498, allocations: 3.938 kB / 0.6084 GB, free: 12.68 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0007822/0.6505, allocations: 284 kB / 0.6086 GB, free: 12.4 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.0001984/0.6507, allocations: 169.3 kB / 0.6088 GB, free: 12.23 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002778/0.6535, allocations: 1.678 MB / 0.6104 GB, free: 10.53 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.6536, allocations: 4.062 kB / 0.6104 GB, free: 10.53 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001871/0.6554, allocations: 1.009 MB / 0.6114 GB, free: 9.508 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.6558, allocations: 44.8 kB / 0.6115 GB, free: 9.465 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006048/0.6618, allocations: 7.114 MB / 0.6184 GB, free: 2.312 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.6622, allocations: 0.9441 MB / 0.6193 GB, free: 1.34 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.6624, allocations: 47.44 kB / 0.6194 GB, free: 1.293 MB / 462.3 MB Notification: Performance of SimCode: time 6.41e-07/0.6624, allocations: 4 kB / 0.6194 GB, free: 1.289 MB / 462.3 MB Notification: Performance of Templates: time 0.01203/0.6744, allocations: 8.865 MB / 0.628 GB, free: 8.449 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)