Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.CocurrentHeatExchangerEquations_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.20..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.20..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 111.5 kB / 17.28 MB, free: 6.207 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.001277/0.001277, allocations: 197.3 kB / 18.21 MB, free: 5.281 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.294/1.294, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.867/0.867, allocations: 119.3 MB / 411.4 MB, free: 9.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001323, allocations: 59.91 kB / 0.4924 GB, free: 12.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4885/0.4899, allocations: 80.69 MB / 0.5712 GB, free: 43.89 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.002615/0.4925, allocations: 1.528 MB / 0.5727 GB, free: 42.69 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000321/0.4929, allocations: 97.81 kB / 0.5728 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.752e-05/0.4929, allocations: 0.9375 kB / 0.5728 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.4931, allocations: 17.81 kB / 0.5728 GB, free: 42.6 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.4932, allocations: 52.53 kB / 0.5729 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.4934, allocations: 26.03 kB / 0.5729 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0008654/0.4943, allocations: 1.097 MB / 0.574 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.429e-05/0.4944, allocations: 7.312 kB / 0.574 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004875/0.4949, allocations: 393.8 kB / 0.5743 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007465/0.4956, allocations: 0.5766 MB / 0.5749 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.4958, allocations: 61.91 kB / 0.575 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.4959, allocations: 61.47 kB / 0.575 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002564/0.4962, allocations: 369.7 kB / 0.5754 GB, free: 41.19 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003521/0.4965, allocations: 390.3 kB / 0.5758 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003828/0.4969, allocations: 450.2 kB / 0.5762 GB, free: 40.73 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4969, allocations: 1.406 kB / 0.5762 GB, free: 40.73 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4969, allocations: 0 / 0.5762 GB, free: 40.73 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.497, allocations: 4 kB / 0.5762 GB, free: 40.73 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.004312/0.5013, allocations: 1.434 MB / 0.5776 GB, free: 39.82 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.5013, allocations: 14.02 kB / 0.5776 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.5015, allocations: 61.28 kB / 0.5777 GB, free: 39.79 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004912/0.502, allocations: 359.1 kB / 0.578 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.117e-05/0.5021, allocations: 54.28 kB / 0.5781 GB, free: 39.48 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.5023, allocations: 102.3 kB / 0.5782 GB, free: 39.43 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.5037, allocations: 0.8825 MB / 0.579 GB, free: 38.93 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.5037, allocations: 192 / 0.579 GB, free: 38.93 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.207e-05/0.5038, allocations: 23.75 kB / 0.579 GB, free: 38.91 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.5038, allocations: 13.88 kB / 0.5791 GB, free: 38.91 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.505, allocations: 0.7716 MB / 0.5798 GB, free: 38.57 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005512/0.5106, allocations: 4.311 MB / 0.584 GB, free: 34.88 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.5121, allocations: 0.9829 MB / 0.585 GB, free: 34.41 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009555/0.513, allocations: 0.6744 MB / 0.5856 GB, free: 34.07 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.5131, allocations: 10.34 kB / 0.5856 GB, free: 34.07 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.5132, allocations: 48.06 kB / 0.5857 GB, free: 34.02 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 2.294e-06/0.5132, allocations: 0 / 0.5857 GB, free: 34.02 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.00248/0.5157, allocations: 1.658 MB / 0.5873 GB, free: 32.56 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.5157, allocations: 64.41 kB / 0.5874 GB, free: 32.49 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.486e-05/0.5158, allocations: 149.7 kB / 0.5875 GB, free: 32.33 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.828e-05/0.5159, allocations: 49.7 kB / 0.5876 GB, free: 32.28 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.516, allocations: 153.8 kB / 0.5877 GB, free: 32.12 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/0.5162, allocations: 414.1 kB / 0.5881 GB, free: 31.71 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000325/0.5166, allocations: 223 kB / 0.5883 GB, free: 31.49 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.213e-05/0.5166, allocations: 370.8 kB / 0.5887 GB, free: 31.12 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008008/0.5174, allocations: 0.5802 MB / 0.5892 GB, free: 30.54 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007966/0.5183, allocations: 0.6638 MB / 0.5899 GB, free: 29.87 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.5198, allocations: 1.266 MB / 0.5911 GB, free: 28.6 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.5198, allocations: 0 / 0.5911 GB, free: 28.6 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001879/0.5217, allocations: 1.48 MB / 0.5926 GB, free: 27.11 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.5217, allocations: 7.938 kB / 0.5926 GB, free: 27.1 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5217, allocations: 0 / 0.5926 GB, free: 27.1 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.5218, allocations: 8 kB / 0.5926 GB, free: 27.09 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002103/0.5239, allocations: 0.5229 MB / 0.5931 GB, free: 26.57 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.5239, allocations: 8 kB / 0.5931 GB, free: 26.56 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008106/0.5247, allocations: 127 kB / 0.5932 GB, free: 26.44 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.999e-05/0.5248, allocations: 43.98 kB / 0.5933 GB, free: 26.39 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.0002944/0.5251, allocations: 218.4 kB / 0.5935 GB, free: 26.17 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.5252, allocations: 47.41 kB / 0.5935 GB, free: 26.12 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.5255, allocations: 148 kB / 0.5937 GB, free: 25.98 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.5255, allocations: 8 kB / 0.5937 GB, free: 25.97 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.5255, allocations: 0 / 0.5937 GB, free: 25.97 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.5256, allocations: 3.984 kB / 0.5937 GB, free: 25.96 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009147/0.5265, allocations: 0.7979 MB / 0.5944 GB, free: 25.12 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.5265, allocations: 0 / 0.5944 GB, free: 25.12 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00268/0.5292, allocations: 0.5308 MB / 0.595 GB, free: 24.59 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/0.5292, allocations: 7.938 kB / 0.595 GB, free: 24.58 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/0.5293, allocations: 43.95 kB / 0.595 GB, free: 24.54 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.5293, allocations: 0 / 0.595 GB, free: 24.54 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5293, allocations: 0 / 0.595 GB, free: 24.54 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002465/0.5318, allocations: 1.972 MB / 0.5969 GB, free: 22.55 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 7.889e-05/0.5319, allocations: 128.4 kB / 0.5971 GB, free: 22.41 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.532, allocations: 35.97 kB / 0.5971 GB, free: 22.38 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007933/0.5328, allocations: 71.69 kB / 0.5972 GB, free: 22.3 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.533, allocations: 60.91 kB / 0.5972 GB, free: 22.24 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.128e-05/0.5331, allocations: 20 kB / 0.5972 GB, free: 22.22 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.528e-05/0.5332, allocations: 99.27 kB / 0.5973 GB, free: 22.12 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5332, allocations: 0 / 0.5973 GB, free: 22.12 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000615/0.5338, allocations: 311.8 kB / 0.5976 GB, free: 21.82 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.000195/0.534, allocations: 157.7 kB / 0.5978 GB, free: 21.65 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002484/0.5365, allocations: 1.955 MB / 0.5997 GB, free: 19.7 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5365, allocations: 4.062 kB / 0.5997 GB, free: 19.7 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0008086/0.5373, allocations: 0.6576 MB / 0.6003 GB, free: 19.04 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006211/0.5379, allocations: 139.8 kB / 0.6005 GB, free: 18.9 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005361/0.5433, allocations: 4.877 MB / 0.6052 GB, free: 13.98 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.5436, allocations: 0.9267 MB / 0.6061 GB, free: 13.04 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005486/0.5442, allocations: 59.44 kB / 0.6062 GB, free: 12.98 MB / 462.3 MB Notification: Performance of SimCode: time 4.11e-07/0.5442, allocations: 0 / 0.6062 GB, free: 12.98 MB / 462.3 MB Notification: Performance of Templates: time 0.01288/0.5571, allocations: 10.66 MB / 0.6166 GB, free: 2.312 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches