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.001026/0.00103, allocations: 108.1 kB / 16.51 MB, free: 6.707 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.001084/0.001085, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.267/1.267, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7949/0.7949, allocations: 119.3 MB / 410.6 MB, free: 9.809 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 55.91 kB / 0.4916 GB, free: 12.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4041, allocations: 80.68 MB / 0.5704 GB, free: 43.37 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.001968/0.4061, allocations: 1.529 MB / 0.5719 GB, free: 42.16 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002191/0.4064, allocations: 99.56 kB / 0.572 GB, free: 42.08 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.182e-05/0.4064, allocations: 0 / 0.572 GB, free: 42.08 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.802e-05/0.4065, allocations: 13 kB / 0.572 GB, free: 42.07 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.519e-05/0.4066, allocations: 57.97 kB / 0.572 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.4068, allocations: 31.48 kB / 0.5721 GB, free: 42 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.00077/0.4076, allocations: 1.339 MB / 0.5734 GB, free: 41.29 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.024e-05/0.4076, allocations: 7.844 kB / 0.5734 GB, free: 41.29 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000381/0.408, allocations: 470.4 kB / 0.5738 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006329/0.4086, allocations: 0.595 MB / 0.5744 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.4088, allocations: 64.34 kB / 0.5745 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.409, allocations: 61.56 kB / 0.5745 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002687/0.4092, allocations: 370.7 kB / 0.5749 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003865/0.4096, allocations: 390.5 kB / 0.5753 GB, free: 40.25 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004551/0.4101, allocations: 0.6427 MB / 0.5759 GB, free: 39.89 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4101, allocations: 4 kB / 0.5759 GB, free: 39.88 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4101, allocations: 0 / 0.5759 GB, free: 39.88 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.4101, allocations: 3.938 kB / 0.5759 GB, free: 39.88 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.004142/0.4143, allocations: 1.432 MB / 0.5773 GB, free: 38.98 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.4143, allocations: 9.188 kB / 0.5773 GB, free: 38.98 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.4145, allocations: 61.25 kB / 0.5774 GB, free: 38.96 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.4149, allocations: 350.5 kB / 0.5777 GB, free: 38.67 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.613e-05/0.415, allocations: 59.88 kB / 0.5777 GB, free: 38.64 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/0.4151, allocations: 105.9 kB / 0.5778 GB, free: 38.6 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.4165, allocations: 0.8811 MB / 0.5787 GB, free: 38.09 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4165, allocations: 192 / 0.5787 GB, free: 38.09 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.073e-05/0.4166, allocations: 24.56 kB / 0.5787 GB, free: 38.07 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.4166, allocations: 13.84 kB / 0.5787 GB, free: 38.07 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.4178, allocations: 0.7677 MB / 0.5795 GB, free: 37.74 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005171/0.423, allocations: 4.311 MB / 0.5837 GB, free: 34.04 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.4244, allocations: 0.968 MB / 0.5846 GB, free: 33.59 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008602/0.4252, allocations: 0.6655 MB / 0.5853 GB, free: 33.25 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/0.4254, allocations: 11.25 kB / 0.5853 GB, free: 33.25 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.4254, allocations: 54.62 kB / 0.5854 GB, free: 33.19 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 2.494e-06/0.4254, allocations: 1.094 kB / 0.5854 GB, free: 33.19 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.002506/0.4279, allocations: 1.637 MB / 0.587 GB, free: 32.13 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.4279, allocations: 64.41 kB / 0.587 GB, free: 32.06 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.128e-05/0.428, allocations: 144.3 kB / 0.5872 GB, free: 31.91 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.363e-05/0.4281, allocations: 53.7 kB / 0.5872 GB, free: 31.85 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.4282, allocations: 157.8 kB / 0.5874 GB, free: 31.69 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.4284, allocations: 410.1 kB / 0.5878 GB, free: 31.29 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.4287, allocations: 227 kB / 0.588 GB, free: 31.06 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.827e-05/0.4287, allocations: 370.7 kB / 0.5883 GB, free: 30.69 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007596/0.4295, allocations: 0.5724 MB / 0.5889 GB, free: 30.11 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007996/0.4303, allocations: 0.6676 MB / 0.5895 GB, free: 29.44 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.4319, allocations: 1.258 MB / 0.5908 GB, free: 28.18 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.4319, allocations: 4 kB / 0.5908 GB, free: 28.18 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001887/0.4338, allocations: 1.469 MB / 0.5922 GB, free: 26.7 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.4338, allocations: 11.94 kB / 0.5922 GB, free: 26.69 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.4338, allocations: 0 / 0.5922 GB, free: 26.69 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.4338, allocations: 4 kB / 0.5922 GB, free: 26.68 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/0.436, allocations: 0.5307 MB / 0.5927 GB, free: 26.15 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.436, allocations: 4 kB / 0.5927 GB, free: 26.15 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008141/0.4368, allocations: 127 kB / 0.5929 GB, free: 26.02 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.947e-05/0.4369, allocations: 32 kB / 0.5929 GB, free: 25.99 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.0002558/0.4371, allocations: 221.5 kB / 0.5931 GB, free: 25.77 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.4373, allocations: 47.47 kB / 0.5931 GB, free: 25.72 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003593/0.4376, allocations: 148 kB / 0.5933 GB, free: 25.57 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.4376, allocations: 8 kB / 0.5933 GB, free: 25.56 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.4377, allocations: 4 kB / 0.5933 GB, free: 25.56 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.4377, allocations: 3.984 kB / 0.5933 GB, free: 25.55 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000848/0.4385, allocations: 0.7979 MB / 0.5941 GB, free: 24.71 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4385, allocations: 0 / 0.5941 GB, free: 24.71 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002698/0.4412, allocations: 0.523 MB / 0.5946 GB, free: 24.19 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.4413, allocations: 7.938 kB / 0.5946 GB, free: 24.18 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.4414, allocations: 47.95 kB / 0.5946 GB, free: 24.13 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.4414, allocations: 4 kB / 0.5946 GB, free: 24.13 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4414, allocations: 4 kB / 0.5947 GB, free: 24.12 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/0.4438, allocations: 1.96 MB / 0.5966 GB, free: 22.15 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.211e-05/0.4439, allocations: 128.4 kB / 0.5967 GB, free: 22.01 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.444, allocations: 35.97 kB / 0.5967 GB, free: 21.97 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007608/0.4448, allocations: 71.69 kB / 0.5968 GB, free: 21.9 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/0.445, allocations: 60.91 kB / 0.5969 GB, free: 21.84 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-05/0.445, allocations: 20 kB / 0.5969 GB, free: 21.82 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.755e-05/0.4451, allocations: 95.27 kB / 0.597 GB, free: 21.73 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4451, allocations: 0 / 0.597 GB, free: 21.73 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005717/0.4457, allocations: 311.8 kB / 0.5973 GB, free: 21.42 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.0001572/0.4458, allocations: 157.7 kB / 0.5974 GB, free: 21.25 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.4475, allocations: 1.33 MB / 0.5987 GB, free: 19.93 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4475, allocations: 0 / 0.5987 GB, free: 19.93 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007841/0.4483, allocations: 0.6458 MB / 0.5993 GB, free: 19.28 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006303/0.4489, allocations: 139.9 kB / 0.5995 GB, free: 19.14 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005091/0.454, allocations: 4.873 MB / 0.6042 GB, free: 14.24 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.4543, allocations: 0.916 MB / 0.6051 GB, free: 13.3 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001009/0.4553, allocations: 392.5 kB / 0.6055 GB, free: 12.91 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000382/0.4557, allocations: 51.44 kB / 0.6055 GB, free: 12.86 MB / 462.3 MB Notification: Performance of SimCode: time 4.61e-07/0.4557, allocations: 0 / 0.6055 GB, free: 12.86 MB / 462.3 MB Notification: Performance of Templates: time 0.01249/0.4682, allocations: 10.45 MB / 0.6158 GB, free: 2.531 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