Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001271/0.001271, allocations: 111.4 kB / 17.29 MB, free: 6.219 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.001177/0.001177, allocations: 193.9 kB / 18.21 MB, free: 5.293 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.249/1.249, allocations: 222.9 MB / 241.9 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8756/0.8756, allocations: 119.3 MB / 411.3 MB, free: 9.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 55.91 kB / 0.4924 GB, free: 12.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.447/0.4482, allocations: 80.69 MB / 0.5712 GB, free: 43.86 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.002205/0.4505, allocations: 1.537 MB / 0.5727 GB, free: 42.64 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002698/0.4508, allocations: 99.5 kB / 0.5728 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/0.4508, allocations: 0 / 0.5728 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.4509, allocations: 13.25 kB / 0.5728 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.4511, allocations: 57 kB / 0.5729 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.4513, allocations: 27.05 kB / 0.5729 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0008404/0.4521, allocations: 1.22 MB / 0.5741 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.701e-05/0.4522, allocations: 11.66 kB / 0.5741 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004107/0.4526, allocations: 478 kB / 0.5746 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006591/0.4532, allocations: 0.5933 MB / 0.5751 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.4534, allocations: 60.53 kB / 0.5752 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.4535, allocations: 61.66 kB / 0.5753 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002383/0.4538, allocations: 371.8 kB / 0.5756 GB, free: 41.02 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003318/0.4541, allocations: 388.6 kB / 0.576 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.4544, allocations: 454.5 kB / 0.5764 GB, free: 40.56 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4544, allocations: 2.031 kB / 0.5764 GB, free: 40.56 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.674e-06/0.4545, allocations: 4 kB / 0.5764 GB, free: 40.56 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.4545, allocations: 0 / 0.5764 GB, free: 40.56 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.003959/0.4584, allocations: 1.425 MB / 0.5778 GB, free: 39.66 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.4585, allocations: 12.89 kB / 0.5778 GB, free: 39.66 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.4587, allocations: 61.28 kB / 0.5779 GB, free: 39.63 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.4591, allocations: 360 kB / 0.5782 GB, free: 39.34 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.726e-05/0.4592, allocations: 58.28 kB / 0.5783 GB, free: 39.31 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.4594, allocations: 94.16 kB / 0.5784 GB, free: 39.27 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.4607, allocations: 0.8858 MB / 0.5792 GB, free: 38.76 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.4607, allocations: 192 / 0.5792 GB, free: 38.76 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.943e-05/0.4608, allocations: 24.97 kB / 0.5793 GB, free: 38.74 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.4608, allocations: 17.89 kB / 0.5793 GB, free: 38.74 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.462, allocations: 0.7672 MB / 0.58 GB, free: 38.41 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005167/0.4671, allocations: 4.315 MB / 0.5842 GB, free: 34.71 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.4686, allocations: 0.9686 MB / 0.5852 GB, free: 34.26 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008625/0.4694, allocations: 0.6625 MB / 0.5858 GB, free: 33.93 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.4696, allocations: 13.75 kB / 0.5858 GB, free: 33.92 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.4696, allocations: 47.28 kB / 0.5859 GB, free: 33.87 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 2.494e-06/0.4696, allocations: 4 kB / 0.5859 GB, free: 33.86 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.002354/0.472, allocations: 1.64 MB / 0.5875 GB, free: 32.36 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.472, allocations: 64.41 kB / 0.5876 GB, free: 32.29 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.443e-05/0.4721, allocations: 152.3 kB / 0.5877 GB, free: 32.13 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.96e-05/0.4722, allocations: 49.69 kB / 0.5877 GB, free: 32.07 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.4723, allocations: 157.7 kB / 0.5879 GB, free: 31.91 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/0.4725, allocations: 410.1 kB / 0.5883 GB, free: 31.51 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002956/0.4728, allocations: 231 kB / 0.5885 GB, free: 31.28 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.4728, allocations: 362.8 kB / 0.5889 GB, free: 30.91 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000731/0.4736, allocations: 0.5725 MB / 0.5894 GB, free: 30.34 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000768/0.4743, allocations: 0.6637 MB / 0.5901 GB, free: 29.67 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.4759, allocations: 1.254 MB / 0.5913 GB, free: 28.41 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4759, allocations: 0 / 0.5913 GB, free: 28.41 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001872/0.4778, allocations: 1.476 MB / 0.5927 GB, free: 26.93 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.4778, allocations: 12.7 kB / 0.5927 GB, free: 26.92 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.4778, allocations: 4 kB / 0.5927 GB, free: 26.91 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.4778, allocations: 8 kB / 0.5928 GB, free: 26.91 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002112/0.4799, allocations: 0.519 MB / 0.5933 GB, free: 26.39 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/0.48, allocations: 12 kB / 0.5933 GB, free: 26.38 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008225/0.4808, allocations: 123 kB / 0.5934 GB, free: 26.25 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.06e-05/0.4809, allocations: 40 kB / 0.5934 GB, free: 26.21 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.0002837/0.4812, allocations: 217.5 kB / 0.5936 GB, free: 25.99 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.4813, allocations: 43.47 kB / 0.5937 GB, free: 25.95 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.4816, allocations: 144 kB / 0.5938 GB, free: 25.8 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.4816, allocations: 12 kB / 0.5938 GB, free: 25.79 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.4817, allocations: 0 / 0.5938 GB, free: 25.79 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.4817, allocations: 7.969 kB / 0.5938 GB, free: 25.79 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008388/0.4825, allocations: 0.7979 MB / 0.5946 GB, free: 24.94 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.4825, allocations: 4 kB / 0.5946 GB, free: 24.94 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002571/0.4851, allocations: 0.5269 MB / 0.5951 GB, free: 24.41 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.4851, allocations: 3.938 kB / 0.5951 GB, free: 24.41 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.4852, allocations: 39.97 kB / 0.5952 GB, free: 24.37 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.4852, allocations: 4 kB / 0.5952 GB, free: 24.36 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4852, allocations: 3.984 kB / 0.5952 GB, free: 24.36 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002339/0.4876, allocations: 1.964 MB / 0.5971 GB, free: 22.38 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 7.039e-05/0.4877, allocations: 128.4 kB / 0.5972 GB, free: 22.24 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.4878, allocations: 39.97 kB / 0.5973 GB, free: 22.2 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007707/0.4886, allocations: 63.7 kB / 0.5973 GB, free: 22.14 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.4888, allocations: 60.91 kB / 0.5974 GB, free: 22.07 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.871e-05/0.4888, allocations: 27.98 kB / 0.5974 GB, free: 22.05 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.345e-05/0.4889, allocations: 102.5 kB / 0.5975 GB, free: 21.95 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.4889, allocations: 0 / 0.5975 GB, free: 21.95 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005877/0.4895, allocations: 311.8 kB / 0.5978 GB, free: 21.64 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.0001789/0.4897, allocations: 145.7 kB / 0.5979 GB, free: 21.49 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002409/0.4921, allocations: 1.955 MB / 0.5998 GB, free: 19.54 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4921, allocations: 0 / 0.5998 GB, free: 19.54 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007573/0.4928, allocations: 0.6537 MB / 0.6005 GB, free: 18.88 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005915/0.4934, allocations: 131.9 kB / 0.6006 GB, free: 18.75 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005207/0.4987, allocations: 4.92 MB / 0.6054 GB, free: 13.79 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.4989, allocations: 0.9149 MB / 0.6063 GB, free: 12.86 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005423/0.4995, allocations: 63.38 kB / 0.6064 GB, free: 12.79 MB / 462.3 MB Notification: Performance of SimCode: time 3.31e-07/0.4995, allocations: 3.938 kB / 0.6064 GB, free: 12.79 MB / 462.3 MB Notification: Performance of Templates: time 0.01046/0.51, allocations: 10.66 MB / 0.6168 GB, free: 2.125 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches