Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_400.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.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_400,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="der.u.1..|der.u.2..|der.u.3..|der.u.400..|der.u.4..|der.u.5..|time|time|u.1.|u.2.|u.3.|u.400.|u.4.|u.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_400") translateModel(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_400,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="der.u.1..|der.u.2..|der.u.3..|der.u.400..|der.u.4..|der.u.5..|time|time|u.1.|u.2.|u.3.|u.400.|u.4.|u.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_400") [: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.0009525/0.0009526, allocations: 182.8 kB / 8.137 MB, free: 2.184 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.088/1.088, allocations: 221.4 MB / 229.9 MB, free: 3.008 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.0008681/0.0008681, allocations: 99.67 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6131/0.6131, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.14e-06/5.22e-06, allocations: 0 / 0.5289 GB, free: 51.77 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1037, allocations: 82.85 MB / 0.6098 GB, free: 2.801 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4424/0.5461, allocations: 124.3 MB / 0.7313 GB, free: 4.625 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001319/0.5463, allocations: 59.25 kB / 0.7313 GB, free: 4.605 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.1547/0.701, allocations: 39.28 MB / 0.7697 GB, free: 0.9297 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 3.3e-05/0.701, allocations: 28 kB / 0.7697 GB, free: 0.9023 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.01566/0.7167, allocations: 4.3 MB / 0.7739 GB, free: 12.62 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.7168, allocations: 8.031 kB / 0.7739 GB, free: 12.62 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.7178, allocations: 150.5 kB / 0.774 GB, free: 12.47 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01942/0.7373, allocations: 4.467 MB / 0.7784 GB, free: 7.98 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.7374, allocations: 48 kB / 0.7785 GB, free: 7.934 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001477/0.7389, allocations: 297.1 kB / 0.7787 GB, free: 7.691 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003702/0.7426, allocations: 2.159 MB / 0.7808 GB, free: 6.043 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005379/0.748, allocations: 3.264 MB / 0.784 GB, free: 3.312 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.273e-05/0.748, allocations: 0 / 0.784 GB, free: 3.312 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003608/0.7484, allocations: 0 / 0.784 GB, free: 3.312 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.171e-05/0.7484, allocations: 36 kB / 0.7841 GB, free: 3.277 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006014/0.7545, allocations: 3.08 MB / 0.7871 GB, free: 408 kB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/0.7647, allocations: 7.298 MB / 0.7942 GB, free: 10.84 MB / 0.5578 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003182/0.7679, allocations: 2.29 MB / 0.7964 GB, free: 9.105 MB / 0.5578 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004441/0.7683, allocations: 39.14 kB / 0.7965 GB, free: 9.066 MB / 0.5578 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.7684, allocations: 81.17 kB / 0.7966 GB, free: 9.004 MB / 0.5578 GB Notification: Performance of pre-optimization done (n=400): time 6.091e-06/0.7684, allocations: 0 / 0.7966 GB, free: 9.004 MB / 0.5578 GB Notification: Performance of matching and sorting (n=400): time 0.008397/0.7768, allocations: 5.148 MB / 0.8016 GB, free: 4.891 MB / 0.5578 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.7769, allocations: 94.45 kB / 0.8017 GB, free: 4.785 MB / 0.5578 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.777, allocations: 108.7 kB / 0.8018 GB, free: 4.68 MB / 0.5578 GB Notification: Performance of collectPreVariables (initialization): time 0.0006467/0.7777, allocations: 25.7 kB / 0.8018 GB, free: 4.648 MB / 0.5578 GB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.7777, allocations: 86.42 kB / 0.8019 GB, free: 4.559 MB / 0.5578 GB Notification: Performance of collectInitialBindings (initialization): time 0.001462/0.7792, allocations: 1.836 MB / 0.8037 GB, free: 2.992 MB / 0.5578 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004531/0.7797, allocations: 0 / 0.8037 GB, free: 2.992 MB / 0.5578 GB Notification: Performance of setup shared object (initialization): time 0.000257/0.7799, allocations: 0.5594 MB / 0.8042 GB, free: 2.52 MB / 0.5578 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004788/0.7847, allocations: 3.376 MB / 0.8075 GB, free: 15.95 MB / 0.5734 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00535/0.7901, allocations: 3.766 MB / 0.8112 GB, free: 13.07 MB / 0.5734 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006066/0.7962, allocations: 3.96 MB / 0.8151 GB, free: 9.941 MB / 0.5734 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.438e-05/0.7962, allocations: 0 / 0.8151 GB, free: 9.941 MB / 0.5734 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01513/0.8113, allocations: 8.087 MB / 0.823 GB, free: 3.422 MB / 0.5734 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.8114, allocations: 4 kB / 0.823 GB, free: 3.418 MB / 0.5734 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.8114, allocations: 0 / 0.823 GB, free: 3.418 MB / 0.5734 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.722e-05/0.8115, allocations: 28 kB / 0.823 GB, free: 3.391 MB / 0.5734 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008282/0.8198, allocations: 1.453 MB / 0.8244 GB, free: 1.984 MB / 0.5734 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.432e-05/0.8199, allocations: 24 kB / 0.8244 GB, free: 1.961 MB / 0.5734 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004696/0.8246, allocations: 0.5497 MB / 0.825 GB, free: 1.406 MB / 0.5734 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001472/0.8261, allocations: 178 kB / 0.8251 GB, free: 1.281 MB / 0.5734 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (801): * Single equations (assignments): 801 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002112/0.8282, allocations: 179.8 kB / 0.8253 GB, free: 1.098 MB / 0.5734 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00113/0.8293, allocations: 154.4 kB / 0.8255 GB, free: 0.9453 MB / 0.5734 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.831, allocations: 0.6326 MB / 0.8261 GB, free: 0.9141 MB / 0.5734 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.287e-05/0.8311, allocations: 40 kB / 0.8261 GB, free: 0.875 MB / 0.5734 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-05/0.8311, allocations: 0 / 0.8261 GB, free: 0.875 MB / 0.5734 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.602e-05/0.8312, allocations: 19.92 kB / 0.8261 GB, free: 0.8555 MB / 0.5734 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006747/0.838, allocations: 2.54 MB / 0.8286 GB, free: 14.52 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.838, allocations: 0 / 0.8286 GB, free: 14.52 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009818/0.8478, allocations: 0.9929 MB / 0.8296 GB, free: 13.57 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.348e-05/0.8479, allocations: 15.91 kB / 0.8296 GB, free: 13.56 MB / 0.589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001519/0.8494, allocations: 250.5 kB / 0.8298 GB, free: 13.34 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.548e-05/0.8495, allocations: 12 kB / 0.8298 GB, free: 13.32 MB / 0.589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.8495, allocations: 4 kB / 0.8298 GB, free: 13.32 MB / 0.589 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01368/0.8632, allocations: 6.957 MB / 0.8366 GB, free: 7.762 MB / 0.589 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001877/0.8651, allocations: 0.7402 MB / 0.8374 GB, free: 7 MB / 0.589 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001136/0.8662, allocations: 179.8 kB / 0.8375 GB, free: 6.824 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003787/0.87, allocations: 275.7 kB / 0.8378 GB, free: 6.555 MB / 0.589 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009496/0.871, allocations: 209.8 kB / 0.838 GB, free: 6.371 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006781/0.8717, allocations: 123.1 kB / 0.8381 GB, free: 6.277 MB / 0.589 GB Notification: Performance of sort global known variables: time 4.613e-05/0.8717, allocations: 79.28 kB / 0.8382 GB, free: 6.199 MB / 0.589 GB Notification: Performance of remove unused functions: time 0.003163/0.8749, allocations: 0.8555 MB / 0.839 GB, free: 5.344 MB / 0.589 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 400 (u[1],u[2],u[3],u[4],u[5],u[6],u[7],u[8],u[9],u[10],u[11],u[12],u[13],u[14],u[15],u[16],u[17],u[18],u[19],u[20],u[21],u[22],u[23],u[24],u[25],u[26],u[27],u[28],u[29],u[30],u[31],u[32],u[33],u[34],u[35],u[36],u[37],u[38],u[39],u[40],u[41],u[42],u[43],u[44],u[45],u[46],u[47],u[48],u[49],u[50],u[51],u[52],u[53],u[54],u[55],u[56],u[57],u[58],u[59],u[60],u[61],u[62],u[63],u[64],u[65],u[66],u[67],u[68],u[69],u[70],u[71],u[72],u[73],u[74],u[75],u[76],u[77],u[78],u[79],u[80],u[81],u[82],u[83],u[84],u[85],u[86],u[87],u[88],u[89],u[90],u[91],u[92],u[93],u[94],u[95],u[96],u[97],u[98],u[99],u[100],u[101],u[102],u[103],u[104],u[105],u[106],u[107],u[108],u[109],u[110],u[111],u[112],u[113],u[114],u[115],u[116],u[117],u[118],u[119],u[120],u[121],u[122],u[123],u[124],u[125],u[126],u[127],u[128],u[129],u[130],u[131],u[132],u[133],u[134],u[135],u[136],u[137],u[138],u[139],u[140],u[141],u[142],u[143],u[144],u[145],u[146],u[147],u[148],u[149],u[150],u[151],u[152],u[153],u[154],u[155],u[156],u[157],u[158],u[159],u[160],u[161],u[162],u[163],u[164],u[165],u[166],u[167],u[168],u[169],u[170],u[171],u[172],u[173],u[174],u[175],u[176],u[177],u[178],u[179],u[180],u[181],u[182],u[183],u[184],u[185],u[186],u[187],u[188],u[189],u[190],u[191],u[192],u[193],u[194],u[195],u[196],u[197],u[198],u[199],u[200],u[201],u[202],u[203],u[204],u[205],u[206],u[207],u[208],u[209],u[210],u[211],u[212],u[213],u[214],u[215],u[216],u[217],u[218],u[219],u[220],u[221],u[222],u[223],u[224],u[225],u[226],u[227],u[228],u[229],u[230],u[231],u[232],u[233],u[234],u[235],u[236],u[237],u[238],u[239],u[240],u[241],u[242],u[243],u[244],u[245],u[246],u[247],u[248],u[249],u[250],u[251],u[252],u[253],u[254],u[255],u[256],u[257],u[258],u[259],u[260],u[261],u[262],u[263],u[264],u[265],u[266],u[267],u[268],u[269],u[270],u[271],u[272],u[273],u[274],u[275],u[276],u[277],u[278],u[279],u[280],u[281],u[282],u[283],u[284],u[285],u[286],u[287],u[288],u[289],u[290],u[291],u[292],u[293],u[294],u[295],u[296],u[297],u[298],u[299],u[300],u[301],u[302],u[303],u[304],u[305],u[306],u[307],u[308],u[309],u[310],u[311],u[312],u[313],u[314],u[315],u[316],u[317],u[318],u[319],u[320],u[321],u[322],u[323],u[324],u[325],u[326],u[327],u[328],u[329],u[330],u[331],u[332],u[333],u[334],u[335],u[336],u[337],u[338],u[339],u[340],u[341],u[342],u[343],u[344],u[345],u[346],u[347],u[348],u[349],u[350],u[351],u[352],u[353],u[354],u[355],u[356],u[357],u[358],u[359],u[360],u[361],u[362],u[363],u[364],u[365],u[366],u[367],u[368],u[369],u[370],u[371],u[372],u[373],u[374],u[375],u[376],u[377],u[378],u[379],u[380],u[381],u[382],u[383],u[384],u[385],u[386],u[387],u[388],u[389],u[390],u[391],u[392],u[393],u[394],u[395],u[396],u[397],u[398],u[399],u[400]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (400): * Single equations (assignments): 400 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000903/0.8758, allocations: 349.4 kB / 0.8394 GB, free: 5.016 MB / 0.589 GB Notification: Performance of simCode: created initialization part: time 0.01058/0.8864, allocations: 6.693 MB / 0.8459 GB, free: 15.78 MB / 0.6046 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.8864, allocations: 0 / 0.8459 GB, free: 15.78 MB / 0.6046 GB Notification: Performance of simCode: created simulation system equations: time 0.004691/0.8911, allocations: 2.721 MB / 0.8486 GB, free: 13.64 MB / 0.6046 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008901/0.892, allocations: 7.938 kB / 0.8486 GB, free: 13.64 MB / 0.6046 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/0.9061, allocations: 9.964 MB / 0.8583 GB, free: 3.77 MB / 0.6046 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00533/0.9115, allocations: 1.781 MB / 0.86 GB, free: 1.973 MB / 0.6046 GB Notification: Performance of SimCode: time 8.21e-07/0.9115, allocations: 3.938 kB / 0.86 GB, free: 1.969 MB / 0.6046 GB Notification: Performance of Templates: time 0.08131/0.9928, allocations: 58.4 MB / 0.9171 GB, free: 7.473 MB / 0.6671 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_400.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_400.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_400.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_400.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_400.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_400 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_400.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_400_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_400_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_400.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches