Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.160..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.160..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.160.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.160.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.160.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.160..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.160..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.160.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.160.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.160.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 183.4 kB / 8.133 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.131/1.131, allocations: 221.4 MB / 229.9 MB, free: 3.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009588/0.0009587, allocations: 101.6 kB / 280.8 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6967/0.6967, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.049e-06/5.069e-06, allocations: 0 / 0.5282 GB, free: 52.45 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1183, allocations: 82.85 MB / 0.6091 GB, free: 3.574 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5233/0.6416, allocations: 124.6 MB / 0.7307 GB, free: 5.066 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001463/0.6418, allocations: 57.89 kB / 0.7308 GB, free: 5.047 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.1035/0.7452, allocations: 33.08 MB / 0.7631 GB, free: 7.453 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 6.27e-05/0.7453, allocations: 40 kB / 0.7631 GB, free: 7.414 MB / 0.5265 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.009392/0.7547, allocations: 3.022 MB / 0.7661 GB, free: 4.453 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.7548, allocations: 8.031 kB / 0.7661 GB, free: 4.445 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008623/0.7556, allocations: 194.1 kB / 0.7663 GB, free: 4.254 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.7575, allocations: 0.7453 MB / 0.767 GB, free: 3.465 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.596e-05/0.7576, allocations: 60 kB / 0.7671 GB, free: 3.406 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000921/0.7586, allocations: 341.6 kB / 0.7674 GB, free: 3.109 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003306/0.7619, allocations: 1.622 MB / 0.769 GB, free: 1.809 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003951/0.7658, allocations: 2.24 MB / 0.7712 GB, free: 15.98 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001395/0.766, allocations: 83.92 kB / 0.7712 GB, free: 15.9 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002107/0.7662, allocations: 0 / 0.7712 GB, free: 15.9 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.714e-05/0.7662, allocations: 44 kB / 0.7713 GB, free: 15.86 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003921/0.7702, allocations: 2.559 MB / 0.7738 GB, free: 13.71 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004365/0.7746, allocations: 3.072 MB / 0.7768 GB, free: 11.38 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002244/0.7768, allocations: 1.742 MB / 0.7785 GB, free: 10.13 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002277/0.777, allocations: 47.77 kB / 0.7785 GB, free: 10.08 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/0.7771, allocations: 83.67 kB / 0.7786 GB, free: 10.02 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=480): time 6.132e-06/0.7771, allocations: 0 / 0.7786 GB, free: 10.02 MB / 0.5421 GB Notification: Performance of matching and sorting (n=480): time 0.01306/0.7902, allocations: 5.656 MB / 0.7841 GB, free: 5.211 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.7903, allocations: 103.2 kB / 0.7842 GB, free: 5.098 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.7905, allocations: 191.3 kB / 0.7844 GB, free: 4.945 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0004706/0.7909, allocations: 25.7 kB / 0.7844 GB, free: 4.914 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 8.083e-05/0.791, allocations: 110.2 kB / 0.7845 GB, free: 4.801 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.001323/0.7924, allocations: 1.874 MB / 0.7864 GB, free: 3.172 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/0.7926, allocations: 3.938 kB / 0.7864 GB, free: 3.168 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0002857/0.7929, allocations: 0.563 MB / 0.7869 GB, free: 2.691 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003111/0.796, allocations: 1.961 MB / 0.7888 GB, free: 1.203 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003565/0.7996, allocations: 3.205 MB / 0.792 GB, free: 14.11 MB / 0.5578 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003468/0.8031, allocations: 2.53 MB / 0.7944 GB, free: 12.11 MB / 0.5578 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.02e-05/0.8031, allocations: 12 kB / 0.7945 GB, free: 12.09 MB / 0.5578 GB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01522/0.8183, allocations: 7.574 MB / 0.8018 GB, free: 5.695 MB / 0.5578 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.8184, allocations: 4 kB / 0.8019 GB, free: 5.691 MB / 0.5578 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.797e-05/0.8184, allocations: 36 kB / 0.8019 GB, free: 5.656 MB / 0.5578 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01094/0.8294, allocations: 2.464 MB / 0.8043 GB, free: 3.383 MB / 0.5578 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004372/0.8338, allocations: 1.262 MB / 0.8055 GB, free: 2.156 MB / 0.5578 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02528/0.8591, allocations: 13.91 MB / 0.8191 GB, free: 6.906 MB / 0.5734 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002384/0.8615, allocations: 379.2 kB / 0.8195 GB, free: 6.531 MB / 0.5734 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005695/0.8621, allocations: 233.6 kB / 0.8197 GB, free: 6.352 MB / 0.5734 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 161 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (641): * Single equations (assignments): 640 * 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%) 159} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008162/0.8629, allocations: 223 kB / 0.8199 GB, free: 6.137 MB / 0.5734 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004406/0.8633, allocations: 154.2 kB / 0.8201 GB, free: 5.984 MB / 0.5734 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007239/0.8641, allocations: 408.8 kB / 0.8204 GB, free: 5.926 MB / 0.5734 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-05/0.8641, allocations: 44 kB / 0.8205 GB, free: 5.883 MB / 0.5734 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.709e-05/0.8642, allocations: 27.91 kB / 0.8205 GB, free: 5.855 MB / 0.5734 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.121e-05/0.8642, allocations: 19.92 kB / 0.8205 GB, free: 5.836 MB / 0.5734 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003917/0.8681, allocations: 2.535 MB / 0.823 GB, free: 3.691 MB / 0.5734 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.8682, allocations: 0 / 0.823 GB, free: 3.691 MB / 0.5734 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006335/0.8745, allocations: 1.033 MB / 0.824 GB, free: 2.695 MB / 0.5734 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01097/0.8855, allocations: 2.424 MB / 0.8264 GB, free: 480 kB / 0.5734 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000686/0.8862, allocations: 203.1 kB / 0.8266 GB, free: 296 kB / 0.5734 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02536/0.9116, allocations: 13.85 MB / 0.8401 GB, free: 5.105 MB / 0.589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.9116, allocations: 4 kB / 0.8401 GB, free: 5.102 MB / 0.589 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02734/0.9389, allocations: 12.04 MB / 0.8519 GB, free: 10.54 MB / 0.6046 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003273/0.9393, allocations: 286.2 kB / 0.8521 GB, free: 10.24 MB / 0.6046 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008382/0.9402, allocations: 147.8 kB / 0.8523 GB, free: 10.09 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001794/0.942, allocations: 51.94 kB / 0.8523 GB, free: 10.04 MB / 0.6046 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005861/0.9426, allocations: 246.2 kB / 0.8526 GB, free: 9.828 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003828/0.9429, allocations: 127.1 kB / 0.8527 GB, free: 9.734 MB / 0.6046 GB Notification: Performance of sort global known variables: time 4.184e-05/0.943, allocations: 83.27 kB / 0.8528 GB, free: 9.652 MB / 0.6046 GB Notification: Performance of remove unused functions: time 0.003084/0.9461, allocations: 0.8437 MB / 0.8536 GB, free: 8.809 MB / 0.6046 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 320 (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],xm[41],xm[42],xm[43],xm[44],xm[45],xm[46],xm[47],xm[48],xm[49],xm[50],xm[51],xm[52],xm[53],xm[54],xm[55],xm[56],xm[57],xm[58],xm[59],xm[60],xm[61],xm[62],xm[63],xm[64],xm[65],xm[66],xm[67],xm[68],xm[69],xm[70],xm[71],xm[72],xm[73],xm[74],xm[75],xm[76],xm[77],xm[78],xm[79],xm[80],xm[81],xm[82],xm[83],xm[84],xm[85],xm[86],xm[87],xm[88],xm[89],xm[90],xm[91],xm[92],xm[93],xm[94],xm[95],xm[96],xm[97],xm[98],xm[99],xm[100],xm[101],xm[102],xm[103],xm[104],xm[105],xm[106],xm[107],xm[108],xm[109],xm[110],xm[111],xm[112],xm[113],xm[114],xm[115],xm[116],xm[117],xm[118],xm[119],xm[120],xm[121],xm[122],xm[123],xm[124],xm[125],xm[126],xm[127],xm[128],xm[129],xm[130],xm[131],xm[132],xm[133],xm[134],xm[135],xm[136],xm[137],xm[138],xm[139],xm[140],xm[141],xm[142],xm[143],xm[144],xm[145],xm[146],xm[147],xm[148],xm[149],xm[150],xm[151],xm[152],xm[153],xm[154],xm[155],xm[156],xm[157],xm[158],xm[159],xm[160],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],v[41],v[42],v[43],v[44],v[45],v[46],v[47],v[48],v[49],v[50],v[51],v[52],v[53],v[54],v[55],v[56],v[57],v[58],v[59],v[60],v[61],v[62],v[63],v[64],v[65],v[66],v[67],v[68],v[69],v[70],v[71],v[72],v[73],v[74],v[75],v[76],v[77],v[78],v[79],v[80],v[81],v[82],v[83],v[84],v[85],v[86],v[87],v[88],v[89],v[90],v[91],v[92],v[93],v[94],v[95],v[96],v[97],v[98],v[99],v[100],v[101],v[102],v[103],v[104],v[105],v[106],v[107],v[108],v[109],v[110],v[111],v[112],v[113],v[114],v[115],v[116],v[117],v[118],v[119],v[120],v[121],v[122],v[123],v[124],v[125],v[126],v[127],v[128],v[129],v[130],v[131],v[132],v[133],v[134],v[135],v[136],v[137],v[138],v[139],v[140],v[141],v[142],v[143],v[144],v[145],v[146],v[147],v[148],v[149],v[150],v[151],v[152],v[153],v[154],v[155],v[156],v[157],v[158],v[159],v[160]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (321): * Single equations (assignments): 320 * 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%) 159} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005829/0.9467, allocations: 291.6 kB / 0.8539 GB, free: 8.531 MB / 0.6046 GB Notification: Performance of simCode: created initialization part: time 0.01356/0.9602, allocations: 6.003 MB / 0.8597 GB, free: 3.633 MB / 0.6046 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.9603, allocations: 1.625 kB / 0.8597 GB, free: 3.633 MB / 0.6046 GB Notification: Performance of simCode: created simulation system equations: time 0.009041/0.9693, allocations: 3.43 MB / 0.8631 GB, free: 0.8008 MB / 0.6046 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006712/0.97, allocations: 16.42 kB / 0.8631 GB, free: 0.7891 MB / 0.6046 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04363/1.014, allocations: 42.86 MB / 0.9049 GB, free: 6.305 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002268/1.016, allocations: 1.859 MB / 0.9068 GB, free: 4.461 MB / 0.6515 GB Notification: Performance of SimCode: time 5.81e-07/1.016, allocations: 0 / 0.9068 GB, free: 4.461 MB / 0.6515 GB Notification: Performance of Templates: time 0.2382/1.254, allocations: 50.78 MB / 0.9564 GB, free: 305.2 MB / 0.6828 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160.pipe 2>&1)