Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001528/0.001528, allocations: 176.2 kB / 8.348 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.365/1.365, allocations: 221.5 MB / 230.3 MB, free: 7.559 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.0008905/0.0008905, allocations: 90.17 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.9074/0.9074, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.685e-05/1.692e-05, allocations: 4 kB / 0.5288 GB, free: 1.293 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5543/0.5543, allocations: 82.83 MB / 0.6097 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1466/0.701, allocations: 125.1 MB / 0.7319 GB, free: 15.76 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/0.7012, allocations: 71.89 kB / 0.732 GB, free: 15.69 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.6485/1.35, allocations: 25.37 MB / 0.7567 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of FrontEnd: time 8.12e-07/1.35, allocations: 0 / 0.7567 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 4.83e-05/1.35, allocations: 31.88 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.005997/1.356, allocations: 2.615 MB / 0.7593 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/1.356, allocations: 13.16 kB / 0.7593 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003514/1.356, allocations: 227.2 kB / 0.7595 GB, free: 128.5 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/1.357, allocations: 0.7167 MB / 0.7602 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/1.357, allocations: 48.72 kB / 0.7603 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/1.358, allocations: 199.7 kB / 0.7605 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001264/1.359, allocations: 1.038 MB / 0.7615 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/1.361, allocations: 1.615 MB / 0.7631 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/1.361, allocations: 0 / 0.7631 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/1.361, allocations: 7.844 kB / 0.7631 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/1.361, allocations: 38.25 kB / 0.7631 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009018/1.37, allocations: 4.915 MB / 0.7679 GB, free: 124.1 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00259/1.373, allocations: 2.433 MB / 0.7703 GB, free: 121.7 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007283/1.374, allocations: 0.7604 MB / 0.771 GB, free: 120.9 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/1.374, allocations: 22 kB / 0.7711 GB, free: 120.9 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/1.374, allocations: 56.55 kB / 0.7711 GB, free: 120.8 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=201): time 3.497e-06/1.374, allocations: 0 / 0.7711 GB, free: 120.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=201): time 0.002061/1.376, allocations: 1.727 MB / 0.7728 GB, free: 119.1 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/1.376, allocations: 77.34 kB / 0.7729 GB, free: 119 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004239/1.376, allocations: 0.5281 MB / 0.7734 GB, free: 118.4 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 9.607e-05/1.376, allocations: 25.7 kB / 0.7734 GB, free: 118.4 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/1.377, allocations: 0.5366 MB / 0.7739 GB, free: 117.9 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004807/1.377, allocations: 0.9322 MB / 0.7748 GB, free: 116.9 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/1.377, allocations: 0 / 0.7748 GB, free: 116.9 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001461/1.377, allocations: 436.5 kB / 0.7753 GB, free: 116.5 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/1.379, allocations: 1.216 MB / 0.7765 GB, free: 115.3 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/1.38, allocations: 1.228 MB / 0.7777 GB, free: 114 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/1.382, allocations: 1.47 MB / 0.7791 GB, free: 112.6 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.382, allocations: 3.938 kB / 0.7791 GB, free: 112.6 MB / 0.5421 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.003239/1.385, allocations: 3.161 MB / 0.7822 GB, free: 109.4 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/1.385, allocations: 4 kB / 0.7822 GB, free: 109.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/1.385, allocations: 0 / 0.7822 GB, free: 109.4 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-05/1.385, allocations: 16 kB / 0.7822 GB, free: 109.3 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002907/1.388, allocations: 0.7957 MB / 0.783 GB, free: 108.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/1.388, allocations: 20 kB / 0.783 GB, free: 108.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/1.39, allocations: 393.3 kB / 0.7834 GB, free: 108.1 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/1.39, allocations: 95 kB / 0.7835 GB, free: 108.1 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.0003132/1.391, allocations: 144.3 kB / 0.7836 GB, free: 107.9 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/1.391, allocations: 146.5 kB / 0.7837 GB, free: 107.8 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0025/1.393, allocations: 1.961 MB / 0.7857 GB, free: 105.8 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/1.393, allocations: 20 kB / 0.7857 GB, free: 105.8 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.393, allocations: 0 / 0.7857 GB, free: 105.8 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/1.393, allocations: 15.95 kB / 0.7857 GB, free: 105.7 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/1.395, allocations: 1.334 MB / 0.787 GB, free: 104.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/1.395, allocations: 0 / 0.787 GB, free: 104.4 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003386/1.399, allocations: 0.5734 MB / 0.7875 GB, free: 103.9 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.506e-05/1.399, allocations: 8 kB / 0.7876 GB, free: 103.8 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001876/1.399, allocations: 115.9 kB / 0.7877 GB, free: 103.7 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.343e-06/1.399, allocations: 7.984 kB / 0.7877 GB, free: 103.7 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/1.399, allocations: 4 kB / 0.7877 GB, free: 103.7 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002684/1.402, allocations: 2.8 MB / 0.7904 GB, free: 100.9 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007835/1.402, allocations: 414.7 kB / 0.7908 GB, free: 100.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003115/1.403, allocations: 79.89 kB / 0.7909 GB, free: 100.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00184/1.405, allocations: 302.5 kB / 0.7912 GB, free: 100.1 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/1.405, allocations: 117.8 kB / 0.7913 GB, free: 99.98 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-05/1.405, allocations: 67.97 kB / 0.7914 GB, free: 99.91 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0003266/1.405, allocations: 427 kB / 0.7918 GB, free: 99.49 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.71e-07/1.405, allocations: 4 kB / 0.7918 GB, free: 99.49 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001407/1.407, allocations: 0.8895 MB / 0.7926 GB, free: 98.6 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.0003012/1.407, allocations: 235.8 kB / 0.7929 GB, free: 98.35 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.002536/1.409, allocations: 2.45 MB / 0.7952 GB, free: 95.91 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.409, allocations: 0 / 0.7952 GB, free: 95.91 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0009271/1.41, allocations: 0.9795 MB / 0.7962 GB, free: 94.93 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/1.413, allocations: 0.8652 MB / 0.797 GB, free: 94.06 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02203/1.435, allocations: 17.61 MB / 0.8142 GB, free: 76.47 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007469/1.436, allocations: 1.585 MB / 0.8158 GB, free: 74.85 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.002013/1.438, allocations: 0.8647 MB / 0.8166 GB, free: 73.98 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005032/1.438, allocations: 143.4 kB / 0.8168 GB, free: 73.84 MB / 0.5421 GB Notification: Performance of SimCode: time 7.91e-07/1.438, allocations: 4 kB / 0.8168 GB, free: 73.84 MB / 0.5421 GB Notification: Performance of Templates: time 0.04382/1.482, allocations: 36.77 MB / 0.8527 GB, free: 37.5 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_200.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches