Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.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_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|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_OB_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|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_OB_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 106.4 kB / 17.01 MB, free: 5.789 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.001364/0.001364, allocations: 195.5 kB / 17.95 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.4127/0.4127, allocations: 225.7 MB / 244.4 MB, free: 7.227 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5644/0.5644, allocations: 119.5 MB / 414.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009732/0.0009732, allocations: 60.09 kB / 0.4959 GB, free: 12.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.366, allocations: 80.69 MB / 0.5747 GB, free: 57.55 MB / 478.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.00174/0.3678, allocations: 1.451 MB / 0.5761 GB, free: 56.54 MB / 478.2 MB Notification: Performance of NFInst.instExpressions: time 0.0002189/0.368, allocations: 102.4 kB / 0.5762 GB, free: 56.48 MB / 478.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.33e-05/0.3681, allocations: 3.938 kB / 0.5763 GB, free: 56.48 MB / 478.2 MB Notification: Performance of NFTyping.typeComponents: time 7.77e-05/0.3681, allocations: 11.25 kB / 0.5763 GB, free: 56.48 MB / 478.2 MB Notification: Performance of NFTyping.typeBindings: time 9.032e-05/0.3682, allocations: 58.19 kB / 0.5763 GB, free: 56.45 MB / 478.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.3684, allocations: 29.73 kB / 0.5763 GB, free: 56.44 MB / 478.2 MB Notification: Performance of NFFlatten.flatten: time 0.0004581/0.3689, allocations: 0.6375 MB / 0.577 GB, free: 56.26 MB / 478.2 MB Notification: Performance of NFFlatten.resolveConnections: time 4.197e-05/0.3689, allocations: 6.906 kB / 0.577 GB, free: 56.26 MB / 478.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.3691, allocations: 238.9 kB / 0.5772 GB, free: 56.21 MB / 478.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003582/0.3695, allocations: 294.4 kB / 0.5775 GB, free: 56.13 MB / 478.2 MB Notification: Performance of NFPackage.collectConstants: time 5.483e-05/0.3695, allocations: 29.22 kB / 0.5775 GB, free: 56.13 MB / 478.2 MB Notification: Performance of NFFlatten.collectFunctions: time 5.659e-05/0.3696, allocations: 29.91 kB / 0.5775 GB, free: 56.13 MB / 478.2 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.3697, allocations: 187.4 kB / 0.5777 GB, free: 56.08 MB / 478.2 MB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.3699, allocations: 190.5 kB / 0.5779 GB, free: 56 MB / 478.2 MB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.3702, allocations: 338.3 kB / 0.5782 GB, free: 55.93 MB / 478.2 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.3702, allocations: 0 / 0.5782 GB, free: 55.93 MB / 478.2 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3702, allocations: 0 / 0.5782 GB, free: 55.93 MB / 478.2 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3702, allocations: 2.312 kB / 0.5782 GB, free: 55.93 MB / 478.2 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001761/0.372, allocations: 0.8534 MB / 0.5791 GB, free: 55.45 MB / 478.2 MB Notification: Performance of prepare preOptimizeDAE: time 2.494e-05/0.372, allocations: 9.625 kB / 0.5791 GB, free: 55.45 MB / 478.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.117e-05/0.3721, allocations: 31.91 kB / 0.5791 GB, free: 55.43 MB / 478.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.3723, allocations: 261.6 kB / 0.5793 GB, free: 55.21 MB / 478.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.3724, allocations: 28.06 kB / 0.5794 GB, free: 55.2 MB / 478.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-05/0.3724, allocations: 49.23 kB / 0.5794 GB, free: 55.18 MB / 478.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006278/0.3731, allocations: 450.4 kB / 0.5799 GB, free: 55.04 MB / 478.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3731, allocations: 0 / 0.5799 GB, free: 55.04 MB / 478.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/0.3731, allocations: 15.16 kB / 0.5799 GB, free: 55.03 MB / 478.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.3731, allocations: 6.562 kB / 0.5799 GB, free: 55.03 MB / 478.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005339/0.3737, allocations: 378.2 kB / 0.5802 GB, free: 54.93 MB / 478.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002249/0.3759, allocations: 2.153 MB / 0.5823 GB, free: 53.32 MB / 478.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006623/0.3766, allocations: 478.4 kB / 0.5828 GB, free: 53.14 MB / 478.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003956/0.377, allocations: 327.3 kB / 0.5831 GB, free: 53.03 MB / 478.2 MB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/0.377, allocations: 5.75 kB / 0.5831 GB, free: 53.03 MB / 478.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.204e-05/0.3771, allocations: 46.47 kB / 0.5832 GB, free: 52.98 MB / 478.2 MB Notification: Performance of pre-optimization done (n=49): time 1.312e-06/0.3771, allocations: 0 / 0.5832 GB, free: 52.98 MB / 478.2 MB Notification: Performance of matching and sorting (n=49): time 0.001208/0.3783, allocations: 0.7961 MB / 0.5839 GB, free: 52.73 MB / 478.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/0.3783, allocations: 58.44 kB / 0.584 GB, free: 52.66 MB / 478.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.759e-05/0.3784, allocations: 136.4 kB / 0.5841 GB, free: 52.55 MB / 478.2 MB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.3784, allocations: 37.12 kB / 0.5842 GB, free: 52.51 MB / 478.2 MB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/0.3785, allocations: 117.8 kB / 0.5843 GB, free: 52.4 MB / 478.2 MB Notification: Performance of collectInitialBindings (initialization): time 9.689e-05/0.3786, allocations: 206.8 kB / 0.5845 GB, free: 52.24 MB / 478.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.3787, allocations: 116.6 kB / 0.5846 GB, free: 52.18 MB / 478.2 MB Notification: Performance of setup shared object (initialization): time 4.987e-05/0.3788, allocations: 341.5 kB / 0.5849 GB, free: 51.86 MB / 478.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003843/0.3792, allocations: 277 kB / 0.5852 GB, free: 51.79 MB / 478.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004277/0.3796, allocations: 335.4 kB / 0.5855 GB, free: 51.68 MB / 478.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007809/0.3804, allocations: 0.607 MB / 0.5861 GB, free: 51.46 MB / 478.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3804, allocations: 0.9062 kB / 0.5861 GB, free: 51.46 MB / 478.2 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009754/0.3814, allocations: 0.7304 MB / 0.5868 GB, free: 51.13 MB / 478.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.3814, allocations: 5.531 kB / 0.5868 GB, free: 51.13 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3814, allocations: 0.9062 kB / 0.5868 GB, free: 51.13 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3814, allocations: 2.781 kB / 0.5868 GB, free: 51.13 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009311/0.3824, allocations: 257.5 kB / 0.587 GB, free: 51.08 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3824, allocations: 3.781 kB / 0.587 GB, free: 51.08 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.3827, allocations: 66.62 kB / 0.5871 GB, free: 51.03 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.3827, allocations: 16.62 kB / 0.5871 GB, free: 51.03 MB / 478.2 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 (77): * Single equations (assignments): 77 * 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.0001242/0.3829, allocations: 159.5 kB / 0.5873 GB, free: 50.88 MB / 478.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.219e-05/0.3829, allocations: 28.36 kB / 0.5873 GB, free: 50.87 MB / 478.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.3831, allocations: 75.53 kB / 0.5874 GB, free: 50.8 MB / 478.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3831, allocations: 9.047 kB / 0.5874 GB, free: 50.8 MB / 478.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3831, allocations: 1.25 kB / 0.5874 GB, free: 50.8 MB / 478.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3831, allocations: 3.984 kB / 0.5874 GB, free: 50.79 MB / 478.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.3835, allocations: 474 kB / 0.5878 GB, free: 50.42 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3835, allocations: 5.281 kB / 0.5878 GB, free: 50.42 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.3846, allocations: 256.8 kB / 0.5881 GB, free: 50.37 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3846, allocations: 1.281 kB / 0.5881 GB, free: 50.37 MB / 478.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.632e-05/0.3847, allocations: 26.06 kB / 0.5881 GB, free: 50.36 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3847, allocations: 1.25 kB / 0.5881 GB, free: 50.36 MB / 478.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3847, allocations: 5.219 kB / 0.5881 GB, free: 50.35 MB / 478.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.3859, allocations: 1.007 MB / 0.5891 GB, free: 49.82 MB / 478.2 MB Notification: Performance of postOpt removeConstants (simulation): time 3.084e-05/0.3859, allocations: 108 kB / 0.5892 GB, free: 49.7 MB / 478.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.639e-05/0.386, allocations: 17.2 kB / 0.5892 GB, free: 49.69 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.3863, allocations: 25.22 kB / 0.5893 GB, free: 49.68 MB / 478.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.038e-05/0.3864, allocations: 27.09 kB / 0.5893 GB, free: 49.66 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.3864, allocations: 12.33 kB / 0.5893 GB, free: 49.66 MB / 478.2 MB Notification: Performance of sorting global known variables: time 3.185e-05/0.3865, allocations: 100.6 kB / 0.5894 GB, free: 49.57 MB / 478.2 MB Notification: Performance of sort global known variables: time 1e-07/0.3865, allocations: 0 / 0.5894 GB, free: 49.57 MB / 478.2 MB Notification: Performance of remove unused functions: time 0.0003396/0.3868, allocations: 155.6 kB / 0.5895 GB, free: 49.55 MB / 478.2 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9]) * 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 (49): * Single equations (assignments): 49 * 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 9.831e-05/0.3869, allocations: 124.1 kB / 0.5897 GB, free: 49.44 MB / 478.2 MB Notification: Performance of simCode: created initialization part: time 0.0008273/0.3878, allocations: 0.6405 MB / 0.5903 GB, free: 49.18 MB / 478.2 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.3878, allocations: 0 / 0.5903 GB, free: 49.18 MB / 478.2 MB Notification: Performance of simCode: created simulation system equations: time 0.0003828/0.3882, allocations: 316.9 kB / 0.5906 GB, free: 49.04 MB / 478.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.3885, allocations: 71.92 kB / 0.5906 GB, free: 49 MB / 478.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.3907, allocations: 2.26 MB / 0.5929 GB, free: 47.31 MB / 478.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.3909, allocations: 0.7953 MB / 0.5936 GB, free: 46.57 MB / 478.2 MB Notification: Performance of simCode: alias equations: time 0.0003521/0.3913, allocations: 184.2 kB / 0.5938 GB, free: 46.5 MB / 478.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.3915, allocations: 32.59 kB / 0.5938 GB, free: 46.48 MB / 478.2 MB Notification: Performance of SimCode: time 2.31e-07/0.3915, allocations: 3.938 kB / 0.5938 GB, free: 46.48 MB / 478.2 MB Notification: Performance of Templates: time 0.006504/0.398, allocations: 5.515 MB / 0.5992 GB, free: 42.8 MB / 478.2 MB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches