Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200.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.SimpleAdvection_N_200,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="T.1.|T.200.|T.2.|T.3.|T.4.|T.5.|Ttilde.199.|Ttilde.1.|Ttilde.2.|Ttilde.3.|Ttilde.4.|Ttilde.5.|der.Ttilde.1..|der.Ttilde.2..|der.Ttilde.3..|der.Ttilde.4..|der.Ttilde.5..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200") translateModel(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="T.1.|T.200.|T.2.|T.3.|T.4.|T.5.|Ttilde.199.|Ttilde.1.|Ttilde.2.|Ttilde.3.|Ttilde.4.|Ttilde.5.|der.Ttilde.1..|der.Ttilde.2..|der.Ttilde.3..|der.Ttilde.4..|der.Ttilde.5..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 176.6 kB / 8.347 MB, free: 0.7266 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.453/1.453, allocations: 221.5 MB / 230.3 MB, free: 7.574 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.0009548/0.0009548, allocations: 93.12 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.992/0.992, allocations: 120.4 MB / 452.4 MB, free: 10.48 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.942e-05/1.943e-05, allocations: 4 kB / 0.5288 GB, free: 1.289 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5703/0.5703, allocations: 82.84 MB / 0.6097 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1485/0.7188, allocations: 125.1 MB / 0.7319 GB, free: 15.76 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.7191, allocations: 75.89 kB / 0.732 GB, free: 15.69 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.6573/1.376, allocations: 25.38 MB / 0.7567 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.413e-06/1.376, allocations: 0 / 0.7567 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 0.0001143/1.377, allocations: 32.22 kB / 0.7568 GB, free: 129.7 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: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.007622/1.384, allocations: 2.626 MB / 0.7593 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/1.384, allocations: 10.34 kB / 0.7593 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007654/1.385, allocations: 225.3 kB / 0.7596 GB, free: 128.5 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/1.387, allocations: 0.7087 MB / 0.7602 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.849e-05/1.387, allocations: 53.69 kB / 0.7603 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000514/1.387, allocations: 190 kB / 0.7605 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001726/1.389, allocations: 1.047 MB / 0.7615 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002871/1.392, allocations: 1.62 MB / 0.7631 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.516e-05/1.392, allocations: 0 / 0.7631 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/1.392, allocations: 3.953 kB / 0.7631 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/1.392, allocations: 38.88 kB / 0.7631 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/1.402, allocations: 4.912 MB / 0.7679 GB, free: 124 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002994/1.405, allocations: 2.433 MB / 0.7703 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008265/1.406, allocations: 0.7643 MB / 0.771 GB, free: 120.8 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/1.406, allocations: 22 kB / 0.7711 GB, free: 120.8 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/1.406, allocations: 56.56 kB / 0.7711 GB, free: 120.8 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=201): time 3.737e-06/1.406, allocations: 0 / 0.7711 GB, free: 120.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=201): time 0.002338/1.409, allocations: 1.719 MB / 0.7728 GB, free: 119 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/1.409, allocations: 77.34 kB / 0.7729 GB, free: 118.9 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005118/1.409, allocations: 0.5281 MB / 0.7734 GB, free: 118.4 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 9.832e-05/1.409, allocations: 25.7 kB / 0.7734 GB, free: 118.4 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/1.41, allocations: 0.5444 MB / 0.7739 GB, free: 117.8 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006317/1.41, allocations: 0.9205 MB / 0.7748 GB, free: 116.9 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/1.41, allocations: 4 kB / 0.7748 GB, free: 116.9 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.411, allocations: 444.5 kB / 0.7753 GB, free: 116.4 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/1.412, allocations: 1.209 MB / 0.7765 GB, free: 115.2 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/1.413, allocations: 1.228 MB / 0.7776 GB, free: 114 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/1.415, allocations: 1.478 MB / 0.7791 GB, free: 112.5 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.405e-06/1.415, allocations: 0 / 0.7791 GB, free: 112.5 MB / 0.5421 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.00355/1.419, allocations: 3.157 MB / 0.7822 GB, free: 109.3 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/1.419, allocations: 9.547 kB / 0.7822 GB, free: 109.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/1.419, allocations: 0 / 0.7822 GB, free: 109.3 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.627e-05/1.419, allocations: 12 kB / 0.7822 GB, free: 109.3 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002939/1.422, allocations: 0.8035 MB / 0.783 GB, free: 108.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.241e-05/1.422, allocations: 16 kB / 0.783 GB, free: 108.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002511/1.424, allocations: 393.3 kB / 0.7834 GB, free: 108.1 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000205/1.424, allocations: 84 kB / 0.7835 GB, free: 108 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0003851/1.425, allocations: 148.3 kB / 0.7836 GB, free: 107.9 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004209/1.425, allocations: 144.9 kB / 0.7837 GB, free: 107.7 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002802/1.428, allocations: 1.969 MB / 0.7857 GB, free: 105.7 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/1.428, allocations: 20 kB / 0.7857 GB, free: 105.7 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/1.428, allocations: 0 / 0.7857 GB, free: 105.7 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/1.428, allocations: 7.969 kB / 0.7857 GB, free: 105.7 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/1.43, allocations: 1.35 MB / 0.787 GB, free: 104.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.43, allocations: 0 / 0.787 GB, free: 104.4 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003455/1.434, allocations: 0.5734 MB / 0.7876 GB, free: 103.8 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-05/1.434, allocations: 7.984 kB / 0.7876 GB, free: 103.8 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002199/1.434, allocations: 111.9 kB / 0.7877 GB, free: 103.7 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/1.434, allocations: 8 kB / 0.7877 GB, free: 103.7 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.434, allocations: 0 / 0.7877 GB, free: 103.7 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003016/1.437, allocations: 2.808 MB / 0.7904 GB, free: 100.8 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008581/1.438, allocations: 410.7 kB / 0.7908 GB, free: 100.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000419/1.438, allocations: 75.89 kB / 0.7909 GB, free: 100.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002176/1.441, allocations: 306.5 kB / 0.7912 GB, free: 100.1 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/1.441, allocations: 117.8 kB / 0.7913 GB, free: 99.94 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.842e-05/1.441, allocations: 63.95 kB / 0.7914 GB, free: 99.88 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0003612/1.441, allocations: 423.1 kB / 0.7918 GB, free: 99.46 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.7e-07/1.441, allocations: 0 / 0.7918 GB, free: 99.46 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001735/1.443, allocations: 0.8934 MB / 0.7926 GB, free: 98.57 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 199 (Ttilde[1],Ttilde[2],Ttilde[3],Ttilde[4],Ttilde[5],Ttilde[6],Ttilde[7],Ttilde[8],Ttilde[9],Ttilde[10],Ttilde[11],Ttilde[12],Ttilde[13],Ttilde[14],Ttilde[15],Ttilde[16],Ttilde[17],Ttilde[18],Ttilde[19],Ttilde[20],Ttilde[21],Ttilde[22],Ttilde[23],Ttilde[24],Ttilde[25],Ttilde[26],Ttilde[27],Ttilde[28],Ttilde[29],Ttilde[30],Ttilde[31],Ttilde[32],Ttilde[33],Ttilde[34],Ttilde[35],Ttilde[36],Ttilde[37],Ttilde[38],Ttilde[39],Ttilde[40],Ttilde[41],Ttilde[42],Ttilde[43],Ttilde[44],Ttilde[45],Ttilde[46],Ttilde[47],Ttilde[48],Ttilde[49],Ttilde[50],Ttilde[51],Ttilde[52],Ttilde[53],Ttilde[54],Ttilde[55],Ttilde[56],Ttilde[57],Ttilde[58],Ttilde[59],Ttilde[60],Ttilde[61],Ttilde[62],Ttilde[63],Ttilde[64],Ttilde[65],Ttilde[66],Ttilde[67],Ttilde[68],Ttilde[69],Ttilde[70],Ttilde[71],Ttilde[72],Ttilde[73],Ttilde[74],Ttilde[75],Ttilde[76],Ttilde[77],Ttilde[78],Ttilde[79],Ttilde[80],Ttilde[81],Ttilde[82],Ttilde[83],Ttilde[84],Ttilde[85],Ttilde[86],Ttilde[87],Ttilde[88],Ttilde[89],Ttilde[90],Ttilde[91],Ttilde[92],Ttilde[93],Ttilde[94],Ttilde[95],Ttilde[96],Ttilde[97],Ttilde[98],Ttilde[99],Ttilde[100],Ttilde[101],Ttilde[102],Ttilde[103],Ttilde[104],Ttilde[105],Ttilde[106],Ttilde[107],Ttilde[108],Ttilde[109],Ttilde[110],Ttilde[111],Ttilde[112],Ttilde[113],Ttilde[114],Ttilde[115],Ttilde[116],Ttilde[117],Ttilde[118],Ttilde[119],Ttilde[120],Ttilde[121],Ttilde[122],Ttilde[123],Ttilde[124],Ttilde[125],Ttilde[126],Ttilde[127],Ttilde[128],Ttilde[129],Ttilde[130],Ttilde[131],Ttilde[132],Ttilde[133],Ttilde[134],Ttilde[135],Ttilde[136],Ttilde[137],Ttilde[138],Ttilde[139],Ttilde[140],Ttilde[141],Ttilde[142],Ttilde[143],Ttilde[144],Ttilde[145],Ttilde[146],Ttilde[147],Ttilde[148],Ttilde[149],Ttilde[150],Ttilde[151],Ttilde[152],Ttilde[153],Ttilde[154],Ttilde[155],Ttilde[156],Ttilde[157],Ttilde[158],Ttilde[159],Ttilde[160],Ttilde[161],Ttilde[162],Ttilde[163],Ttilde[164],Ttilde[165],Ttilde[166],Ttilde[167],Ttilde[168],Ttilde[169],Ttilde[170],Ttilde[171],Ttilde[172],Ttilde[173],Ttilde[174],Ttilde[175],Ttilde[176],Ttilde[177],Ttilde[178],Ttilde[179],Ttilde[180],Ttilde[181],Ttilde[182],Ttilde[183],Ttilde[184],Ttilde[185],Ttilde[186],Ttilde[187],Ttilde[188],Ttilde[189],Ttilde[190],Ttilde[191],Ttilde[192],Ttilde[193],Ttilde[194],Ttilde[195],Ttilde[196],Ttilde[197],Ttilde[198],Ttilde[199]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (203): * Single equations (assignments): 203 * 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.0003323/1.443, allocations: 239.8 kB / 0.7929 GB, free: 98.31 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.002877/1.446, allocations: 2.446 MB / 0.7952 GB, free: 95.88 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.446, allocations: 4 kB / 0.7953 GB, free: 95.87 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0009866/1.447, allocations: 0.9756 MB / 0.7962 GB, free: 94.9 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002767/1.45, allocations: 0.8691 MB / 0.7971 GB, free: 94.03 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02229/1.472, allocations: 17.6 MB / 0.8142 GB, free: 76.45 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000916/1.473, allocations: 1.601 MB / 0.8158 GB, free: 74.81 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.00221/1.475, allocations: 0.853 MB / 0.8166 GB, free: 73.95 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006157/1.476, allocations: 151.4 kB / 0.8168 GB, free: 73.8 MB / 0.5421 GB Notification: Performance of SimCode: time 4.5e-07/1.476, allocations: 0 / 0.8168 GB, free: 73.8 MB / 0.5421 GB Notification: Performance of Templates: time 0.04681/1.523, allocations: 36.77 MB / 0.8527 GB, free: 37.45 MB / 0.5421 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches