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.001574/0.001574, allocations: 187.5 kB / 8.136 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.285/1.285, allocations: 221.4 MB / 229.9 MB, free: 3.012 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.001019/0.001019, allocations: 101 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7915/0.7915, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 7.194e-06/7.354e-06, allocations: 0 / 0.5282 GB, free: 52.45 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1415, allocations: 82.83 MB / 0.6091 GB, free: 3.586 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6006/0.7422, allocations: 124.6 MB / 0.7307 GB, free: 5.121 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001758/0.7424, allocations: 57.2 kB / 0.7308 GB, free: 5.098 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.1065/0.8489, allocations: 33.08 MB / 0.7631 GB, free: 7.504 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 5.617e-05/0.849, allocations: 44 kB / 0.7631 GB, free: 7.461 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.009567/0.8586, allocations: 3.014 MB / 0.7661 GB, free: 4.508 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.8587, allocations: 12.03 kB / 0.7661 GB, free: 4.496 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.8599, allocations: 194.1 kB / 0.7663 GB, free: 4.305 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/0.8623, allocations: 0.7453 MB / 0.767 GB, free: 3.516 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.8625, allocations: 60.56 kB / 0.7671 GB, free: 3.457 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001623/0.8641, allocations: 338.7 kB / 0.7674 GB, free: 3.164 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004601/0.8687, allocations: 1.615 MB / 0.769 GB, free: 1.867 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005371/0.8741, allocations: 2.25 MB / 0.7712 GB, free: 28 kB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002844/0.8745, allocations: 82.75 kB / 0.7712 GB, free: 15.96 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003619/0.8748, allocations: 0 / 0.7712 GB, free: 15.96 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.114e-05/0.8749, allocations: 47.94 kB / 0.7713 GB, free: 15.91 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005269/0.8802, allocations: 2.555 MB / 0.7738 GB, free: 13.77 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006554/0.8868, allocations: 3.069 MB / 0.7768 GB, free: 11.43 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003533/0.8903, allocations: 1.738 MB / 0.7785 GB, free: 10.19 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004706/0.8909, allocations: 47.77 kB / 0.7785 GB, free: 10.14 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.938e-05/0.8909, allocations: 88.17 kB / 0.7786 GB, free: 10.07 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=480): time 7.444e-06/0.8909, allocations: 0 / 0.7786 GB, free: 10.07 MB / 0.5421 GB Notification: Performance of matching and sorting (n=480): time 0.01698/0.9079, allocations: 5.655 MB / 0.7841 GB, free: 5.266 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.908, allocations: 107.2 kB / 0.7842 GB, free: 5.148 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.9083, allocations: 191.2 kB / 0.7844 GB, free: 4.996 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.001142/0.9094, allocations: 25.7 kB / 0.7844 GB, free: 4.965 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.9096, allocations: 110.2 kB / 0.7845 GB, free: 4.852 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.002355/0.9119, allocations: 1.88 MB / 0.7864 GB, free: 3.219 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000474/0.9124, allocations: 3.938 kB / 0.7864 GB, free: 3.215 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0004417/0.9129, allocations: 0.5594 MB / 0.7869 GB, free: 2.742 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004022/0.9169, allocations: 1.96 MB / 0.7888 GB, free: 1.258 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004943/0.9219, allocations: 3.205 MB / 0.792 GB, free: 14.16 MB / 0.5578 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005381/0.9273, allocations: 2.527 MB / 0.7944 GB, free: 12.16 MB / 0.5578 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.598e-05/0.9274, allocations: 16 kB / 0.7945 GB, free: 12.14 MB / 0.5578 GB Notification: Performance of matching and sorting (n=800) (initialization): time 0.0221/0.9495, allocations: 7.573 MB / 0.8019 GB, free: 5.742 MB / 0.5578 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.9496, allocations: 4 kB / 0.8019 GB, free: 5.738 MB / 0.5578 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.171e-05/0.9497, allocations: 36 kB / 0.8019 GB, free: 5.703 MB / 0.5578 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01214/0.9618, allocations: 2.459 MB / 0.8043 GB, free: 3.434 MB / 0.5578 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005361/0.9672, allocations: 1.27 MB / 0.8055 GB, free: 2.203 MB / 0.5578 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02693/0.9942, allocations: 13.92 MB / 0.8191 GB, free: 6.949 MB / 0.5734 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002932/0.9971, allocations: 375.2 kB / 0.8195 GB, free: 6.578 MB / 0.5734 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006617/0.9978, allocations: 233.4 kB / 0.8197 GB, free: 6.402 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.0009102/0.9987, allocations: 223.2 kB / 0.8199 GB, free: 6.184 MB / 0.5734 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004345/0.9992, allocations: 150.2 kB / 0.8201 GB, free: 6.035 MB / 0.5734 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007044/0.9999, allocations: 401.2 kB / 0.8204 GB, free: 5.984 MB / 0.5734 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-05/1, allocations: 48 kB / 0.8205 GB, free: 5.938 MB / 0.5734 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.69e-05/1, allocations: 27.91 kB / 0.8205 GB, free: 5.91 MB / 0.5734 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.738e-05/1, allocations: 27.91 kB / 0.8205 GB, free: 5.883 MB / 0.5734 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003974/1.004, allocations: 2.528 MB / 0.823 GB, free: 3.742 MB / 0.5734 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/1.004, allocations: 0 / 0.823 GB, free: 3.742 MB / 0.5734 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006561/1.011, allocations: 1.032 MB / 0.824 GB, free: 2.75 MB / 0.5734 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01199/1.023, allocations: 2.428 MB / 0.8264 GB, free: 0.5195 MB / 0.5734 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001223/1.024, allocations: 198.8 kB / 0.8266 GB, free: 352 kB / 0.5734 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02784/1.052, allocations: 13.86 MB / 0.8401 GB, free: 5.156 MB / 0.589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.052, allocations: 0 / 0.8401 GB, free: 5.156 MB / 0.589 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03148/1.083, allocations: 12.04 MB / 0.8519 GB, free: 10.59 MB / 0.6046 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/1.084, allocations: 278.3 kB / 0.8521 GB, free: 10.3 MB / 0.6046 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001244/1.085, allocations: 151.8 kB / 0.8523 GB, free: 10.15 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/1.087, allocations: 55.94 kB / 0.8523 GB, free: 10.09 MB / 0.6046 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005762/1.088, allocations: 237.9 kB / 0.8526 GB, free: 9.887 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003114/1.088, allocations: 138.7 kB / 0.8527 GB, free: 9.781 MB / 0.6046 GB Notification: Performance of sort global known variables: time 5.1e-05/1.088, allocations: 87.14 kB / 0.8528 GB, free: 9.699 MB / 0.6046 GB Notification: Performance of remove unused functions: time 0.003047/1.091, allocations: 0.8437 MB / 0.8536 GB, free: 8.855 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.0005702/1.092, allocations: 291.8 kB / 0.8539 GB, free: 8.574 MB / 0.6046 GB Notification: Performance of simCode: created initialization part: time 0.01247/1.104, allocations: 6.003 MB / 0.8597 GB, free: 3.676 MB / 0.6046 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.104, allocations: 2.562 kB / 0.8597 GB, free: 3.676 MB / 0.6046 GB Notification: Performance of simCode: created simulation system equations: time 0.009453/1.114, allocations: 3.428 MB / 0.8631 GB, free: 0.8398 MB / 0.6046 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000817/1.114, allocations: 7.938 kB / 0.8631 GB, free: 0.832 MB / 0.6046 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04273/1.157, allocations: 42.87 MB / 0.905 GB, free: 6.352 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002368/1.16, allocations: 1.857 MB / 0.9068 GB, free: 4.512 MB / 0.6515 GB Notification: Performance of SimCode: time 1.272e-06/1.16, allocations: 0 / 0.9068 GB, free: 4.512 MB / 0.6515 GB Notification: Performance of Templates: time 0.2418/1.401, allocations: 50.78 MB / 0.9564 GB, free: 305 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)