Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001828/0.001828, allocations: 94.72 kB / 16.3 MB, free: 5.992 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.001974/0.001975, allocations: 184.4 kB / 17.2 MB, free: 5.914 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.445/1.445, allocations: 223.2 MB / 241.1 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9498/0.9498, allocations: 120.5 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005259/0.000526, allocations: 11.98 kB / 0.4955 GB, free: 9.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1997, allocations: 82.84 MB / 0.5764 GB, free: 6.805 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.001423/0.2011, allocations: 1.112 MB / 0.5774 GB, free: 5.684 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002887/0.2014, allocations: 103.8 kB / 0.5775 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.2015, allocations: 0 / 0.5775 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.2016, allocations: 15.92 kB / 0.5776 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.097e-05/0.2017, allocations: 23.92 kB / 0.5776 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.2019, allocations: 35.89 kB / 0.5776 GB, free: 5.508 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004018/0.2023, allocations: 391.3 kB / 0.578 GB, free: 5.125 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.077e-05/0.2023, allocations: 7.938 kB / 0.578 GB, free: 5.117 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002541/0.2026, allocations: 223.6 kB / 0.5782 GB, free: 4.898 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004005/0.203, allocations: 255.5 kB / 0.5785 GB, free: 4.648 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.077e-05/0.2031, allocations: 32 kB / 0.5785 GB, free: 4.617 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.39e-05/0.2032, allocations: 28 kB / 0.5785 GB, free: 4.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.2033, allocations: 167.6 kB / 0.5787 GB, free: 4.426 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.819e-05/0.2034, allocations: 77.58 kB / 0.5787 GB, free: 4.344 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.2036, allocations: 219.7 kB / 0.579 GB, free: 4.129 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.2036, allocations: 0 / 0.579 GB, free: 4.129 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.2037, allocations: 0 / 0.579 GB, free: 4.129 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.2037, allocations: 0 / 0.579 GB, free: 4.129 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.002243/0.2059, allocations: 0.8271 MB / 0.5798 GB, free: 3.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.206, allocations: 8.031 kB / 0.5798 GB, free: 3.242 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.93e-05/0.2061, allocations: 39.58 kB / 0.5798 GB, free: 3.203 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.2064, allocations: 266.4 kB / 0.5801 GB, free: 2.906 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.2065, allocations: 24.56 kB / 0.5801 GB, free: 2.879 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-05/0.2066, allocations: 43.91 kB / 0.5801 GB, free: 2.836 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007109/0.2073, allocations: 444.5 kB / 0.5806 GB, free: 2.398 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2073, allocations: 0 / 0.5806 GB, free: 2.398 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.311e-05/0.2074, allocations: 12 kB / 0.5806 GB, free: 2.387 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.2074, allocations: 8 kB / 0.5806 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006417/0.208, allocations: 381.9 kB / 0.5809 GB, free: 2.008 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5609/0.7689, allocations: 2.168 MB / 0.5831 GB, free: 15.98 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.77, allocations: 475.6 kB / 0.5835 GB, free: 15.95 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.655e-05/0.77, allocations: 7.156 kB / 0.5835 GB, free: 15.95 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.7701, allocations: 42.23 kB / 0.5836 GB, free: 15.91 MB / 446.3 MB Notification: Performance of pre-optimization done (n=49): time 3.016e-06/0.7701, allocations: 3.438 kB / 0.5836 GB, free: 15.91 MB / 446.3 MB Notification: Performance of matching and sorting (n=49): time 0.001614/0.7717, allocations: 0.8072 MB / 0.5843 GB, free: 15.87 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.7717, allocations: 56.59 kB / 0.5844 GB, free: 15.8 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.7718, allocations: 136.4 kB / 0.5845 GB, free: 15.71 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 4.452e-05/0.7719, allocations: 40.27 kB / 0.5846 GB, free: 15.68 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.628e-05/0.772, allocations: 120.7 kB / 0.5847 GB, free: 15.59 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.7721, allocations: 203.7 kB / 0.5849 GB, free: 15.47 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.7722, allocations: 16.66 kB / 0.5849 GB, free: 15.47 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 8.481e-05/0.7723, allocations: 344.4 kB / 0.5852 GB, free: 15.16 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005309/0.7728, allocations: 273.8 kB / 0.5855 GB, free: 15.16 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005845/0.7734, allocations: 326.3 kB / 0.5858 GB, free: 15.14 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006199/0.774, allocations: 318.4 kB / 0.5861 GB, free: 15.13 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.774, allocations: 0 / 0.5861 GB, free: 15.13 MB / 446.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001304/0.7753, allocations: 0.7251 MB / 0.5868 GB, free: 14.92 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.7754, allocations: 5.734 kB / 0.5868 GB, free: 14.92 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.7754, allocations: 1.188 kB / 0.5868 GB, free: 14.92 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.7754, allocations: 7.375 kB / 0.5868 GB, free: 14.91 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.7766, allocations: 262.2 kB / 0.5871 GB, free: 14.91 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.7766, allocations: 3.859 kB / 0.5871 GB, free: 14.91 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.777, allocations: 58.88 kB / 0.5871 GB, free: 14.88 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/0.7771, allocations: 17.47 kB / 0.5871 GB, free: 14.87 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.0002014/0.7773, allocations: 162.8 kB / 0.5873 GB, free: 14.74 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.206e-05/0.7774, allocations: 24.31 kB / 0.5873 GB, free: 14.73 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001978/0.7776, allocations: 78.81 kB / 0.5874 GB, free: 14.66 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.7776, allocations: 9.078 kB / 0.5874 GB, free: 14.66 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.7776, allocations: 0 / 0.5874 GB, free: 14.66 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.7776, allocations: 7.703 kB / 0.5874 GB, free: 14.66 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007269/0.7784, allocations: 467.7 kB / 0.5879 GB, free: 14.39 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.7784, allocations: 0 / 0.5879 GB, free: 14.39 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/0.7798, allocations: 255.4 kB / 0.5881 GB, free: 14.38 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.7798, allocations: 2.375 kB / 0.5881 GB, free: 14.38 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-05/0.7799, allocations: 18.47 kB / 0.5881 GB, free: 14.38 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.7799, allocations: 6.516 kB / 0.5881 GB, free: 14.37 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.7799, allocations: 0.5625 kB / 0.5881 GB, free: 14.37 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.7816, allocations: 1.012 MB / 0.5891 GB, free: 13.95 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.7817, allocations: 105 kB / 0.5892 GB, free: 13.84 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.903e-05/0.7818, allocations: 20.36 kB / 0.5892 GB, free: 13.83 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003927/0.7822, allocations: 30 kB / 0.5893 GB, free: 13.82 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.7823, allocations: 34.69 kB / 0.5893 GB, free: 13.81 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/0.7823, allocations: 18.91 kB / 0.5893 GB, free: 13.81 MB / 446.3 MB Notification: Performance of sorting global known variables: time 5.683e-05/0.7824, allocations: 95.23 kB / 0.5894 GB, free: 13.73 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.01e-07/0.7824, allocations: 0 / 0.5894 GB, free: 13.73 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0005201/0.7829, allocations: 155.1 kB / 0.5896 GB, free: 13.71 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.0001588/0.7831, allocations: 117.9 kB / 0.5897 GB, free: 13.61 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.7843, allocations: 0.6362 MB / 0.5903 GB, free: 13.43 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7843, allocations: 0 / 0.5903 GB, free: 13.43 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005401/0.7849, allocations: 321.9 kB / 0.5906 GB, free: 13.33 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.7852, allocations: 57.73 kB / 0.5907 GB, free: 13.32 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003477/0.7887, allocations: 2.736 MB / 0.5933 GB, free: 11.54 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.789, allocations: 0.8007 MB / 0.5941 GB, free: 10.84 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0005894/0.7896, allocations: 180.7 kB / 0.5943 GB, free: 10.82 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.7898, allocations: 28.84 kB / 0.5943 GB, free: 10.82 MB / 446.3 MB Notification: Performance of SimCode: time 9.92e-07/0.7898, allocations: 0 / 0.5943 GB, free: 10.82 MB / 446.3 MB Notification: Performance of Templates: time 0.009353/0.7992, allocations: 4.927 MB / 0.5991 GB, free: 9.988 MB / 446.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches