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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009752/0.0009753, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 221.3 MB / 235.5 MB, free: 2.906 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.0008477/0.0008477, allocations: 90.23 kB / 286.5 MB, free: 176 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.837/0.837, allocations: 120.5 MB / 457.9 MB, free: 7.051 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.373e-05/2.386e-05, allocations: 0 / 0.5367 GB, free: 11.22 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5094/0.5094, allocations: 82.84 MB / 0.6176 GB, free: 9.289 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.6529, allocations: 125.1 MB / 0.7397 GB, free: 12.09 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001777/0.6531, allocations: 63.91 kB / 0.7398 GB, free: 12.03 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.7485/1.402, allocations: 39.6 MB / 0.7784 GB, free: 115.2 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.383e-06/1.402, allocations: 0 / 0.7784 GB, free: 115.2 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 2.971e-05/1.402, allocations: 28 kB / 0.7785 GB, free: 115.2 MB / 0.5421 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.01494/1.417, allocations: 4.517 MB / 0.7829 GB, free: 110.6 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/1.417, allocations: 8.031 kB / 0.7829 GB, free: 110.6 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/1.418, allocations: 158.4 kB / 0.783 GB, free: 110.4 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01841/1.436, allocations: 4.8 MB / 0.7877 GB, free: 105.6 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/1.436, allocations: 119.2 kB / 0.7878 GB, free: 105.5 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00138/1.438, allocations: 350.4 kB / 0.7882 GB, free: 105.1 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005128/1.443, allocations: 3.283 MB / 0.7914 GB, free: 101.8 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.829e-05/1.443, allocations: 3.984 kB / 0.7914 GB, free: 101.8 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003612/1.443, allocations: 68 kB / 0.7914 GB, free: 101.7 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/1.443, allocations: 37.03 kB / 0.7915 GB, free: 101.7 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003427/1.447, allocations: 2.124 MB / 0.7936 GB, free: 99.57 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005288/1.452, allocations: 3.172 MB / 0.7967 GB, free: 96.35 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0103/1.462, allocations: 7.167 MB / 0.8037 GB, free: 89.17 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003169/1.466, allocations: 2.279 MB / 0.8059 GB, free: 86.88 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004846/1.466, allocations: 39.14 kB / 0.8059 GB, free: 86.84 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/1.466, allocations: 77.7 kB / 0.806 GB, free: 86.76 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=400): time 7.444e-06/1.466, allocations: 4 kB / 0.806 GB, free: 86.75 MB / 0.5421 GB Notification: Performance of matching and sorting (n=400): time 0.007899/1.474, allocations: 5.151 MB / 0.811 GB, free: 81.56 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/1.474, allocations: 98.48 kB / 0.8111 GB, free: 81.45 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/1.474, allocations: 96.98 kB / 0.8112 GB, free: 81.35 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0003384/1.475, allocations: 93.64 kB / 0.8113 GB, free: 81.25 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 2.93e-05/1.475, allocations: 86.42 kB / 0.8114 GB, free: 81.16 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009311/1.476, allocations: 1.864 MB / 0.8132 GB, free: 79.27 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000391/1.476, allocations: 128 kB / 0.8133 GB, free: 79.15 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001731/1.476, allocations: 0.5593 MB / 0.8139 GB, free: 78.58 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004557/1.481, allocations: 3.28 MB / 0.8171 GB, free: 75.29 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004596/1.485, allocations: 3.698 MB / 0.8207 GB, free: 71.58 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00537/1.491, allocations: 3.826 MB / 0.8244 GB, free: 67.73 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/1.491, allocations: 0 / 0.8244 GB, free: 67.73 MB / 0.5421 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01198/1.503, allocations: 8.098 MB / 0.8323 GB, free: 59.59 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/1.503, allocations: 8 kB / 0.8323 GB, free: 59.58 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/1.503, allocations: 0 / 0.8323 GB, free: 59.58 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.634e-05/1.503, allocations: 28.03 kB / 0.8324 GB, free: 59.55 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007119/1.51, allocations: 1.58 MB / 0.8339 GB, free: 57.97 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.778e-05/1.51, allocations: 24 kB / 0.8339 GB, free: 57.95 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004011/1.514, allocations: 0.7956 MB / 0.8347 GB, free: 57.14 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004974/1.515, allocations: 172 kB / 0.8349 GB, free: 56.98 MB / 0.5421 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.001104/1.516, allocations: 371.7 kB / 0.8352 GB, free: 56.61 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006345/1.516, allocations: 150.5 kB / 0.8354 GB, free: 56.46 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/1.519, allocations: 0.6781 MB / 0.836 GB, free: 55.77 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.079e-05/1.519, allocations: 40 kB / 0.8361 GB, free: 55.73 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-05/1.519, allocations: 3.953 kB / 0.8361 GB, free: 55.73 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.261e-05/1.519, allocations: 19.92 kB / 0.8361 GB, free: 55.71 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003767/1.522, allocations: 2.642 MB / 0.8387 GB, free: 53.01 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.522, allocations: 0 / 0.8387 GB, free: 53.01 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008316/1.531, allocations: 1.108 MB / 0.8398 GB, free: 51.9 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.914e-05/1.531, allocations: 12 kB / 0.8398 GB, free: 51.89 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006241/1.531, allocations: 259.7 kB / 0.84 GB, free: 51.64 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.285e-05/1.532, allocations: 12 kB / 0.84 GB, free: 51.62 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/1.532, allocations: 3.938 kB / 0.84 GB, free: 51.62 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/1.542, allocations: 7.037 MB / 0.8469 GB, free: 44.51 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00204/1.544, allocations: 0.7364 MB / 0.8476 GB, free: 43.75 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006766/1.544, allocations: 219.8 kB / 0.8478 GB, free: 43.54 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00402/1.548, allocations: 463.4 kB / 0.8483 GB, free: 43.09 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006431/1.549, allocations: 234.8 kB / 0.8485 GB, free: 42.86 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003764/1.549, allocations: 119.9 kB / 0.8486 GB, free: 42.74 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 2.803e-05/1.55, allocations: 79.47 kB / 0.8487 GB, free: 42.66 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.71e-07/1.55, allocations: 0 / 0.8487 GB, free: 42.66 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001887/1.551, allocations: 1.043 MB / 0.8497 GB, free: 41.62 MB / 0.5421 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.0006685/1.552, allocations: 437.1 kB / 0.8501 GB, free: 41.18 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.008998/1.561, allocations: 6.543 MB / 0.8565 GB, free: 34.62 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.561, allocations: 0 / 0.8565 GB, free: 34.62 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.003874/1.565, allocations: 2.668 MB / 0.8591 GB, free: 31.95 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005944/1.566, allocations: 60 kB / 0.8592 GB, free: 31.89 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007172/1.573, allocations: 10.7 MB / 0.8696 GB, free: 21.09 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007485/1.574, allocations: 1.695 MB / 0.8713 GB, free: 19.35 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.007116/1.581, allocations: 2.05 MB / 0.8733 GB, free: 17.29 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002133/1.583, allocations: 183.4 kB / 0.8735 GB, free: 17.11 MB / 0.5421 GB Notification: Performance of SimCode: time 1.042e-06/1.583, allocations: 0 / 0.8735 GB, free: 17.11 MB / 0.5421 GB Notification: Performance of Templates: time 0.04818/1.631, allocations: 35.47 MB / 0.9081 GB, free: 13.58 MB / 0.5734 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