Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001351/0.00135, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.001571/0.001571, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.299/1.299, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8249/0.8249, allocations: 119.3 MB / 411.2 MB, free: 9.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 59.91 kB / 0.4922 GB, free: 12.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4551/0.4565, allocations: 80.69 MB / 0.571 GB, free: 43.92 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.002292/0.4588, allocations: 1.52 MB / 0.5725 GB, free: 42.72 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002762/0.4591, allocations: 98.91 kB / 0.5726 GB, free: 42.64 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.94e-05/0.4591, allocations: 0 / 0.5726 GB, free: 42.64 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.4593, allocations: 9.297 kB / 0.5726 GB, free: 42.63 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.4594, allocations: 58.89 kB / 0.5727 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.4596, allocations: 30.17 kB / 0.5727 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005652/0.4602, allocations: 0.7717 MB / 0.5734 GB, free: 42.16 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.659e-05/0.4602, allocations: 9.984 kB / 0.5735 GB, free: 42.16 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.4605, allocations: 236.4 kB / 0.5737 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003842/0.4609, allocations: 321.4 kB / 0.574 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.534e-05/0.4609, allocations: 29.44 kB / 0.574 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.021e-05/0.461, allocations: 29.91 kB / 0.574 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.4612, allocations: 182.2 kB / 0.5742 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.4614, allocations: 197.9 kB / 0.5744 GB, free: 41.63 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.4616, allocations: 224.7 kB / 0.5746 GB, free: 41.52 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4616, allocations: 0 / 0.5746 GB, free: 41.52 MB / 462.3 MB Notification: Performance of FrontEnd: time 8.71e-07/0.4616, allocations: 1.156 kB / 0.5746 GB, free: 41.52 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.4616, allocations: 0 / 0.5746 GB, free: 41.52 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.002147/0.4638, allocations: 0.854 MB / 0.5755 GB, free: 40.9 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.4638, allocations: 9.938 kB / 0.5755 GB, free: 40.9 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.317e-05/0.4639, allocations: 35 kB / 0.5755 GB, free: 40.88 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.4642, allocations: 257.3 kB / 0.5757 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.4643, allocations: 28.03 kB / 0.5758 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.784e-05/0.4644, allocations: 48.88 kB / 0.5758 GB, free: 40.61 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006905/0.4651, allocations: 446.4 kB / 0.5762 GB, free: 40.35 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4651, allocations: 192 / 0.5762 GB, free: 40.35 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.325e-05/0.4651, allocations: 14.69 kB / 0.5763 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.4651, allocations: 6.875 kB / 0.5763 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000614/0.4658, allocations: 378.4 kB / 0.5766 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002683/0.4685, allocations: 2.158 MB / 0.5787 GB, free: 38.29 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008539/0.4693, allocations: 482.1 kB / 0.5792 GB, free: 38.05 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004953/0.4698, allocations: 323.6 kB / 0.5795 GB, free: 37.9 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.304e-05/0.4699, allocations: 5.156 kB / 0.5795 GB, free: 37.9 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.4699, allocations: 49.45 kB / 0.5795 GB, free: 37.84 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.963e-06/0.4699, allocations: 0 / 0.5795 GB, free: 37.84 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001396/0.4713, allocations: 0.7992 MB / 0.5803 GB, free: 37.48 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.4714, allocations: 56.88 kB / 0.5804 GB, free: 37.41 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.371e-05/0.4715, allocations: 135.9 kB / 0.5805 GB, free: 37.29 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.4715, allocations: 36.23 kB / 0.5805 GB, free: 37.25 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.232e-05/0.4716, allocations: 121.9 kB / 0.5807 GB, free: 37.13 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.4717, allocations: 203.8 kB / 0.5809 GB, free: 36.95 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.4719, allocations: 118.7 kB / 0.581 GB, free: 36.88 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.249e-05/0.4719, allocations: 339.6 kB / 0.5813 GB, free: 36.55 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004298/0.4724, allocations: 284.3 kB / 0.5816 GB, free: 36.43 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004483/0.4728, allocations: 331.6 kB / 0.5819 GB, free: 36.27 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008931/0.4737, allocations: 0.6039 MB / 0.5825 GB, free: 35.98 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4737, allocations: 4.938 kB / 0.5825 GB, free: 35.98 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001114/0.4748, allocations: 0.7353 MB / 0.5832 GB, free: 35.63 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.4749, allocations: 4.719 kB / 0.5832 GB, free: 35.63 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4749, allocations: 1.219 kB / 0.5832 GB, free: 35.63 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.4749, allocations: 7.359 kB / 0.5832 GB, free: 35.63 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.476, allocations: 257.2 kB / 0.5835 GB, free: 35.58 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.476, allocations: 3.469 kB / 0.5835 GB, free: 35.58 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.4764, allocations: 60.75 kB / 0.5835 GB, free: 35.54 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.4765, allocations: 17.22 kB / 0.5835 GB, free: 35.54 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 (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.0001422/0.4766, allocations: 162.7 kB / 0.5837 GB, free: 35.39 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.006e-05/0.4767, allocations: 24.5 kB / 0.5837 GB, free: 35.38 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/0.4769, allocations: 75.39 kB / 0.5838 GB, free: 35.31 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.4769, allocations: 6.031 kB / 0.5838 GB, free: 35.31 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.4769, allocations: 0 / 0.5838 GB, free: 35.31 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4769, allocations: 4 kB / 0.5838 GB, free: 35.3 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005033/0.4774, allocations: 479 kB / 0.5842 GB, free: 34.93 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.4774, allocations: 0 / 0.5842 GB, free: 34.93 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/0.4788, allocations: 256.2 kB / 0.5845 GB, free: 34.88 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.4788, allocations: 1.938 kB / 0.5845 GB, free: 34.88 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-05/0.4788, allocations: 22.38 kB / 0.5845 GB, free: 34.87 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.4789, allocations: 1.656 kB / 0.5845 GB, free: 34.87 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4789, allocations: 0 / 0.5845 GB, free: 34.87 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.4803, allocations: 1.007 MB / 0.5855 GB, free: 34.33 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.4804, allocations: 112.2 kB / 0.5856 GB, free: 34.21 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.605e-05/0.4805, allocations: 20.8 kB / 0.5856 GB, free: 34.2 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/0.4809, allocations: 31.25 kB / 0.5857 GB, free: 34.18 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.481, allocations: 22.28 kB / 0.5857 GB, free: 34.17 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/0.481, allocations: 18.08 kB / 0.5857 GB, free: 34.16 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.055e-05/0.4811, allocations: 105.3 kB / 0.5858 GB, free: 34.06 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4811, allocations: 0 / 0.5858 GB, free: 34.06 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003956/0.4815, allocations: 148 kB / 0.5859 GB, free: 33.92 MB / 462.3 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 0.0001207/0.4816, allocations: 119.1 kB / 0.5861 GB, free: 33.79 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008472/0.4825, allocations: 0.6348 MB / 0.5867 GB, free: 33.16 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4825, allocations: 8 kB / 0.5867 GB, free: 33.15 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003968/0.4829, allocations: 318.3 kB / 0.587 GB, free: 32.84 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.4833, allocations: 67.77 kB / 0.587 GB, free: 32.77 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.486, allocations: 2.416 MB / 0.5894 GB, free: 30.32 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.4862, allocations: 0.7959 MB / 0.5902 GB, free: 29.5 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/0.4865, allocations: 31.44 kB / 0.5902 GB, free: 29.46 MB / 462.3 MB Notification: Performance of SimCode: time 4.51e-07/0.4865, allocations: 0 / 0.5902 GB, free: 29.46 MB / 462.3 MB Notification: Performance of Templates: time 0.005701/0.4922, allocations: 5.405 MB / 0.5955 GB, free: 24.07 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches