Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.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_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.20.|TA.2.|TA.3.|TB.1.|TB.20.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.20..|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_20") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.20.|TA.2.|TA.3.|TB.1.|TB.20.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.20..|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_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 96.69 kB / 16.31 MB, free: 6.461 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.001402/0.001402, allocations: 175.5 kB / 17.19 MB, free: 6.348 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.311/1.311, allocations: 223.2 MB / 241.1 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.868/0.868, allocations: 120.5 MB / 412.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003742, allocations: 15.98 kB / 0.4955 GB, free: 9.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.174, allocations: 82.85 MB / 0.5764 GB, free: 6.824 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.001472/0.1755, allocations: 1.123 MB / 0.5775 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003181/0.1758, allocations: 107.7 kB / 0.5776 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.927e-05/0.1759, allocations: 0 / 0.5776 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.176, allocations: 7.984 kB / 0.5776 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.337e-05/0.1761, allocations: 35.86 kB / 0.5776 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.1762, allocations: 27.89 kB / 0.5776 GB, free: 5.516 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007094/0.177, allocations: 0.7487 MB / 0.5784 GB, free: 4.766 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.514e-05/0.177, allocations: 8 kB / 0.5784 GB, free: 4.758 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004678/0.1775, allocations: 455.3 kB / 0.5788 GB, free: 4.312 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006993/0.1782, allocations: 0.4952 MB / 0.5793 GB, free: 3.816 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.1784, allocations: 64 kB / 0.5794 GB, free: 3.754 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.1785, allocations: 60 kB / 0.5794 GB, free: 3.695 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.1788, allocations: 335.3 kB / 0.5797 GB, free: 3.367 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.179, allocations: 129.5 kB / 0.5799 GB, free: 3.234 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004108/0.1794, allocations: 447 kB / 0.5803 GB, free: 2.797 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1794, allocations: 0 / 0.5803 GB, free: 2.797 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.1794, allocations: 0 / 0.5803 GB, free: 2.797 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.798e-05/0.1794, allocations: 4 kB / 0.5803 GB, free: 2.793 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.004882/0.1843, allocations: 1.491 MB / 0.5817 GB, free: 1.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.1844, allocations: 12.03 kB / 0.5818 GB, free: 1.238 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002257/0.1846, allocations: 63.39 kB / 0.5818 GB, free: 1.176 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007186/0.1854, allocations: 346.2 kB / 0.5821 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.689e-05/0.1854, allocations: 61.31 kB / 0.5822 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.1856, allocations: 95.8 kB / 0.5823 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4883/0.6739, allocations: 0.8666 MB / 0.5831 GB, free: 15.81 MB / 446.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.6739, allocations: 1.344 kB / 0.5831 GB, free: 15.81 MB / 446.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.6741, allocations: 21.22 kB / 0.5832 GB, free: 15.81 MB / 446.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.6741, allocations: 13.22 kB / 0.5832 GB, free: 15.81 MB / 446.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/0.6757, allocations: 0.7714 MB / 0.5839 GB, free: 15.81 MB / 446.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006526/0.6822, allocations: 4.358 MB / 0.5882 GB, free: 13.07 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.6843, allocations: 0.9727 MB / 0.5891 GB, free: 12.92 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.155e-05/0.6844, allocations: 16.14 kB / 0.5892 GB, free: 12.92 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.6844, allocations: 47.72 kB / 0.5892 GB, free: 12.88 MB / 446.3 MB Notification: Performance of pre-optimization done (n=99): time 4.088e-06/0.6844, allocations: 0 / 0.5892 GB, free: 12.88 MB / 446.3 MB Notification: Performance of matching and sorting (n=99): time 0.003661/0.6881, allocations: 1.652 MB / 0.5908 GB, free: 12.38 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.6882, allocations: 61.47 kB / 0.5909 GB, free: 12.31 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.6883, allocations: 145.1 kB / 0.591 GB, free: 12.2 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 9.055e-05/0.6884, allocations: 52.42 kB / 0.5911 GB, free: 12.15 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.6886, allocations: 156.9 kB / 0.5912 GB, free: 12.01 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000364/0.6889, allocations: 412.4 kB / 0.5916 GB, free: 11.7 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.39e-05/0.689, allocations: 28.94 kB / 0.5916 GB, free: 11.68 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.6892, allocations: 363.8 kB / 0.592 GB, free: 11.35 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/0.6904, allocations: 0.5648 MB / 0.5925 GB, free: 11.19 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.6917, allocations: 0.6575 MB / 0.5932 GB, free: 10.99 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.6928, allocations: 0.6514 MB / 0.5938 GB, free: 10.77 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.6928, allocations: 0 / 0.5938 GB, free: 10.77 MB / 446.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002506/0.6953, allocations: 1.461 MB / 0.5952 GB, free: 10.29 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.6954, allocations: 9.766 kB / 0.5952 GB, free: 10.29 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.6954, allocations: 0 / 0.5952 GB, free: 10.29 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.6954, allocations: 6.547 kB / 0.5952 GB, free: 10.29 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/0.6977, allocations: 0.5279 MB / 0.5958 GB, free: 10.26 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/0.6977, allocations: 10.19 kB / 0.5958 GB, free: 10.26 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008151/0.6985, allocations: 125.7 kB / 0.5959 GB, free: 10.19 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-05/0.6986, allocations: 33.28 kB / 0.5959 GB, free: 10.18 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 (157): * Single equations (assignments): 157 * 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.0003475/0.699, allocations: 217.6 kB / 0.5961 GB, free: 10.02 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.6991, allocations: 37.28 kB / 0.5962 GB, free: 10.01 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.6994, allocations: 158.3 kB / 0.5963 GB, free: 9.859 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.6994, allocations: 8.625 kB / 0.5963 GB, free: 9.859 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.11e-05/0.6994, allocations: 1.25 kB / 0.5963 GB, free: 9.859 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.6995, allocations: 8.109 kB / 0.5963 GB, free: 9.859 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.7006, allocations: 0.7992 MB / 0.5971 GB, free: 9.5 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.7007, allocations: 0 / 0.5971 GB, free: 9.5 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002764/0.7034, allocations: 0.5252 MB / 0.5976 GB, free: 9.48 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/0.7035, allocations: 4 kB / 0.5976 GB, free: 9.48 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001541/0.7036, allocations: 46.02 kB / 0.5977 GB, free: 9.465 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.779e-06/0.7036, allocations: 4.531 kB / 0.5977 GB, free: 9.465 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.7036, allocations: 0 / 0.5977 GB, free: 9.465 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003476/0.7071, allocations: 1.971 MB / 0.5996 GB, free: 8.723 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.7073, allocations: 123.4 kB / 0.5997 GB, free: 8.598 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.7074, allocations: 42.38 kB / 0.5998 GB, free: 8.582 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007732/0.7082, allocations: 73.86 kB / 0.5998 GB, free: 8.547 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/0.7084, allocations: 53.8 kB / 0.5999 GB, free: 8.543 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.808e-05/0.7085, allocations: 28.42 kB / 0.5999 GB, free: 8.535 MB / 446.3 MB Notification: Performance of sorting global known variables: time 6.132e-05/0.7086, allocations: 95.92 kB / 0.6 GB, free: 8.457 MB / 446.3 MB Notification: Performance of sort global known variables: time 3.6e-07/0.7086, allocations: 0 / 0.6 GB, free: 8.457 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0009312/0.7095, allocations: 312.7 kB / 0.6003 GB, free: 8.414 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (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],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],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]) * 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 (99): * Single equations (assignments): 99 * 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.0002191/0.7097, allocations: 156.8 kB / 0.6005 GB, free: 8.285 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.002467/0.7122, allocations: 1.326 MB / 0.6017 GB, free: 7.914 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7122, allocations: 0 / 0.6017 GB, free: 7.914 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000976/0.7132, allocations: 0.6495 MB / 0.6024 GB, free: 7.707 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005512/0.7138, allocations: 121.5 kB / 0.6025 GB, free: 7.668 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0065/0.7203, allocations: 5.597 MB / 0.608 GB, free: 3.699 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.7206, allocations: 0.9214 MB / 0.6089 GB, free: 2.91 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.001155/0.7218, allocations: 394 kB / 0.6092 GB, free: 2.742 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00034/0.7222, allocations: 49.72 kB / 0.6093 GB, free: 2.738 MB / 446.3 MB Notification: Performance of SimCode: time 8.12e-07/0.7222, allocations: 0 / 0.6093 GB, free: 2.738 MB / 446.3 MB Notification: Performance of Templates: time 0.01536/0.7375, allocations: 9.914 MB / 0.619 GB, free: 12.82 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches