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.001081/0.001081, allocations: 87.86 kB / 16.31 MB, free: 6.188 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.0009665/0.0009668, allocations: 172.3 kB / 17.2 MB, free: 6.02 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.339/1.339, allocations: 223.3 MB / 241.2 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9108/0.9108, allocations: 120.5 MB / 412.8 MB, free: 9.273 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003156, allocations: 8 kB / 0.4956 GB, free: 10.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5003/0.5007, allocations: 82.84 MB / 0.5765 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.001109/0.5018, allocations: 1.147 MB / 0.5776 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002367/0.5021, allocations: 104 kB / 0.5777 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.678e-05/0.5021, allocations: 0 / 0.5777 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.5022, allocations: 13.92 kB / 0.5777 GB, free: 40.95 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.713e-05/0.5023, allocations: 65.27 kB / 0.5778 GB, free: 40.9 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.5025, allocations: 26.77 kB / 0.5778 GB, free: 40.88 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004705/0.5029, allocations: 0.6373 MB / 0.5784 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.903e-05/0.503, allocations: 9.344 kB / 0.5784 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.5032, allocations: 241 kB / 0.5786 GB, free: 40.38 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003648/0.5036, allocations: 328.5 kB / 0.579 GB, free: 40.21 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.331e-05/0.5037, allocations: 29.19 kB / 0.579 GB, free: 40.21 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.926e-05/0.5037, allocations: 28.91 kB / 0.579 GB, free: 40.21 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.5039, allocations: 186.2 kB / 0.5792 GB, free: 40.09 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.943e-05/0.5039, allocations: 77.45 kB / 0.5793 GB, free: 40.05 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.5041, allocations: 233.3 kB / 0.5795 GB, free: 39.93 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.5042, allocations: 0 / 0.5795 GB, free: 39.93 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5042, allocations: 0 / 0.5795 GB, free: 39.93 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.5042, allocations: 5.375 kB / 0.5795 GB, free: 39.92 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.002051/0.5062, allocations: 0.8197 MB / 0.5803 GB, free: 39.34 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.5063, allocations: 13.2 kB / 0.5803 GB, free: 39.34 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.5064, allocations: 41.98 kB / 0.5803 GB, free: 39.31 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.5067, allocations: 253.4 kB / 0.5806 GB, free: 39.07 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.5067, allocations: 27.44 kB / 0.5806 GB, free: 39.06 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.32e-05/0.5068, allocations: 47.22 kB / 0.5807 GB, free: 39.04 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008073/0.5076, allocations: 452.1 kB / 0.5811 GB, free: 38.77 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.5077, allocations: 0 / 0.5811 GB, free: 38.77 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.5077, allocations: 10.75 kB / 0.5811 GB, free: 38.77 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.5077, allocations: 10.42 kB / 0.5811 GB, free: 38.76 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006118/0.5083, allocations: 373.4 kB / 0.5815 GB, free: 38.61 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.5107, allocations: 2.178 MB / 0.5836 GB, free: 36.72 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007024/0.5115, allocations: 477.5 kB / 0.5841 GB, free: 36.49 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004471/0.5119, allocations: 322 kB / 0.5844 GB, free: 36.34 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.527e-05/0.512, allocations: 5.031 kB / 0.5844 GB, free: 36.34 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.512, allocations: 45.73 kB / 0.5844 GB, free: 36.29 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 2.595e-06/0.512, allocations: 0 / 0.5844 GB, free: 36.29 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001383/0.5134, allocations: 0.798 MB / 0.5852 GB, free: 35.92 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.5134, allocations: 57.16 kB / 0.5852 GB, free: 35.86 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.164e-05/0.5135, allocations: 149.1 kB / 0.5854 GB, free: 35.72 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.5136, allocations: 39.92 kB / 0.5854 GB, free: 35.68 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.5136, allocations: 121.8 kB / 0.5855 GB, free: 35.56 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.997e-05/0.5137, allocations: 199.9 kB / 0.5857 GB, free: 35.39 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.5138, allocations: 11.28 kB / 0.5857 GB, free: 35.38 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.691e-05/0.5138, allocations: 345.7 kB / 0.5861 GB, free: 35.04 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004127/0.5142, allocations: 272.8 kB / 0.5863 GB, free: 34.93 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004447/0.5147, allocations: 329.2 kB / 0.5866 GB, free: 34.77 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/0.5152, allocations: 325.1 kB / 0.587 GB, free: 34.62 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.5152, allocations: 4 kB / 0.587 GB, free: 34.62 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001039/0.5162, allocations: 0.7225 MB / 0.5877 GB, free: 34.28 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.5163, allocations: 10.27 kB / 0.5877 GB, free: 34.27 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.5163, allocations: 0 / 0.5877 GB, free: 34.27 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.5163, allocations: 3.781 kB / 0.5877 GB, free: 34.27 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000983/0.5173, allocations: 259.5 kB / 0.5879 GB, free: 34.21 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.5173, allocations: 0 / 0.5879 GB, free: 34.21 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.5176, allocations: 63.53 kB / 0.588 GB, free: 34.15 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/0.5177, allocations: 16 kB / 0.588 GB, free: 34.13 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001271/0.5178, allocations: 165.7 kB / 0.5882 GB, free: 33.96 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.5179, allocations: 15.81 kB / 0.5882 GB, free: 33.95 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.5181, allocations: 78.23 kB / 0.5882 GB, free: 33.88 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.5181, allocations: 4 kB / 0.5883 GB, free: 33.87 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.5181, allocations: 3.984 kB / 0.5883 GB, free: 33.87 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5181, allocations: 4 kB / 0.5883 GB, free: 33.86 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.5185, allocations: 477.3 kB / 0.5887 GB, free: 33.35 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5186, allocations: 0 / 0.5887 GB, free: 33.35 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.5197, allocations: 259.7 kB / 0.589 GB, free: 33.09 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.5197, allocations: 4 kB / 0.589 GB, free: 33.09 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.752e-05/0.5197, allocations: 19.94 kB / 0.589 GB, free: 33.07 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5197, allocations: 0 / 0.589 GB, free: 33.07 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5197, allocations: 4 kB / 0.589 GB, free: 33.07 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.5212, allocations: 1.009 MB / 0.59 GB, free: 32.04 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.5213, allocations: 104.7 kB / 0.5901 GB, free: 31.92 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.066e-05/0.5214, allocations: 23.92 kB / 0.5901 GB, free: 31.89 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004785/0.5218, allocations: 27.92 kB / 0.5901 GB, free: 31.87 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.522, allocations: 32.39 kB / 0.5902 GB, free: 31.84 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-05/0.522, allocations: 12 kB / 0.5902 GB, free: 31.82 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.772e-05/0.5221, allocations: 103.2 kB / 0.5903 GB, free: 31.72 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5221, allocations: 0 / 0.5903 GB, free: 31.72 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005669/0.5227, allocations: 155.8 kB / 0.5904 GB, free: 31.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001403/0.5228, allocations: 111.7 kB / 0.5905 GB, free: 31.45 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.524, allocations: 0.6387 MB / 0.5911 GB, free: 30.81 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.524, allocations: 0 / 0.5911 GB, free: 30.81 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005537/0.5246, allocations: 318.3 kB / 0.5914 GB, free: 30.5 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006175/0.5252, allocations: 63.95 kB / 0.5915 GB, free: 30.44 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003866/0.5291, allocations: 2.732 MB / 0.5942 GB, free: 27.67 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.5293, allocations: 0.7997 MB / 0.595 GB, free: 26.84 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006985/0.53, allocations: 186.8 kB / 0.5951 GB, free: 26.66 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/0.5303, allocations: 27.44 kB / 0.5952 GB, free: 26.63 MB / 462.3 MB Notification: Performance of SimCode: time 6.61e-07/0.5303, allocations: 0 / 0.5952 GB, free: 26.63 MB / 462.3 MB Notification: Performance of Templates: time 0.008511/0.5388, allocations: 4.935 MB / 0.6 GB, free: 21.77 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