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.001114/0.001114, allocations: 114.4 kB / 16.63 MB, free: 6.812 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.001107/0.001107, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.147/1.147, allocations: 222.9 MB / 241.2 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7441/0.7441, allocations: 119.3 MB / 410.7 MB, free: 9.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 59.91 kB / 0.4918 GB, free: 12.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3712, allocations: 80.68 MB / 0.5706 GB, free: 43.89 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.001953/0.3732, allocations: 1.522 MB / 0.5721 GB, free: 42.69 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000237/0.3734, allocations: 106.2 kB / 0.5722 GB, free: 42.6 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.388e-05/0.3735, allocations: 0 / 0.5722 GB, free: 42.6 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.458e-05/0.3736, allocations: 9.812 kB / 0.5722 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.261e-05/0.3737, allocations: 56.78 kB / 0.5722 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.3738, allocations: 30.92 kB / 0.5723 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006948/0.3745, allocations: 1.212 MB / 0.5734 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.828e-05/0.3746, allocations: 12.61 kB / 0.5734 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003421/0.3749, allocations: 481.5 kB / 0.5739 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005617/0.3755, allocations: 0.5889 MB / 0.5745 GB, free: 41.31 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.3756, allocations: 61.34 kB / 0.5745 GB, free: 41.31 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.3757, allocations: 61.59 kB / 0.5746 GB, free: 41.31 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.3759, allocations: 378.6 kB / 0.575 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002873/0.3762, allocations: 390.2 kB / 0.5753 GB, free: 40.83 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004026/0.3767, allocations: 0.6469 MB / 0.576 GB, free: 40.46 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3767, allocations: 0 / 0.576 GB, free: 40.46 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3767, allocations: 3.938 kB / 0.576 GB, free: 40.46 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.3767, allocations: 5.062 kB / 0.576 GB, free: 40.45 MB / 462.3 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.003879/0.3806, allocations: 1.431 MB / 0.5774 GB, free: 39.55 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.3806, allocations: 14.02 kB / 0.5774 GB, free: 39.55 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.3808, allocations: 64.28 kB / 0.5774 GB, free: 39.52 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003914/0.3812, allocations: 348.4 kB / 0.5778 GB, free: 39.24 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.3812, allocations: 54.12 kB / 0.5778 GB, free: 39.21 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.3814, allocations: 102.2 kB / 0.5779 GB, free: 39.17 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.3825, allocations: 0.8821 MB / 0.5788 GB, free: 38.66 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3825, allocations: 4.188 kB / 0.5788 GB, free: 38.66 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-05/0.3826, allocations: 25 kB / 0.5788 GB, free: 38.64 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.3826, allocations: 12.62 kB / 0.5788 GB, free: 38.64 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.3837, allocations: 0.7715 MB / 0.5796 GB, free: 38.31 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004511/0.3882, allocations: 4.316 MB / 0.5838 GB, free: 34.61 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.3894, allocations: 0.9683 MB / 0.5847 GB, free: 34.16 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007718/0.3902, allocations: 0.6613 MB / 0.5854 GB, free: 33.82 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.81e-05/0.3903, allocations: 11.09 kB / 0.5854 GB, free: 33.82 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.3904, allocations: 47.27 kB / 0.5854 GB, free: 33.77 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 1.733e-06/0.3904, allocations: 0 / 0.5854 GB, free: 33.77 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.002104/0.3925, allocations: 1.65 MB / 0.5871 GB, free: 32.15 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.3925, allocations: 60.41 kB / 0.5871 GB, free: 32.08 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.933e-05/0.3926, allocations: 149.7 kB / 0.5873 GB, free: 31.93 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.247e-05/0.3927, allocations: 49.7 kB / 0.5873 GB, free: 31.87 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.3927, allocations: 157.8 kB / 0.5875 GB, free: 31.71 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.3929, allocations: 414.1 kB / 0.5878 GB, free: 31.3 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/0.3932, allocations: 223 kB / 0.5881 GB, free: 31.08 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.219e-05/0.3932, allocations: 366.8 kB / 0.5884 GB, free: 30.71 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006917/0.3939, allocations: 0.5724 MB / 0.589 GB, free: 30.14 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007236/0.3946, allocations: 0.6716 MB / 0.5896 GB, free: 29.46 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.3961, allocations: 1.254 MB / 0.5908 GB, free: 28.2 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3961, allocations: 0 / 0.5908 GB, free: 28.2 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001712/0.3978, allocations: 1.472 MB / 0.5923 GB, free: 26.72 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3978, allocations: 7.938 kB / 0.5923 GB, free: 26.71 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3978, allocations: 7.938 kB / 0.5923 GB, free: 26.71 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3978, allocations: 4 kB / 0.5923 GB, free: 26.7 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/0.3998, allocations: 0.5268 MB / 0.5928 GB, free: 26.18 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.3998, allocations: 4 kB / 0.5928 GB, free: 26.17 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006928/0.4005, allocations: 123 kB / 0.5929 GB, free: 26.05 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.372e-05/0.4005, allocations: 39.98 kB / 0.593 GB, free: 26.01 MB / 462.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002197/0.4008, allocations: 217.5 kB / 0.5932 GB, free: 25.79 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.4009, allocations: 47.45 kB / 0.5932 GB, free: 25.74 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003278/0.4012, allocations: 148 kB / 0.5934 GB, free: 25.59 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.4012, allocations: 8 kB / 0.5934 GB, free: 25.59 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4012, allocations: 3.984 kB / 0.5934 GB, free: 25.58 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.4012, allocations: 7.984 kB / 0.5934 GB, free: 25.57 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007326/0.402, allocations: 0.7901 MB / 0.5942 GB, free: 24.74 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.402, allocations: 0 / 0.5942 GB, free: 24.74 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/0.4044, allocations: 0.5308 MB / 0.5947 GB, free: 24.21 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4045, allocations: 11.88 kB / 0.5947 GB, free: 24.2 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-05/0.4046, allocations: 43.95 kB / 0.5947 GB, free: 24.15 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.4046, allocations: 4 kB / 0.5947 GB, free: 24.15 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4046, allocations: 0 / 0.5947 GB, free: 24.15 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/0.4067, allocations: 1.964 MB / 0.5967 GB, free: 22.17 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/0.4068, allocations: 128.4 kB / 0.5968 GB, free: 22.03 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.4069, allocations: 35.97 kB / 0.5968 GB, free: 21.99 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007127/0.4076, allocations: 71.69 kB / 0.5969 GB, free: 21.92 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.4078, allocations: 56.92 kB / 0.5969 GB, free: 21.86 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.556e-05/0.4078, allocations: 23.98 kB / 0.597 GB, free: 21.84 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.958e-05/0.4079, allocations: 95.27 kB / 0.597 GB, free: 21.75 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.4079, allocations: 0 / 0.597 GB, free: 21.75 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004666/0.4084, allocations: 311.8 kB / 0.5973 GB, free: 21.44 MB / 462.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001467/0.4085, allocations: 157.7 kB / 0.5975 GB, free: 21.27 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002151/0.4107, allocations: 1.955 MB / 0.5994 GB, free: 19.32 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4107, allocations: 0 / 0.5994 GB, free: 19.32 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007048/0.4114, allocations: 0.6497 MB / 0.6 GB, free: 18.67 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/0.4119, allocations: 138.7 kB / 0.6002 GB, free: 18.54 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004623/0.4166, allocations: 4.867 MB / 0.6049 GB, free: 13.64 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.4168, allocations: 0.9184 MB / 0.6058 GB, free: 12.7 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0008295/0.4176, allocations: 396.5 kB / 0.6062 GB, free: 12.3 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/0.4179, allocations: 47.44 kB / 0.6062 GB, free: 12.26 MB / 462.3 MB Notification: Performance of SimCode: time 3.3e-07/0.418, allocations: 0 / 0.6062 GB, free: 12.26 MB / 462.3 MB Notification: Performance of Templates: time 0.01121/0.4292, allocations: 10.82 MB / 0.6168 GB, free: 1.566 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.makefile (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) 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