Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.00123/0.00123, allocations: 182.7 kB / 16.39 MB, free: 5.762 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.279/1.279, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008561/0.0008563, allocations: 91.78 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8354/0.8354, allocations: 120.5 MB / 463.1 MB, free: 8.723 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003304, allocations: 11.23 kB / 0.5446 GB, free: 41.21 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1613, allocations: 82.86 MB / 0.6256 GB, free: 7.902 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7332/0.8946, allocations: 125.6 MB / 0.7482 GB, free: 8.703 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000151/0.8948, allocations: 47.05 kB / 0.7482 GB, free: 8.684 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.07084/0.9656, allocations: 20.34 MB / 0.7681 GB, free: 5.82 MB / 0.5263 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9657, allocations: 0 / 0.7681 GB, free: 5.82 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 3.842e-05/0.9657, allocations: 24 kB / 0.7681 GB, free: 5.797 MB / 0.5263 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.008768/0.9745, allocations: 2.86 MB / 0.7709 GB, free: 2.945 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.9745, allocations: 8.031 kB / 0.7709 GB, free: 2.938 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008323/0.9754, allocations: 119.4 kB / 0.771 GB, free: 2.82 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.9782, allocations: 0.6557 MB / 0.7717 GB, free: 2.125 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.9783, allocations: 115.4 kB / 0.7718 GB, free: 2.059 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007533/0.9791, allocations: 209.3 kB / 0.772 GB, free: 1.918 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004144/0.9832, allocations: 1.745 MB / 0.7737 GB, free: 0.5625 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/0.9833, allocations: 0 / 0.7737 GB, free: 0.5625 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002994/0.9836, allocations: 47.61 kB / 0.7737 GB, free: 0.5508 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.828e-05/0.9836, allocations: 31.95 kB / 0.7737 GB, free: 0.5195 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002883/0.9865, allocations: 1.574 MB / 0.7753 GB, free: 15.36 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01353/1, allocations: 8.768 MB / 0.7838 GB, free: 6.172 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003058/1.003, allocations: 2.083 MB / 0.7859 GB, free: 4.781 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/1.003, allocations: 22 kB / 0.7859 GB, free: 4.762 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/1.003, allocations: 48.19 kB / 0.7859 GB, free: 4.719 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=199): time 3.186e-06/1.003, allocations: 4 kB / 0.786 GB, free: 4.715 MB / 0.5419 GB Notification: Performance of matching and sorting (n=199): time 0.006126/1.01, allocations: 3.376 MB / 0.7892 GB, free: 2.227 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/1.01, allocations: 77.41 kB / 0.7893 GB, free: 2.141 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/1.01, allocations: 147.7 kB / 0.7895 GB, free: 2.008 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 0.000265/1.01, allocations: 83.27 kB / 0.7895 GB, free: 1.961 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/1.01, allocations: 214.5 kB / 0.7897 GB, free: 1.773 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007514/1.011, allocations: 0.816 MB / 0.7905 GB, free: 1.059 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/1.011, allocations: 50.19 kB / 0.7906 GB, free: 1.047 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0002264/1.012, allocations: 418 kB / 0.791 GB, free: 0.6719 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001953/1.014, allocations: 1.167 MB / 0.7921 GB, free: 15.82 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002139/1.016, allocations: 1.335 MB / 0.7934 GB, free: 14.84 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002216/1.018, allocations: 1.348 MB / 0.7948 GB, free: 13.91 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/1.018, allocations: 0 / 0.7948 GB, free: 13.91 MB / 0.5575 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004864/1.023, allocations: 2.95 MB / 0.7976 GB, free: 11.73 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/1.023, allocations: 7.125 kB / 0.7976 GB, free: 11.73 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/1.023, allocations: 0 / 0.7976 GB, free: 11.73 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.762e-05/1.023, allocations: 12 kB / 0.7977 GB, free: 11.72 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00495/1.028, allocations: 1.08 MB / 0.7987 GB, free: 10.66 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.627e-05/1.028, allocations: 12 kB / 0.7987 GB, free: 10.64 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/1.03, allocations: 260.2 kB / 0.799 GB, free: 10.43 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003072/1.03, allocations: 71.31 kB / 0.799 GB, free: 10.38 MB / 0.5575 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 () * Number of clocked 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.0008112/1.031, allocations: 330.4 kB / 0.7993 GB, free: 10.11 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003774/1.031, allocations: 79.14 kB / 0.7994 GB, free: 10.03 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000807/1.032, allocations: 295.6 kB / 0.7997 GB, free: 10.01 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/1.032, allocations: 20 kB / 0.7997 GB, free: 9.988 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/1.032, allocations: 0 / 0.7997 GB, free: 9.988 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.025e-05/1.032, allocations: 7.969 kB / 0.7997 GB, free: 9.98 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/1.035, allocations: 1.504 MB / 0.8012 GB, free: 8.715 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/1.035, allocations: 4 kB / 0.8012 GB, free: 8.711 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006137/1.041, allocations: 1.077 MB / 0.8023 GB, free: 7.652 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.68e-05/1.041, allocations: 8 kB / 0.8023 GB, free: 7.645 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004398/1.041, allocations: 87.11 kB / 0.8023 GB, free: 7.586 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.168e-05/1.041, allocations: 11.98 kB / 0.8024 GB, free: 7.574 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.041, allocations: 0 / 0.8024 GB, free: 7.574 MB / 0.5575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006344/1.048, allocations: 3.904 MB / 0.8062 GB, free: 4.742 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/1.048, allocations: 163.9 kB / 0.8063 GB, free: 4.562 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002968/1.048, allocations: 78.75 kB / 0.8064 GB, free: 4.512 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001824/1.05, allocations: 134.8 kB / 0.8065 GB, free: 4.402 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003439/1.051, allocations: 109.4 kB / 0.8066 GB, free: 4.309 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001762/1.051, allocations: 59.41 kB / 0.8067 GB, free: 4.266 MB / 0.5575 GB Notification: Performance of sorting global known variables: time 7.531e-05/1.051, allocations: 104.5 kB / 0.8068 GB, free: 4.168 MB / 0.5575 GB Notification: Performance of sort global known variables: time 1.4e-07/1.051, allocations: 0 / 0.8068 GB, free: 4.168 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.00145/1.052, allocations: 0.618 MB / 0.8074 GB, free: 3.613 MB / 0.5575 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 () * Number of clocked 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.0004068/1.053, allocations: 211.1 kB / 0.8076 GB, free: 3.43 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.004452/1.057, allocations: 2.739 MB / 0.8103 GB, free: 1.406 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.057, allocations: 3.938 kB / 0.8103 GB, free: 1.402 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.001944/1.059, allocations: 1.348 MB / 0.8116 GB, free: 452 kB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/1.06, allocations: 237.8 kB / 0.8118 GB, free: 268 kB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/1.075, allocations: 11.44 MB / 0.823 GB, free: 5.051 MB / 0.5732 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008016/1.076, allocations: 1.166 MB / 0.8241 GB, free: 3.863 MB / 0.5732 GB Notification: Performance of simCode: alias equations: time 0.003465/1.079, allocations: 0.8051 MB / 0.8249 GB, free: 3.055 MB / 0.5732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/1.08, allocations: 95.44 kB / 0.825 GB, free: 2.961 MB / 0.5732 GB Notification: Performance of SimCode: time 1.542e-06/1.08, allocations: 0 / 0.825 GB, free: 2.961 MB / 0.5732 GB Notification: Performance of Templates: time 0.0306/1.111, allocations: 19.94 MB / 0.8445 GB, free: 15.23 MB / 0.6044 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches