Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.000956/0.0009561, allocations: 184.7 kB / 8.135 MB, free: 2.676 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.087/1.087, allocations: 221.4 MB / 229.9 MB, free: 7.648 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009635/0.0009635, allocations: 94.97 kB / 280.8 MB, free: 5.133 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6242/0.6242, allocations: 120.5 MB / 452 MB, free: 276 kB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 6.402e-06/6.432e-06, allocations: 4 kB / 0.5282 GB, free: 54.91 MB / 398.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1042, allocations: 82.85 MB / 0.6091 GB, free: 7.227 MB / 430.3 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4665/0.5707, allocations: 124.6 MB / 0.7307 GB, free: 10.88 MB / 0.4985 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00016/0.5709, allocations: 59.19 kB / 0.7308 GB, free: 10.85 MB / 0.4985 GB Notification: Performance of FrontEnd: time 0.0986/0.6695, allocations: 33.07 MB / 0.7631 GB, free: 13.95 MB / 0.5298 GB Notification: Performance of Transformations before backend: time 4.141e-05/0.6696, allocations: 40 kB / 0.7631 GB, free: 13.91 MB / 0.5298 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.007545/0.6771, allocations: 3.018 MB / 0.7661 GB, free: 10.95 MB / 0.5298 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.6772, allocations: 12.03 kB / 0.7661 GB, free: 10.94 MB / 0.5298 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000591/0.6778, allocations: 194.1 kB / 0.7663 GB, free: 10.75 MB / 0.5298 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.6792, allocations: 0.7375 MB / 0.767 GB, free: 9.969 MB / 0.5298 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-05/0.6793, allocations: 60 kB / 0.7671 GB, free: 9.91 MB / 0.5298 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005807/0.6799, allocations: 342.1 kB / 0.7674 GB, free: 9.613 MB / 0.5298 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002598/0.6825, allocations: 1.624 MB / 0.769 GB, free: 8.309 MB / 0.5298 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003474/0.686, allocations: 2.247 MB / 0.7712 GB, free: 6.473 MB / 0.5298 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001273/0.6861, allocations: 78.25 kB / 0.7712 GB, free: 6.402 MB / 0.5298 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000212/0.6863, allocations: 0 / 0.7712 GB, free: 6.402 MB / 0.5298 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.683e-05/0.6864, allocations: 44 kB / 0.7713 GB, free: 6.359 MB / 0.5298 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00376/0.6901, allocations: 2.56 MB / 0.7738 GB, free: 4.211 MB / 0.5298 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00455/0.6947, allocations: 3.069 MB / 0.7768 GB, free: 1.879 MB / 0.5298 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002245/0.697, allocations: 1.74 MB / 0.7785 GB, free: 0.6328 MB / 0.5298 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002366/0.6972, allocations: 47.77 kB / 0.7785 GB, free: 0.5859 MB / 0.5298 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.6973, allocations: 84.3 kB / 0.7786 GB, free: 0.5234 MB / 0.5298 GB Notification: Performance of pre-optimization done (n=480): time 5.61e-06/0.6973, allocations: 0 / 0.7786 GB, free: 0.5234 MB / 0.5298 GB Notification: Performance of matching and sorting (n=480): time 0.01296/0.7102, allocations: 5.67 MB / 0.7841 GB, free: 11.7 MB / 0.5454 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.7103, allocations: 99.17 kB / 0.7842 GB, free: 11.59 MB / 0.5454 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.7105, allocations: 190.3 kB / 0.7844 GB, free: 11.44 MB / 0.5454 GB Notification: Performance of collectPreVariables (initialization): time 0.0005739/0.7111, allocations: 25.7 kB / 0.7844 GB, free: 11.41 MB / 0.5454 GB Notification: Performance of collectInitialEqns (initialization): time 8.417e-05/0.7112, allocations: 110.2 kB / 0.7846 GB, free: 11.3 MB / 0.5454 GB Notification: Performance of collectInitialBindings (initialization): time 0.001489/0.7127, allocations: 1.882 MB / 0.7864 GB, free: 9.66 MB / 0.5454 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.7129, allocations: 0 / 0.7864 GB, free: 9.66 MB / 0.5454 GB Notification: Performance of setup shared object (initialization): time 0.0002813/0.7132, allocations: 0.5643 MB / 0.7869 GB, free: 9.184 MB / 0.5454 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002991/0.7162, allocations: 1.953 MB / 0.7888 GB, free: 7.703 MB / 0.5454 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003576/0.7198, allocations: 3.206 MB / 0.792 GB, free: 4.609 MB / 0.5454 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003689/0.7235, allocations: 2.534 MB / 0.7945 GB, free: 2.598 MB / 0.5454 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.866e-05/0.7235, allocations: 8 kB / 0.7945 GB, free: 2.59 MB / 0.5454 GB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01586/0.7394, allocations: 7.574 MB / 0.8019 GB, free: 12.2 MB / 0.561 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.7395, allocations: 4 kB / 0.8019 GB, free: 12.19 MB / 0.561 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.944e-05/0.7395, allocations: 36 kB / 0.8019 GB, free: 12.16 MB / 0.561 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01157/0.7511, allocations: 2.455 MB / 0.8043 GB, free: 9.887 MB / 0.561 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004964/0.7561, allocations: 1.267 MB / 0.8055 GB, free: 8.656 MB / 0.561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02497/0.7811, allocations: 13.93 MB / 0.8191 GB, free: 13.4 MB / 0.5767 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/0.7838, allocations: 375.2 kB / 0.8195 GB, free: 13.03 MB / 0.5767 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000458/0.7842, allocations: 230 kB / 0.8197 GB, free: 12.86 MB / 0.5767 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.0007483/0.785, allocations: 221.2 kB / 0.8199 GB, free: 12.64 MB / 0.5767 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003862/0.7854, allocations: 154.2 kB / 0.8201 GB, free: 12.49 MB / 0.5767 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006988/0.7861, allocations: 405.8 kB / 0.8205 GB, free: 12.43 MB / 0.5767 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.046e-05/0.7862, allocations: 44 kB / 0.8205 GB, free: 12.39 MB / 0.5767 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-05/0.7862, allocations: 27.91 kB / 0.8205 GB, free: 12.36 MB / 0.5767 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.302e-05/0.7863, allocations: 23.92 kB / 0.8205 GB, free: 12.34 MB / 0.5767 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003757/0.79, allocations: 2.532 MB / 0.823 GB, free: 10.19 MB / 0.5767 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.79, allocations: 0 / 0.823 GB, free: 10.19 MB / 0.5767 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006272/0.7963, allocations: 1.036 MB / 0.824 GB, free: 9.195 MB / 0.5767 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01128/0.8076, allocations: 2.422 MB / 0.8264 GB, free: 6.969 MB / 0.5767 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009445/0.8086, allocations: 205.8 kB / 0.8266 GB, free: 6.789 MB / 0.5767 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02471/0.8333, allocations: 13.85 MB / 0.8401 GB, free: 11.6 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.8333, allocations: 0 / 0.8401 GB, free: 11.6 MB / 0.5923 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02566/0.859, allocations: 12.04 MB / 0.8519 GB, free: 1.027 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003007/0.8593, allocations: 278.3 kB / 0.8521 GB, free: 0.7344 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001141/0.8605, allocations: 147.8 kB / 0.8523 GB, free: 0.5898 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/0.8622, allocations: 51.94 kB / 0.8523 GB, free: 0.5391 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004645/0.8626, allocations: 242.5 kB / 0.8526 GB, free: 340 kB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002971/0.863, allocations: 134.4 kB / 0.8527 GB, free: 232 kB / 0.5923 GB Notification: Performance of sort global known variables: time 5.088e-05/0.863, allocations: 87.19 kB / 0.8528 GB, free: 148 kB / 0.5923 GB Notification: Performance of remove unused functions: time 0.004125/0.8671, allocations: 0.8476 MB / 0.8536 GB, free: 15.29 MB / 0.6079 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.0007368/0.8679, allocations: 287.4 kB / 0.8539 GB, free: 15.02 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.01392/0.8819, allocations: 5.999 MB / 0.8597 GB, free: 10.13 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.8819, allocations: 0 / 0.8597 GB, free: 10.13 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.008462/0.8904, allocations: 3.435 MB / 0.8631 GB, free: 7.289 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006152/0.891, allocations: 3.938 kB / 0.8631 GB, free: 7.285 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04061/0.9316, allocations: 42.86 MB / 0.905 GB, free: 12.79 MB / 0.6548 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002334/0.934, allocations: 1.851 MB / 0.9068 GB, free: 10.95 MB / 0.6548 GB Notification: Performance of SimCode: time 6.41e-07/0.934, allocations: 4 kB / 0.9068 GB, free: 10.95 MB / 0.6548 GB Notification: Performance of Templates: time 0.2178/1.152, allocations: 50.78 MB / 0.9564 GB, free: 311.2 MB / 0.686 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_160.pipe 2>&1)