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.001227/0.001227, allocations: 106.9 kB / 17.16 MB, free: 6.082 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.001206/0.001206, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.272/1.272, allocations: 222.9 MB / 241.8 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.856/0.856, allocations: 119.3 MB / 411.2 MB, free: 9.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.91 kB / 0.4922 GB, free: 12.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.4392, allocations: 80.68 MB / 0.571 GB, free: 43.93 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.00234/0.4416, allocations: 1.541 MB / 0.5725 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002507/0.4419, allocations: 90.69 kB / 0.5726 GB, free: 42.63 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.104e-05/0.442, allocations: 0 / 0.5726 GB, free: 42.63 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.4421, allocations: 9.297 kB / 0.5726 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.4422, allocations: 65.45 kB / 0.5727 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.4424, allocations: 30.83 kB / 0.5727 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0008761/0.4433, allocations: 1.344 MB / 0.574 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.511e-05/0.4433, allocations: 8.125 kB / 0.574 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004241/0.4438, allocations: 466.9 kB / 0.5745 GB, free: 41.63 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007517/0.4445, allocations: 0.5851 MB / 0.575 GB, free: 41.29 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.4447, allocations: 62 kB / 0.5751 GB, free: 41.29 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.4448, allocations: 69.88 kB / 0.5752 GB, free: 41.29 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.4451, allocations: 373.3 kB / 0.5755 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003359/0.4454, allocations: 386.9 kB / 0.5759 GB, free: 40.81 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002823/0.4457, allocations: 446 kB / 0.5763 GB, free: 40.59 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4457, allocations: 0 / 0.5763 GB, free: 40.59 MB / 462.3 MB Notification: Performance of FrontEnd: time 8.81e-07/0.4457, allocations: 0 / 0.5763 GB, free: 40.59 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.4457, allocations: 0 / 0.5763 GB, free: 40.59 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.004155/0.4499, allocations: 1.434 MB / 0.5777 GB, free: 39.68 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.4499, allocations: 13.22 kB / 0.5777 GB, free: 39.67 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.4501, allocations: 61.25 kB / 0.5778 GB, free: 39.65 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004835/0.4506, allocations: 355.9 kB / 0.5781 GB, free: 39.36 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.433e-05/0.4506, allocations: 54.28 kB / 0.5782 GB, free: 39.34 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.4508, allocations: 103.2 kB / 0.5783 GB, free: 39.29 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.4521, allocations: 0.8768 MB / 0.5791 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.4521, allocations: 192 / 0.5791 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.108e-05/0.4522, allocations: 25 kB / 0.5792 GB, free: 38.77 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.4523, allocations: 13.88 kB / 0.5792 GB, free: 38.77 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.4534, allocations: 0.771 MB / 0.5799 GB, free: 38.44 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005111/0.4585, allocations: 4.308 MB / 0.5841 GB, free: 34.75 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.4599, allocations: 0.9758 MB / 0.5851 GB, free: 34.29 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008633/0.4608, allocations: 0.6691 MB / 0.5857 GB, free: 33.95 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-05/0.4609, allocations: 14.03 kB / 0.5858 GB, free: 33.94 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.4609, allocations: 47.56 kB / 0.5858 GB, free: 33.89 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 2.084e-06/0.4609, allocations: 1.188 kB / 0.5858 GB, free: 33.89 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.002377/0.4633, allocations: 1.639 MB / 0.5874 GB, free: 32.32 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.4634, allocations: 64.41 kB / 0.5875 GB, free: 32.25 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.035e-05/0.4634, allocations: 152 kB / 0.5876 GB, free: 32.09 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.12e-05/0.4635, allocations: 49.7 kB / 0.5877 GB, free: 32.04 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.4636, allocations: 153.8 kB / 0.5878 GB, free: 31.88 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.4638, allocations: 414.1 kB / 0.5882 GB, free: 31.47 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002998/0.4641, allocations: 226.9 kB / 0.5884 GB, free: 31.25 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.4642, allocations: 370.7 kB / 0.5888 GB, free: 30.88 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007665/0.4649, allocations: 0.5725 MB / 0.5893 GB, free: 30.3 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007972/0.4657, allocations: 0.6638 MB / 0.59 GB, free: 29.63 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.4673, allocations: 1.25 MB / 0.5912 GB, free: 28.38 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.4673, allocations: 0 / 0.5912 GB, free: 28.38 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001904/0.4692, allocations: 1.472 MB / 0.5926 GB, free: 26.9 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4692, allocations: 9.188 kB / 0.5926 GB, free: 26.89 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4693, allocations: 0 / 0.5926 GB, free: 26.89 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.4693, allocations: 8 kB / 0.5926 GB, free: 26.88 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/0.4714, allocations: 0.5347 MB / 0.5932 GB, free: 26.35 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.4714, allocations: 8 kB / 0.5932 GB, free: 26.34 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007864/0.4722, allocations: 123 kB / 0.5933 GB, free: 26.22 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.846e-05/0.4723, allocations: 36 kB / 0.5933 GB, free: 26.18 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.0002464/0.4725, allocations: 217.5 kB / 0.5935 GB, free: 25.96 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.4726, allocations: 43.47 kB / 0.5936 GB, free: 25.92 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003555/0.473, allocations: 152 kB / 0.5937 GB, free: 25.77 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.473, allocations: 12 kB / 0.5937 GB, free: 25.75 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.473, allocations: 0 / 0.5937 GB, free: 25.75 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.473, allocations: 3.984 kB / 0.5937 GB, free: 25.75 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008542/0.4739, allocations: 0.794 MB / 0.5945 GB, free: 24.91 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4739, allocations: 0 / 0.5945 GB, free: 24.91 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002622/0.4765, allocations: 0.5269 MB / 0.595 GB, free: 24.38 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.4765, allocations: 3.938 kB / 0.595 GB, free: 24.38 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.4767, allocations: 47.94 kB / 0.5951 GB, free: 24.33 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.4767, allocations: 4 kB / 0.5951 GB, free: 24.33 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.4767, allocations: 0 / 0.5951 GB, free: 24.33 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002443/0.4791, allocations: 1.964 MB / 0.597 GB, free: 22.35 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 7.367e-05/0.4792, allocations: 124.4 kB / 0.5971 GB, free: 22.21 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.4793, allocations: 43.97 kB / 0.5972 GB, free: 22.17 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00076/0.4801, allocations: 67.69 kB / 0.5972 GB, free: 22.1 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.4803, allocations: 56.91 kB / 0.5973 GB, free: 22.04 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-05/0.4804, allocations: 28 kB / 0.5973 GB, free: 22.02 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.808e-05/0.4804, allocations: 101.4 kB / 0.5974 GB, free: 21.92 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4804, allocations: 0 / 0.5974 GB, free: 21.92 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005755/0.481, allocations: 311.8 kB / 0.5977 GB, free: 21.61 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.0001788/0.4812, allocations: 153.7 kB / 0.5978 GB, free: 21.45 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001692/0.4829, allocations: 1.326 MB / 0.5991 GB, free: 20.12 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4829, allocations: 0 / 0.5991 GB, free: 20.12 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007987/0.4837, allocations: 0.6537 MB / 0.5998 GB, free: 19.47 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006395/0.4843, allocations: 127.9 kB / 0.5999 GB, free: 19.35 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005177/0.4895, allocations: 4.918 MB / 0.6047 GB, free: 14.39 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.4898, allocations: 0.9202 MB / 0.6056 GB, free: 13.45 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005746/0.4904, allocations: 55.44 kB / 0.6057 GB, free: 13.39 MB / 462.3 MB Notification: Performance of SimCode: time 4.91e-07/0.4904, allocations: 4 kB / 0.6057 GB, free: 13.39 MB / 462.3 MB Notification: Performance of Templates: time 0.01042/0.5008, allocations: 10.66 MB / 0.6161 GB, free: 2.73 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