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.001168/0.001167, allocations: 93.78 kB / 17.31 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.001412/0.001412, allocations: 174.8 kB / 18.21 MB, free: 5.684 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.292/1.292, allocations: 223.3 MB / 242.2 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9021/0.9021, allocations: 120.5 MB / 413.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003161, allocations: 8 kB / 0.4969 GB, free: 10.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5502/0.5505, allocations: 82.84 MB / 0.5778 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.001299/0.5519, allocations: 1.175 MB / 0.5789 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000257/0.5521, allocations: 100.9 kB / 0.579 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.5522, allocations: 0 / 0.579 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.5523, allocations: 13.2 kB / 0.579 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.5524, allocations: 57.81 kB / 0.5791 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.5526, allocations: 30.88 kB / 0.5791 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005639/0.5532, allocations: 0.7805 MB / 0.5799 GB, free: 40.88 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.655e-05/0.5533, allocations: 4.125 kB / 0.5799 GB, free: 40.88 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002519/0.5535, allocations: 229.2 kB / 0.5801 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004489/0.554, allocations: 325.9 kB / 0.5804 GB, free: 40.6 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.548e-05/0.5541, allocations: 28.62 kB / 0.5804 GB, free: 40.6 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.079e-05/0.5542, allocations: 29.5 kB / 0.5805 GB, free: 40.6 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.5543, allocations: 188.2 kB / 0.5806 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.5545, allocations: 218.6 kB / 0.5809 GB, free: 40.33 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.5548, allocations: 230.4 kB / 0.5811 GB, free: 40.21 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5548, allocations: 0 / 0.5811 GB, free: 40.21 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5548, allocations: 0 / 0.5811 GB, free: 40.21 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.5548, allocations: 0 / 0.5811 GB, free: 40.21 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.002042/0.5569, allocations: 0.8202 MB / 0.5819 GB, free: 39.63 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.5569, allocations: 10.06 kB / 0.5819 GB, free: 39.63 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.874e-05/0.557, allocations: 39.5 kB / 0.5819 GB, free: 39.61 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.5573, allocations: 262.3 kB / 0.5822 GB, free: 39.36 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.5573, allocations: 26.84 kB / 0.5822 GB, free: 39.35 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.233e-05/0.5574, allocations: 49.31 kB / 0.5822 GB, free: 39.33 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007238/0.5582, allocations: 446.6 kB / 0.5827 GB, free: 39.07 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.5582, allocations: 192 / 0.5827 GB, free: 39.07 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.315e-05/0.5582, allocations: 14.47 kB / 0.5827 GB, free: 39.06 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.5583, allocations: 6.312 kB / 0.5827 GB, free: 39.06 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006275/0.5589, allocations: 381.9 kB / 0.5831 GB, free: 38.9 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002776/0.5617, allocations: 2.178 MB / 0.5852 GB, free: 37.01 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007799/0.5625, allocations: 479.7 kB / 0.5856 GB, free: 36.78 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004571/0.5629, allocations: 324.9 kB / 0.5859 GB, free: 36.62 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-05/0.563, allocations: 5.469 kB / 0.586 GB, free: 36.62 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.563, allocations: 42.41 kB / 0.586 GB, free: 36.58 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 2.034e-06/0.5631, allocations: 0 / 0.586 GB, free: 36.58 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001446/0.5645, allocations: 0.7981 MB / 0.5868 GB, free: 36.21 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.5646, allocations: 60.91 kB / 0.5868 GB, free: 36.14 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.5647, allocations: 143.3 kB / 0.587 GB, free: 36.02 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.815e-05/0.5648, allocations: 40.2 kB / 0.587 GB, free: 35.97 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.5648, allocations: 120.7 kB / 0.5871 GB, free: 35.86 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.565, allocations: 201.1 kB / 0.5873 GB, free: 35.68 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.212e-05/0.5651, allocations: 66.92 kB / 0.5874 GB, free: 35.63 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.95e-05/0.5651, allocations: 338.4 kB / 0.5877 GB, free: 35.3 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004596/0.5656, allocations: 284.4 kB / 0.588 GB, free: 35.18 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004463/0.5661, allocations: 335.7 kB / 0.5883 GB, free: 34.91 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007846/0.5668, allocations: 0.6039 MB / 0.5889 GB, free: 34.3 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5669, allocations: 0 / 0.5889 GB, free: 34.3 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001721/0.5686, allocations: 0.7272 MB / 0.5896 GB, free: 33.57 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.5686, allocations: 7.938 kB / 0.5896 GB, free: 33.56 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5686, allocations: 0 / 0.5896 GB, free: 33.56 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.5686, allocations: 8.031 kB / 0.5896 GB, free: 33.55 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009982/0.5697, allocations: 259.7 kB / 0.5899 GB, free: 33.3 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.5697, allocations: 4 kB / 0.5899 GB, free: 33.29 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.5701, allocations: 59.5 kB / 0.5899 GB, free: 33.23 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.619e-05/0.5701, allocations: 16 kB / 0.5899 GB, free: 33.22 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.000146/0.5703, allocations: 161.7 kB / 0.5901 GB, free: 33.05 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.223e-05/0.5703, allocations: 27.66 kB / 0.5901 GB, free: 33.02 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.5706, allocations: 82.27 kB / 0.5902 GB, free: 32.95 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.5706, allocations: 4 kB / 0.5902 GB, free: 32.95 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.5706, allocations: 4 kB / 0.5902 GB, free: 32.94 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.5706, allocations: 0 / 0.5902 GB, free: 32.94 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004619/0.5711, allocations: 465.3 kB / 0.5906 GB, free: 32.44 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.5711, allocations: 4 kB / 0.5906 GB, free: 32.43 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/0.5723, allocations: 263.7 kB / 0.5909 GB, free: 32.18 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.5723, allocations: 4 kB / 0.5909 GB, free: 32.17 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/0.5723, allocations: 19.98 kB / 0.5909 GB, free: 32.15 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.5723, allocations: 0 / 0.5909 GB, free: 32.15 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5723, allocations: 0 / 0.5909 GB, free: 32.15 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.5736, allocations: 1.009 MB / 0.5919 GB, free: 31.12 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.936e-05/0.5736, allocations: 108.7 kB / 0.592 GB, free: 31 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.617e-05/0.5737, allocations: 23.92 kB / 0.592 GB, free: 30.97 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.5741, allocations: 27.89 kB / 0.5921 GB, free: 30.95 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.876e-05/0.5742, allocations: 28.39 kB / 0.5921 GB, free: 30.92 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.5742, allocations: 19.92 kB / 0.5921 GB, free: 30.9 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.687e-05/0.5743, allocations: 95.27 kB / 0.5922 GB, free: 30.8 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5743, allocations: 0 / 0.5922 GB, free: 30.8 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003996/0.5747, allocations: 155.8 kB / 0.5923 GB, free: 30.65 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.0001291/0.5748, allocations: 131.1 kB / 0.5925 GB, free: 30.51 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008879/0.5757, allocations: 0.6347 MB / 0.5931 GB, free: 29.88 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5757, allocations: 0 / 0.5931 GB, free: 29.88 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004016/0.5761, allocations: 314.3 kB / 0.5934 GB, free: 29.58 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.5766, allocations: 68.77 kB / 0.5935 GB, free: 29.51 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.5796, allocations: 2.787 MB / 0.5962 GB, free: 26.68 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.5798, allocations: 0.8036 MB / 0.597 GB, free: 25.85 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.5801, allocations: 31.44 kB / 0.597 GB, free: 25.82 MB / 462.3 MB Notification: Performance of SimCode: time 6.71e-07/0.5801, allocations: 0 / 0.597 GB, free: 25.82 MB / 462.3 MB Notification: Performance of Templates: time 0.008032/0.5882, allocations: 5.372 MB / 0.6022 GB, free: 20.46 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