Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.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.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.2.|TA.3.|TA.40.|TB.1.|TB.2.|TB.3.|TB.40.|TW.1.|TW.2.|TW.3.|der.TA.2..|der.TA.3..|der.TA.40..|der.TB.2..|der.TB.3..|der.TB.40..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.2.|TA.3.|TA.40.|TB.1.|TB.2.|TB.3.|TB.40.|TW.1.|TW.2.|TW.3.|der.TA.2..|der.TA.3..|der.TA.40..|der.TB.2..|der.TB.3..|der.TB.40..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, 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.448/1.448, allocations: 221.3 MB / 235.5 MB, free: 2.953 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.0008824/0.0008826, allocations: 90.48 kB / 286.5 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.192/1.192, allocations: 120.5 MB / 457.9 MB, free: 7.043 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 4.534e-05/4.559e-05, allocations: 3.938 kB / 0.5367 GB, free: 11.21 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7882/0.7883, allocations: 82.83 MB / 0.6176 GB, free: 9.301 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1865/0.9749, allocations: 125.5 MB / 0.7401 GB, free: 11.67 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001775/0.9751, allocations: 51.92 kB / 0.7402 GB, free: 11.62 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.8847/1.86, allocations: 20.42 MB / 0.7601 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.954e-06/1.86, allocations: 0 / 0.7601 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 7.751e-05/1.86, allocations: 21.69 kB / 0.7601 GB, free: 128.1 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: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.00932/1.869, allocations: 2.837 MB / 0.7629 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 6.155e-05/1.869, allocations: 11.38 kB / 0.7629 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/1.871, allocations: 131.7 kB / 0.763 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003/1.874, allocations: 0.6554 MB / 0.7637 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/1.874, allocations: 107.4 kB / 0.7638 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001062/1.875, allocations: 202.2 kB / 0.764 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003723/1.879, allocations: 1.719 MB / 0.7657 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/1.879, allocations: 0 / 0.7657 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/1.879, allocations: 47.09 kB / 0.7657 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/1.879, allocations: 28.66 kB / 0.7657 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/1.881, allocations: 1.541 MB / 0.7672 GB, free: 125.7 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01182/1.893, allocations: 8.764 MB / 0.7758 GB, free: 116.2 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002476/1.896, allocations: 2.05 MB / 0.7778 GB, free: 114.1 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/1.897, allocations: 1.351 MB / 0.7791 GB, free: 112.8 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/1.897, allocations: 22 kB / 0.7791 GB, free: 112.8 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/1.898, allocations: 56.55 kB / 0.7792 GB, free: 112.7 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=199): time 4.699e-06/1.898, allocations: 0 / 0.7792 GB, free: 112.7 MB / 0.5421 GB Notification: Performance of matching and sorting (n=199): time 0.003746/1.901, allocations: 2.344 MB / 0.7815 GB, free: 110.3 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/1.901, allocations: 77.34 kB / 0.7816 GB, free: 110.3 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/1.901, allocations: 150.2 kB / 0.7817 GB, free: 110.1 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0001794/1.902, allocations: 69.7 kB / 0.7818 GB, free: 110 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/1.902, allocations: 219.5 kB / 0.782 GB, free: 109.8 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004986/1.902, allocations: 0.8203 MB / 0.7828 GB, free: 109 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/1.902, allocations: 48 kB / 0.7828 GB, free: 108.9 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.903, allocations: 423.8 kB / 0.7832 GB, free: 108.5 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/1.904, allocations: 1.137 MB / 0.7843 GB, free: 107.4 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/1.906, allocations: 1.306 MB / 0.7856 GB, free: 106.1 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/1.908, allocations: 1.32 MB / 0.7869 GB, free: 104.7 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/1.908, allocations: 4 kB / 0.7869 GB, free: 104.7 MB / 0.5421 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004311/1.912, allocations: 2.897 MB / 0.7897 GB, free: 101.8 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/1.912, allocations: 4 kB / 0.7897 GB, free: 101.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.912, allocations: 4 kB / 0.7897 GB, free: 101.8 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.834e-05/1.912, allocations: 8 kB / 0.7897 GB, free: 101.8 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004403/1.917, allocations: 1.079 MB / 0.7908 GB, free: 100.7 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.651e-05/1.917, allocations: 15.94 kB / 0.7908 GB, free: 100.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/1.919, allocations: 254 kB / 0.7911 GB, free: 100.4 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/1.919, allocations: 68 kB / 0.7911 GB, free: 100.4 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 (317): * Single equations (assignments): 317 * 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.000467/1.919, allocations: 212.5 kB / 0.7913 GB, free: 100.1 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003311/1.92, allocations: 79.16 kB / 0.7914 GB, free: 100.1 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009408/1.921, allocations: 299.5 kB / 0.7917 GB, free: 99.76 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/1.921, allocations: 20 kB / 0.7917 GB, free: 99.74 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-05/1.921, allocations: 4 kB / 0.7917 GB, free: 99.74 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/1.921, allocations: 7.969 kB / 0.7917 GB, free: 99.73 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/1.923, allocations: 1.506 MB / 0.7932 GB, free: 98.23 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/1.923, allocations: 4 kB / 0.7932 GB, free: 98.23 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005368/1.928, allocations: 1.077 MB / 0.7942 GB, free: 97.15 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.306e-05/1.928, allocations: 8 kB / 0.7943 GB, free: 97.14 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002483/1.928, allocations: 87.86 kB / 0.7943 GB, free: 97.06 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.308e-06/1.928, allocations: 8 kB / 0.7943 GB, free: 97.05 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.928, allocations: 3.984 kB / 0.7943 GB, free: 97.05 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005151/1.933, allocations: 3.842 MB / 0.7981 GB, free: 93.18 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/1.934, allocations: 168.6 kB / 0.7983 GB, free: 93 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002611/1.934, allocations: 79.94 kB / 0.7983 GB, free: 92.92 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/1.936, allocations: 131.5 kB / 0.7985 GB, free: 92.79 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003271/1.936, allocations: 113.8 kB / 0.7986 GB, free: 92.68 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/1.936, allocations: 55.97 kB / 0.7986 GB, free: 92.63 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 6.505e-05/1.936, allocations: 101.3 kB / 0.7987 GB, free: 92.53 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.2e-07/1.936, allocations: 0 / 0.7987 GB, free: 92.53 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.00142/1.938, allocations: 0.6168 MB / 0.7993 GB, free: 91.91 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 117 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TAtilde[10],TAtilde[11],TAtilde[12],TAtilde[13],TAtilde[14],TAtilde[15],TAtilde[16],TAtilde[17],TAtilde[18],TAtilde[19],TAtilde[20],TAtilde[21],TAtilde[22],TAtilde[23],TAtilde[24],TAtilde[25],TAtilde[26],TAtilde[27],TAtilde[28],TAtilde[29],TAtilde[30],TAtilde[31],TAtilde[32],TAtilde[33],TAtilde[34],TAtilde[35],TAtilde[36],TAtilde[37],TAtilde[38],TAtilde[39],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TBtilde[10],TBtilde[11],TBtilde[12],TBtilde[13],TBtilde[14],TBtilde[15],TBtilde[16],TBtilde[17],TBtilde[18],TBtilde[19],TBtilde[20],TBtilde[21],TBtilde[22],TBtilde[23],TBtilde[24],TBtilde[25],TBtilde[26],TBtilde[27],TBtilde[28],TBtilde[29],TBtilde[30],TBtilde[31],TBtilde[32],TBtilde[33],TBtilde[34],TBtilde[35],TBtilde[36],TBtilde[37],TBtilde[38],TBtilde[39],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9],TW[10],TW[11],TW[12],TW[13],TW[14],TW[15],TW[16],TW[17],TW[18],TW[19],TW[20],TW[21],TW[22],TW[23],TW[24],TW[25],TW[26],TW[27],TW[28],TW[29],TW[30],TW[31],TW[32],TW[33],TW[34],TW[35],TW[36],TW[37],TW[38],TW[39]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (199): * Single equations (assignments): 199 * 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.0003878/1.938, allocations: 212.1 kB / 0.7995 GB, free: 91.7 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.00379/1.942, allocations: 2.683 MB / 0.8021 GB, free: 89.02 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.942, allocations: 0 / 0.8021 GB, free: 89.02 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001678/1.944, allocations: 1.319 MB / 0.8034 GB, free: 87.7 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009829/1.945, allocations: 248.4 kB / 0.8037 GB, free: 87.45 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/1.956, allocations: 10.31 MB / 0.8137 GB, free: 77.14 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005225/1.957, allocations: 1.17 MB / 0.8149 GB, free: 75.94 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.002894/1.96, allocations: 0.8012 MB / 0.8157 GB, free: 75.13 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007235/1.96, allocations: 91.44 kB / 0.8158 GB, free: 75.04 MB / 0.5421 GB Notification: Performance of SimCode: time 1.142e-06/1.96, allocations: 7.938 kB / 0.8158 GB, free: 75.04 MB / 0.5421 GB Notification: Performance of Templates: time 0.02849/1.989, allocations: 19.96 MB / 0.8353 GB, free: 55.29 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches