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.0008464/0.0008465, allocations: 87.94 kB / 16.31 MB, free: 5.633 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.0008952/0.0008952, allocations: 187.3 kB / 17.21 MB, free: 5.551 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.226/1.226, allocations: 223.3 MB / 241.2 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6768/0.6768, allocations: 120.5 MB / 412.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002603/0.0002604, allocations: 8 kB / 0.4943 GB, free: 11.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1283, allocations: 82.85 MB / 0.5752 GB, free: 8.137 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.002165/0.1305, allocations: 0.9493 MB / 0.5761 GB, free: 7.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001386/0.1307, allocations: 35.95 kB / 0.5761 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.995e-05/0.1307, allocations: 0 / 0.5761 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.204e-05/0.1308, allocations: 11.92 kB / 0.5761 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.222e-05/0.1308, allocations: 0 / 0.5761 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001161/0.1309, allocations: 23.95 kB / 0.5762 GB, free: 7.109 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005812/0.1315, allocations: 0.7294 MB / 0.5769 GB, free: 6.379 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.1316, allocations: 4 kB / 0.5769 GB, free: 6.375 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.1318, allocations: 303.6 kB / 0.5772 GB, free: 6.078 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.1321, allocations: 303.5 kB / 0.5774 GB, free: 5.781 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.605e-05/0.1322, allocations: 44 kB / 0.5775 GB, free: 5.738 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.42e-05/0.1323, allocations: 44 kB / 0.5775 GB, free: 5.695 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.1325, allocations: 259.5 kB / 0.5778 GB, free: 5.441 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.495e-05/0.1326, allocations: 97.52 kB / 0.5779 GB, free: 5.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.1328, allocations: 351.4 kB / 0.5782 GB, free: 4.996 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1329, allocations: 0 / 0.5782 GB, free: 4.996 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1329, allocations: 3.938 kB / 0.5782 GB, free: 4.992 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1329, allocations: 0 / 0.5782 GB, free: 4.992 MB / 446.1 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.002151/0.135, allocations: 1.167 MB / 0.5794 GB, free: 3.773 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.1351, allocations: 8.031 kB / 0.5794 GB, free: 3.766 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.182e-05/0.1352, allocations: 55.48 kB / 0.5794 GB, free: 3.711 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.1355, allocations: 310.5 kB / 0.5797 GB, free: 3.367 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.045e-05/0.1355, allocations: 53 kB / 0.5798 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.1357, allocations: 115.7 kB / 0.5799 GB, free: 3.199 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008382/0.1365, allocations: 0.6113 MB / 0.5805 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/0.1366, allocations: 19.8 kB / 0.5805 GB, free: 2.562 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.1366, allocations: 20 kB / 0.5805 GB, free: 2.543 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.1366, allocations: 12 kB / 0.5805 GB, free: 2.531 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006039/0.1373, allocations: 443.6 kB / 0.5809 GB, free: 2.098 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008976/0.1382, allocations: 0.7903 MB / 0.5817 GB, free: 1.254 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.1394, allocations: 0.9198 MB / 0.5826 GB, free: 328 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3758/0.5152, allocations: 472.4 kB / 0.5831 GB, free: 16.32 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/0.5153, allocations: 12.28 kB / 0.5831 GB, free: 16.32 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.5153, allocations: 45.5 kB / 0.5831 GB, free: 16.28 MB / 446.3 MB Notification: Performance of pre-optimization done (n=120): time 3.457e-06/0.5153, allocations: 3.531 kB / 0.5831 GB, free: 16.28 MB / 446.3 MB Notification: Performance of matching and sorting (n=120): time 0.008544/0.5239, allocations: 2.873 MB / 0.5859 GB, free: 16.08 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.5239, allocations: 64.38 kB / 0.586 GB, free: 16.02 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.394e-05/0.524, allocations: 123.5 kB / 0.5861 GB, free: 15.92 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 5.467e-05/0.5241, allocations: 57.61 kB / 0.5862 GB, free: 15.89 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.649e-05/0.5241, allocations: 98.09 kB / 0.5863 GB, free: 15.8 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000257/0.5244, allocations: 490.5 kB / 0.5867 GB, free: 15.51 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.498e-05/0.5244, allocations: 32.31 kB / 0.5868 GB, free: 15.51 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 8.791e-05/0.5245, allocations: 375.7 kB / 0.5871 GB, free: 15.2 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007548/0.5253, allocations: 0.4933 MB / 0.5876 GB, free: 15.2 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008856/0.5262, allocations: 0.8277 MB / 0.5884 GB, free: 14.75 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008773/0.5271, allocations: 0.6284 MB / 0.589 GB, free: 14.55 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.5271, allocations: 6.453 kB / 0.589 GB, free: 14.55 MB / 446.3 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003373/0.5305, allocations: 1.98 MB / 0.591 GB, free: 13.94 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.5305, allocations: 8.875 kB / 0.591 GB, free: 13.94 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.5305, allocations: 10.08 kB / 0.591 GB, free: 13.94 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00203/0.5325, allocations: 0.578 MB / 0.5915 GB, free: 13.86 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008724/0.5334, allocations: 323.5 kB / 0.5918 GB, free: 13.83 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00619/0.5396, allocations: 4.686 MB / 0.5964 GB, free: 11.59 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004387/0.5401, allocations: 110.8 kB / 0.5965 GB, free: 11.51 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.047e-05/0.5402, allocations: 56.75 kB / 0.5966 GB, free: 11.5 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002335/0.5404, allocations: 246.6 kB / 0.5968 GB, free: 11.31 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.5405, allocations: 38.28 kB / 0.5969 GB, free: 11.29 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.5407, allocations: 116.1 kB / 0.597 GB, free: 11.18 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.5408, allocations: 13.41 kB / 0.597 GB, free: 11.18 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.931e-05/0.5408, allocations: 7.719 kB / 0.597 GB, free: 11.18 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.5408, allocations: 5.859 kB / 0.597 GB, free: 11.18 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000839/0.5417, allocations: 0.758 MB / 0.5977 GB, free: 10.84 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5417, allocations: 0 / 0.5977 GB, free: 10.84 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.5429, allocations: 272.9 kB / 0.598 GB, free: 10.81 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001787/0.5447, allocations: 0.5694 MB / 0.5985 GB, free: 10.73 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-05/0.5448, allocations: 60.77 kB / 0.5986 GB, free: 10.71 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005791/0.5506, allocations: 4.655 MB / 0.6031 GB, free: 7.883 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5506, allocations: 0 / 0.6031 GB, free: 7.883 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003413/0.5541, allocations: 2.319 MB / 0.6054 GB, free: 6.887 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.5541, allocations: 128.2 kB / 0.6055 GB, free: 6.758 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.5542, allocations: 52.23 kB / 0.6056 GB, free: 6.73 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.5545, allocations: 16.28 kB / 0.6056 GB, free: 6.719 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.5546, allocations: 97.73 kB / 0.6057 GB, free: 6.66 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.882e-05/0.5547, allocations: 35.23 kB / 0.6057 GB, free: 6.648 MB / 446.3 MB Notification: Performance of sorting global known variables: time 1.939e-05/0.5547, allocations: 80.72 kB / 0.6058 GB, free: 6.574 MB / 446.3 MB Notification: Performance of sort global known variables: time 9e-08/0.5547, allocations: 0 / 0.6058 GB, free: 6.574 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0007103/0.5554, allocations: 287.4 kB / 0.6061 GB, free: 6.523 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 39} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001635/0.5556, allocations: 173 kB / 0.6062 GB, free: 6.391 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.002738/0.5584, allocations: 1.673 MB / 0.6079 GB, free: 5.625 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5584, allocations: 0 / 0.6079 GB, free: 5.625 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001698/0.5601, allocations: 1.02 MB / 0.6089 GB, free: 5.121 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.5603, allocations: 42.23 kB / 0.6089 GB, free: 5.09 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005728/0.5661, allocations: 7.039 MB / 0.6158 GB, free: 15.65 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.5665, allocations: 0.9364 MB / 0.6167 GB, free: 14.86 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0005688/0.5671, allocations: 295.9 kB / 0.617 GB, free: 14.71 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.5672, allocations: 47.66 kB / 0.617 GB, free: 14.71 MB / 462.3 MB Notification: Performance of SimCode: time 1.072e-06/0.5672, allocations: 0 / 0.617 GB, free: 14.71 MB / 462.3 MB Notification: Performance of Templates: time 0.01359/0.5808, allocations: 9.734 MB / 0.6265 GB, free: 5.16 MB / 462.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)