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.0009657/0.0009657, allocations: 90.14 kB / 16.65 MB, free: 6.535 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.001072/0.001072, allocations: 178.4 kB / 17.56 MB, free: 6.18 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.233/1.233, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8331/0.8331, allocations: 120.5 MB / 413.2 MB, free: 9.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003048, allocations: 8 kB / 0.4962 GB, free: 10.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.4544, allocations: 82.83 MB / 0.5771 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.001134/0.4555, allocations: 1.172 MB / 0.5783 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002274/0.4558, allocations: 95.75 kB / 0.5784 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.39e-05/0.4558, allocations: 1.188 kB / 0.5784 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.748e-05/0.4559, allocations: 9.297 kB / 0.5784 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.456, allocations: 61.7 kB / 0.5784 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.4562, allocations: 30.36 kB / 0.5785 GB, free: 41.25 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005103/0.4567, allocations: 0.7722 MB / 0.5792 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.725e-05/0.4568, allocations: 5.5 kB / 0.5792 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.457, allocations: 243.8 kB / 0.5795 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004091/0.4574, allocations: 310 kB / 0.5798 GB, free: 40.56 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.132e-05/0.4575, allocations: 29.5 kB / 0.5798 GB, free: 40.56 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.871e-05/0.4576, allocations: 29.5 kB / 0.5798 GB, free: 40.56 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.4577, allocations: 187 kB / 0.58 GB, free: 40.43 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002167/0.458, allocations: 226.5 kB / 0.5802 GB, free: 40.28 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.4583, allocations: 337.1 kB / 0.5805 GB, free: 40.09 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.165e-06/0.4583, allocations: 0 / 0.5805 GB, free: 40.09 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4583, allocations: 0.9375 kB / 0.5805 GB, free: 40.09 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.4583, allocations: 3.938 kB / 0.5805 GB, free: 40.09 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.00196/0.4603, allocations: 0.8283 MB / 0.5813 GB, free: 39.5 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.4603, allocations: 8.812 kB / 0.5813 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.973e-05/0.4604, allocations: 36.78 kB / 0.5814 GB, free: 39.48 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.4607, allocations: 253.2 kB / 0.5816 GB, free: 39.24 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.4607, allocations: 32.06 kB / 0.5817 GB, free: 39.22 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.951e-05/0.4608, allocations: 56.89 kB / 0.5817 GB, free: 39.2 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006579/0.4615, allocations: 446.4 kB / 0.5821 GB, free: 38.94 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.4615, allocations: 192 / 0.5821 GB, free: 38.94 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/0.4616, allocations: 14.47 kB / 0.5821 GB, free: 38.93 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.4616, allocations: 6.312 kB / 0.5822 GB, free: 38.93 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005745/0.4622, allocations: 374.8 kB / 0.5825 GB, free: 38.77 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002503/0.4647, allocations: 2.169 MB / 0.5846 GB, free: 36.89 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007262/0.4654, allocations: 483.2 kB / 0.5851 GB, free: 36.66 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004288/0.4658, allocations: 330.9 kB / 0.5854 GB, free: 36.5 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.282e-05/0.4659, allocations: 5.094 kB / 0.5854 GB, free: 36.5 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.4659, allocations: 41.12 kB / 0.5854 GB, free: 36.45 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.643e-06/0.4659, allocations: 1.125 kB / 0.5855 GB, free: 36.45 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001312/0.4672, allocations: 0.8059 MB / 0.5862 GB, free: 36.07 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.4673, allocations: 59.55 kB / 0.5863 GB, free: 36.01 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.638e-05/0.4674, allocations: 138 kB / 0.5864 GB, free: 35.88 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.4674, allocations: 36.2 kB / 0.5865 GB, free: 35.84 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.4674, allocations: 125.9 kB / 0.5866 GB, free: 35.72 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.4676, allocations: 199.8 kB / 0.5868 GB, free: 35.55 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.153e-05/0.4676, allocations: 70.89 kB / 0.5868 GB, free: 35.5 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.772e-05/0.4677, allocations: 339.7 kB / 0.5872 GB, free: 35.16 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004201/0.4681, allocations: 276.4 kB / 0.5874 GB, free: 35.05 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/0.4686, allocations: 338.2 kB / 0.5877 GB, free: 34.8 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007734/0.4693, allocations: 0.6077 MB / 0.5883 GB, free: 34.19 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.4693, allocations: 0 / 0.5883 GB, free: 34.19 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009379/0.4703, allocations: 0.7195 MB / 0.589 GB, free: 33.46 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.4703, allocations: 4 kB / 0.589 GB, free: 33.46 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4703, allocations: 0 / 0.589 GB, free: 33.46 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.4703, allocations: 4 kB / 0.5891 GB, free: 33.46 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009609/0.4713, allocations: 263.8 kB / 0.5893 GB, free: 33.2 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.4713, allocations: 3.984 kB / 0.5893 GB, free: 33.2 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.4717, allocations: 59.52 kB / 0.5894 GB, free: 33.14 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/0.4718, allocations: 19.94 kB / 0.5894 GB, free: 33.12 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.0001349/0.4719, allocations: 165.7 kB / 0.5895 GB, free: 32.95 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.215e-05/0.472, allocations: 27.66 kB / 0.5896 GB, free: 32.92 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.4722, allocations: 78.28 kB / 0.5896 GB, free: 32.85 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.4722, allocations: 4 kB / 0.5896 GB, free: 32.84 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4722, allocations: 3.938 kB / 0.5897 GB, free: 32.84 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4722, allocations: 3.984 kB / 0.5897 GB, free: 32.84 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004337/0.4727, allocations: 469.3 kB / 0.5901 GB, free: 32.33 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4727, allocations: 0 / 0.5901 GB, free: 32.33 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.4739, allocations: 263.7 kB / 0.5904 GB, free: 32.07 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.4739, allocations: 4 kB / 0.5904 GB, free: 32.07 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.725e-05/0.474, allocations: 19.98 kB / 0.5904 GB, free: 32.05 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.474, allocations: 4 kB / 0.5904 GB, free: 32.04 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.474, allocations: 4 kB / 0.5904 GB, free: 32.04 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.4752, allocations: 1.001 MB / 0.5914 GB, free: 31.02 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.293e-05/0.4752, allocations: 104.7 kB / 0.5915 GB, free: 30.89 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.456e-05/0.4753, allocations: 15.98 kB / 0.5915 GB, free: 30.88 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/0.4757, allocations: 35.88 kB / 0.5915 GB, free: 30.84 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.647e-05/0.4758, allocations: 32.39 kB / 0.5915 GB, free: 30.81 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.4758, allocations: 12 kB / 0.5916 GB, free: 30.8 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.408e-05/0.4759, allocations: 95.97 kB / 0.5916 GB, free: 30.71 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4759, allocations: 0 / 0.5916 GB, free: 30.71 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003641/0.4762, allocations: 155.8 kB / 0.5918 GB, free: 30.55 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.0001075/0.4764, allocations: 127 kB / 0.5919 GB, free: 30.42 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008194/0.4772, allocations: 0.6309 MB / 0.5925 GB, free: 29.79 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4772, allocations: 3.938 kB / 0.5925 GB, free: 29.79 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003961/0.4776, allocations: 318.3 kB / 0.5928 GB, free: 29.48 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.478, allocations: 70.58 kB / 0.5929 GB, free: 29.41 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.4807, allocations: 2.758 MB / 0.5956 GB, free: 26.62 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.4808, allocations: 0.7998 MB / 0.5964 GB, free: 25.79 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0004131/0.4813, allocations: 178.8 kB / 0.5966 GB, free: 25.62 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.4814, allocations: 31.44 kB / 0.5966 GB, free: 25.59 MB / 462.3 MB Notification: Performance of SimCode: time 4.01e-07/0.4815, allocations: 0 / 0.5966 GB, free: 25.59 MB / 462.3 MB Notification: Performance of Templates: time 0.006912/0.4884, allocations: 5.113 MB / 0.6016 GB, free: 20.55 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/jenkins/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