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.001699/0.001699, allocations: 177.1 kB / 13.64 MB, free: 1.676 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.304/1.304, allocations: 221.3 MB / 235.5 MB, free: 2.941 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.0007938/0.0007938, allocations: 92.45 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9092/0.9092, allocations: 120.5 MB / 457.9 MB, free: 7.039 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.353e-05/2.401e-05, allocations: 4 kB / 0.5357 GB, free: 12.19 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5416/0.5416, allocations: 82.84 MB / 0.6166 GB, free: 9.336 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.147/0.6886, allocations: 125.8 MB / 0.7395 GB, free: 11.39 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.6889, allocations: 63.97 kB / 0.7395 GB, free: 11.32 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.6299/1.319, allocations: 25.66 MB / 0.7646 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.363e-06/1.319, allocations: 1.781 kB / 0.7646 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 3.615e-05/1.319, allocations: 31.47 kB / 0.7646 GB, free: 126.4 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.006054/1.325, allocations: 2.625 MB / 0.7672 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/1.325, allocations: 7.25 kB / 0.7672 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004395/1.325, allocations: 231.9 kB / 0.7674 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/1.327, allocations: 0.7111 MB / 0.7681 GB, free: 124 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.03e-05/1.327, allocations: 119.2 kB / 0.7682 GB, free: 123.9 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00033/1.327, allocations: 247.2 kB / 0.7685 GB, free: 123.7 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/1.33, allocations: 1.818 MB / 0.7702 GB, free: 121.8 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/1.33, allocations: 0 / 0.7702 GB, free: 121.8 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/1.33, allocations: 63.98 kB / 0.7703 GB, free: 121.8 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/1.33, allocations: 47.95 kB / 0.7703 GB, free: 121.7 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/1.331, allocations: 1.117 MB / 0.7714 GB, free: 120.6 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01009/1.342, allocations: 5.185 MB / 0.7765 GB, free: 115.4 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002992/1.345, allocations: 2.511 MB / 0.779 GB, free: 112.9 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009083/1.345, allocations: 0.8112 MB / 0.7797 GB, free: 112.1 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/1.346, allocations: 26 kB / 0.7798 GB, free: 112.1 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/1.346, allocations: 52.56 kB / 0.7798 GB, free: 112 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=201): time 4.067e-06/1.346, allocations: 3.938 kB / 0.7798 GB, free: 112 MB / 0.5421 GB Notification: Performance of matching and sorting (n=201): time 0.002429/1.348, allocations: 1.825 MB / 0.7816 GB, free: 110.2 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/1.348, allocations: 74.17 kB / 0.7817 GB, free: 110.1 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005163/1.349, allocations: 0.5625 MB / 0.7822 GB, free: 109.5 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/1.349, allocations: 57.7 kB / 0.7823 GB, free: 109.5 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/1.349, allocations: 0.5366 MB / 0.7828 GB, free: 108.9 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005372/1.35, allocations: 0.9425 MB / 0.7837 GB, free: 108 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/1.35, allocations: 60 kB / 0.7838 GB, free: 107.9 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.35, allocations: 440.5 kB / 0.7842 GB, free: 107.5 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/1.351, allocations: 1.275 MB / 0.7854 GB, free: 106.2 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/1.353, allocations: 1.308 MB / 0.7867 GB, free: 104.9 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/1.354, allocations: 1.543 MB / 0.7882 GB, free: 103.3 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/1.354, allocations: 0 / 0.7882 GB, free: 103.3 MB / 0.5421 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.003851/1.358, allocations: 3.395 MB / 0.7915 GB, free: 99.92 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/1.358, allocations: 8 kB / 0.7916 GB, free: 99.91 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/1.358, allocations: 0 / 0.7916 GB, free: 99.91 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.588e-05/1.358, allocations: 15 kB / 0.7916 GB, free: 99.9 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003009/1.361, allocations: 0.7958 MB / 0.7923 GB, free: 99.1 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.896e-05/1.361, allocations: 12 kB / 0.7924 GB, free: 99.09 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002542/1.364, allocations: 453.3 kB / 0.7928 GB, free: 98.64 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/1.364, allocations: 99.97 kB / 0.7929 GB, free: 98.55 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.0004082/1.365, allocations: 240.3 kB / 0.7931 GB, free: 98.3 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003471/1.365, allocations: 146.5 kB / 0.7933 GB, free: 98.16 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002886/1.368, allocations: 2.11 MB / 0.7953 GB, free: 96.03 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/1.368, allocations: 20 kB / 0.7953 GB, free: 96.01 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/1.368, allocations: 0 / 0.7953 GB, free: 96.01 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/1.368, allocations: 7.969 kB / 0.7953 GB, free: 96 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/1.37, allocations: 1.569 MB / 0.7969 GB, free: 94.45 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/1.37, allocations: 3.984 kB / 0.7969 GB, free: 94.44 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003537/1.373, allocations: 0.5734 MB / 0.7974 GB, free: 93.87 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.966e-05/1.373, allocations: 4 kB / 0.7974 GB, free: 93.86 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002222/1.374, allocations: 131.8 kB / 0.7976 GB, free: 93.73 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/1.374, allocations: 12 kB / 0.7976 GB, free: 93.72 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.374, allocations: 0 / 0.7976 GB, free: 93.72 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003235/1.377, allocations: 2.933 MB / 0.8004 GB, free: 90.75 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009691/1.378, allocations: 406.7 kB / 0.8008 GB, free: 90.34 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002831/1.378, allocations: 111.9 kB / 0.8009 GB, free: 90.23 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001918/1.38, allocations: 334.5 kB / 0.8013 GB, free: 89.9 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/1.38, allocations: 117.8 kB / 0.8014 GB, free: 89.79 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/1.38, allocations: 67.95 kB / 0.8014 GB, free: 89.72 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0004321/1.381, allocations: 459.1 kB / 0.8019 GB, free: 89.28 MB / 0.5421 GB Notification: Performance of sort global known variables: time 3.8e-07/1.381, allocations: 0 / 0.8019 GB, free: 89.28 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001363/1.382, allocations: 0.9793 MB / 0.8028 GB, free: 88.3 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.0003311/1.383, allocations: 279.8 kB / 0.8031 GB, free: 88.01 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.002959/1.386, allocations: 2.573 MB / 0.8056 GB, free: 85.44 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/1.386, allocations: 3.938 kB / 0.8056 GB, free: 85.44 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/1.387, allocations: 1.007 MB / 0.8066 GB, free: 84.43 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/1.389, allocations: 0.9 MB / 0.8075 GB, free: 83.53 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02197/1.411, allocations: 17.69 MB / 0.8247 GB, free: 65.83 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007204/1.412, allocations: 1.586 MB / 0.8263 GB, free: 64.21 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.001979/1.414, allocations: 0.8647 MB / 0.8271 GB, free: 63.34 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005172/1.414, allocations: 147.4 kB / 0.8273 GB, free: 63.2 MB / 0.5421 GB Notification: Performance of SimCode: time 6.51e-07/1.414, allocations: 4 kB / 0.8273 GB, free: 63.19 MB / 0.5421 GB Notification: Performance of Templates: time 0.047/1.461, allocations: 38.21 MB / 0.8646 GB, free: 25.4 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