Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|der.TA.2..|der.TA.3..|der.TB.1..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|der.TA.2..|der.TA.3..|der.TB.1..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000953/0.0009533, allocations: 91.03 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 181.4 kB / 17.19 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.2 MB / 241.1 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8441/0.8441, allocations: 120.5 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.0003481, allocations: 8 kB / 0.4955 GB, free: 9.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1815, allocations: 82.85 MB / 0.5764 GB, free: 6.816 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.001841/0.1834, allocations: 1.115 MB / 0.5775 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003823/0.1838, allocations: 103.7 kB / 0.5776 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.1839, allocations: 4 kB / 0.5776 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.1841, allocations: 7.922 kB / 0.5776 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.466e-05/0.1842, allocations: 35.88 kB / 0.5776 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.1844, allocations: 31.88 kB / 0.5776 GB, free: 5.512 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004669/0.1849, allocations: 391.3 kB / 0.578 GB, free: 5.129 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.05e-05/0.185, allocations: 8 kB / 0.578 GB, free: 5.121 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003756/0.1853, allocations: 223.6 kB / 0.5782 GB, free: 4.902 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004921/0.1858, allocations: 247.5 kB / 0.5785 GB, free: 4.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.186, allocations: 28 kB / 0.5785 GB, free: 4.633 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.329e-05/0.1861, allocations: 32 kB / 0.5785 GB, free: 4.602 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.1862, allocations: 163.6 kB / 0.5787 GB, free: 4.441 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.1864, allocations: 81.58 kB / 0.5788 GB, free: 4.355 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.1866, allocations: 219.7 kB / 0.579 GB, free: 4.141 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1866, allocations: 0 / 0.579 GB, free: 4.141 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1867, allocations: 0 / 0.579 GB, free: 4.141 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.1867, allocations: 4 kB / 0.579 GB, free: 4.137 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.002371/0.1891, allocations: 0.8271 MB / 0.5798 GB, free: 3.258 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1891, allocations: 8.031 kB / 0.5798 GB, free: 3.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.1893, allocations: 39.58 kB / 0.5798 GB, free: 3.211 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004317/0.1897, allocations: 254.7 kB / 0.5801 GB, free: 2.922 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/0.1897, allocations: 28.56 kB / 0.5801 GB, free: 2.891 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.1899, allocations: 51.84 kB / 0.5801 GB, free: 2.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007863/0.1907, allocations: 440.5 kB / 0.5806 GB, free: 2.406 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1907, allocations: 0 / 0.5806 GB, free: 2.406 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.773e-05/0.1907, allocations: 12 kB / 0.5806 GB, free: 2.395 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.1907, allocations: 8 kB / 0.5806 GB, free: 2.387 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006716/0.1914, allocations: 378 kB / 0.5809 GB, free: 2.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5/0.6914, allocations: 2.17 MB / 0.5831 GB, free: 16.01 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.6925, allocations: 479.5 kB / 0.5835 GB, free: 15.98 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.62e-05/0.6926, allocations: 4.938 kB / 0.5835 GB, free: 15.98 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.6926, allocations: 41.7 kB / 0.5836 GB, free: 15.94 MB / 446.3 MB Notification: Performance of pre-optimization done (n=49): time 2.755e-06/0.6927, allocations: 0 / 0.5836 GB, free: 15.94 MB / 446.3 MB Notification: Performance of matching and sorting (n=49): time 0.001626/0.6943, allocations: 0.8071 MB / 0.5843 GB, free: 15.89 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.6943, allocations: 62.88 kB / 0.5844 GB, free: 15.83 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.6945, allocations: 135.3 kB / 0.5845 GB, free: 15.73 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.6945, allocations: 38.8 kB / 0.5846 GB, free: 15.7 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.6946, allocations: 121.5 kB / 0.5847 GB, free: 15.62 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.6947, allocations: 207.6 kB / 0.5849 GB, free: 15.5 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.6948, allocations: 9.531 kB / 0.5849 GB, free: 15.5 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 7.72e-05/0.6948, allocations: 343.8 kB / 0.5852 GB, free: 15.19 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005437/0.6954, allocations: 273.9 kB / 0.5855 GB, free: 15.19 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005953/0.696, allocations: 328.1 kB / 0.5858 GB, free: 15.16 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006465/0.6967, allocations: 319.5 kB / 0.5861 GB, free: 15.16 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.6967, allocations: 7 kB / 0.5861 GB, free: 15.16 MB / 446.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001339/0.698, allocations: 0.7216 MB / 0.5868 GB, free: 14.94 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.698, allocations: 5.203 kB / 0.5868 GB, free: 14.94 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.6981, allocations: 0.625 kB / 0.5868 GB, free: 14.94 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.6981, allocations: 3.672 kB / 0.5868 GB, free: 14.94 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.6993, allocations: 260.4 kB / 0.5871 GB, free: 14.94 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.6993, allocations: 7.844 kB / 0.5871 GB, free: 14.93 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003899/0.6997, allocations: 59.58 kB / 0.5871 GB, free: 14.9 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/0.6997, allocations: 17.66 kB / 0.5872 GB, free: 14.89 MB / 446.3 MB 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 (77): * Single equations (assignments): 77 * 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.0001906/0.6999, allocations: 167.5 kB / 0.5873 GB, free: 14.76 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.932e-05/0.7, allocations: 20.42 kB / 0.5873 GB, free: 14.75 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.7002, allocations: 77.58 kB / 0.5874 GB, free: 14.69 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.7002, allocations: 4.875 kB / 0.5874 GB, free: 14.69 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.7002, allocations: 0.9375 kB / 0.5874 GB, free: 14.69 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.7002, allocations: 6.578 kB / 0.5874 GB, free: 14.68 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006709/0.7009, allocations: 464.2 kB / 0.5879 GB, free: 14.41 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.7009, allocations: 0.8438 kB / 0.5879 GB, free: 14.41 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/0.7023, allocations: 254.5 kB / 0.5881 GB, free: 14.41 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.7023, allocations: 5.5 kB / 0.5881 GB, free: 14.41 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-05/0.7024, allocations: 27.12 kB / 0.5881 GB, free: 14.4 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.7024, allocations: 3.891 kB / 0.5881 GB, free: 14.4 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7024, allocations: 3.828 kB / 0.5881 GB, free: 14.4 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.704, allocations: 1.011 MB / 0.5891 GB, free: 13.97 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.7041, allocations: 105 kB / 0.5892 GB, free: 13.86 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.873e-05/0.7042, allocations: 17.73 kB / 0.5892 GB, free: 13.86 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003948/0.7046, allocations: 34.38 kB / 0.5893 GB, free: 13.84 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.7047, allocations: 28.98 kB / 0.5893 GB, free: 13.84 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-05/0.7048, allocations: 15.28 kB / 0.5893 GB, free: 13.84 MB / 446.3 MB Notification: Performance of sorting global known variables: time 5.99e-05/0.7048, allocations: 98.53 kB / 0.5894 GB, free: 13.75 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7048, allocations: 0 / 0.5894 GB, free: 13.75 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0005033/0.7053, allocations: 158.9 kB / 0.5896 GB, free: 13.73 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9]) * 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 (49): * Single equations (assignments): 49 * 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.0001716/0.7055, allocations: 121.8 kB / 0.5897 GB, free: 13.62 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.7067, allocations: 0.629 MB / 0.5903 GB, free: 13.45 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7067, allocations: 3.938 kB / 0.5903 GB, free: 13.44 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005116/0.7073, allocations: 315.9 kB / 0.5906 GB, free: 13.35 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.7076, allocations: 58.98 kB / 0.5907 GB, free: 13.34 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003543/0.7112, allocations: 2.726 MB / 0.5933 GB, free: 11.56 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.7115, allocations: 0.8076 MB / 0.5941 GB, free: 10.85 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0005583/0.712, allocations: 177.2 kB / 0.5943 GB, free: 10.84 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.7122, allocations: 27.94 kB / 0.5943 GB, free: 10.84 MB / 446.3 MB Notification: Performance of SimCode: time 7.01e-07/0.7122, allocations: 7.938 kB / 0.5943 GB, free: 10.83 MB / 446.3 MB Notification: Performance of Templates: time 0.009617/0.7219, allocations: 4.916 MB / 0.5991 GB, free: 10.04 MB / 446.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches