Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.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_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.20.|TA.2.|TA.3.|TB.1.|TB.20.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.20..|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_20") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.20.|TA.2.|TA.3.|TB.1.|TB.20.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.20..|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_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 109.1 kB / 17.28 MB, free: 6.059 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.001178/0.001178, allocations: 193.3 kB / 18.21 MB, free: 5.145 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.238/1.238, allocations: 222.9 MB / 241.9 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.859/0.859, allocations: 119.3 MB / 411.4 MB, free: 9.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 59.91 kB / 0.4924 GB, free: 12.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5193/0.5207, allocations: 80.68 MB / 0.5712 GB, free: 43.88 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.002215/0.5229, allocations: 1.531 MB / 0.5727 GB, free: 42.67 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002568/0.5232, allocations: 93.67 kB / 0.5728 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.796e-05/0.5233, allocations: 5.312 kB / 0.5728 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.5234, allocations: 13.45 kB / 0.5728 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.5235, allocations: 52.39 kB / 0.5729 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.5237, allocations: 34.53 kB / 0.5729 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000847/0.5245, allocations: 1.217 MB / 0.5741 GB, free: 41.85 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.549e-05/0.5246, allocations: 6.406 kB / 0.5741 GB, free: 41.85 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000409/0.525, allocations: 478.8 kB / 0.5746 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000642/0.5256, allocations: 0.5891 MB / 0.5751 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.5258, allocations: 61.34 kB / 0.5752 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.5259, allocations: 61.09 kB / 0.5752 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002433/0.5262, allocations: 378.4 kB / 0.5756 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003309/0.5265, allocations: 398.5 kB / 0.576 GB, free: 40.81 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.5268, allocations: 449.9 kB / 0.5764 GB, free: 40.59 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5268, allocations: 1.094 kB / 0.5764 GB, free: 40.59 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5269, allocations: 0 / 0.5764 GB, free: 40.59 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.5269, allocations: 0 / 0.5764 GB, free: 40.59 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.004195/0.5311, allocations: 1.426 MB / 0.5778 GB, free: 39.69 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.5311, allocations: 13.08 kB / 0.5778 GB, free: 39.68 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.5313, allocations: 61.31 kB / 0.5779 GB, free: 39.66 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005041/0.5318, allocations: 359.1 kB / 0.5782 GB, free: 39.37 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.337e-05/0.5319, allocations: 59.19 kB / 0.5783 GB, free: 39.34 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.5321, allocations: 102.2 kB / 0.5784 GB, free: 39.3 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.5334, allocations: 0.8776 MB / 0.5792 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.5334, allocations: 192 / 0.5792 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.039e-05/0.5335, allocations: 28.97 kB / 0.5793 GB, free: 38.77 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.5335, allocations: 12.62 kB / 0.5793 GB, free: 38.77 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.5347, allocations: 0.7677 MB / 0.58 GB, free: 38.44 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005134/0.5398, allocations: 4.316 MB / 0.5842 GB, free: 34.75 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.5412, allocations: 0.9726 MB / 0.5852 GB, free: 34.29 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008576/0.5421, allocations: 0.6606 MB / 0.5858 GB, free: 33.95 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.5422, allocations: 15.12 kB / 0.5858 GB, free: 33.95 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.5422, allocations: 43.28 kB / 0.5859 GB, free: 33.9 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 2.605e-06/0.5422, allocations: 0 / 0.5859 GB, free: 33.9 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.002293/0.5445, allocations: 1.647 MB / 0.5875 GB, free: 32.33 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.5446, allocations: 68.34 kB / 0.5876 GB, free: 32.25 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.767e-05/0.5447, allocations: 145.8 kB / 0.5877 GB, free: 32.1 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.822e-05/0.5447, allocations: 49.7 kB / 0.5877 GB, free: 32.05 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.5448, allocations: 157.8 kB / 0.5879 GB, free: 31.89 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.545, allocations: 410.1 kB / 0.5883 GB, free: 31.48 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002926/0.5453, allocations: 227 kB / 0.5885 GB, free: 31.25 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.5454, allocations: 366.8 kB / 0.5889 GB, free: 30.89 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000734/0.5461, allocations: 0.5686 MB / 0.5894 GB, free: 30.32 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007783/0.5469, allocations: 0.6676 MB / 0.5901 GB, free: 29.64 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.5484, allocations: 1.254 MB / 0.5913 GB, free: 28.39 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5484, allocations: 0 / 0.5913 GB, free: 28.39 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001849/0.5503, allocations: 1.472 MB / 0.5927 GB, free: 26.91 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.5503, allocations: 7.938 kB / 0.5927 GB, free: 26.9 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.5503, allocations: 0 / 0.5927 GB, free: 26.9 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.5504, allocations: 8 kB / 0.5927 GB, free: 26.89 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002077/0.5524, allocations: 0.5307 MB / 0.5933 GB, free: 26.36 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.5525, allocations: 11.98 kB / 0.5933 GB, free: 26.35 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000791/0.5533, allocations: 119 kB / 0.5934 GB, free: 26.23 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.647e-05/0.5533, allocations: 36 kB / 0.5934 GB, free: 26.2 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 (157): * Single equations (assignments): 157 * 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.0002553/0.5536, allocations: 221.5 kB / 0.5936 GB, free: 25.97 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.5537, allocations: 43.47 kB / 0.5937 GB, free: 25.93 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.554, allocations: 152 kB / 0.5938 GB, free: 25.77 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.554, allocations: 8 kB / 0.5938 GB, free: 25.77 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.5541, allocations: 4 kB / 0.5938 GB, free: 25.76 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.5541, allocations: 3.984 kB / 0.5938 GB, free: 25.76 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008418/0.5549, allocations: 0.794 MB / 0.5946 GB, free: 24.92 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.5549, allocations: 0 / 0.5946 GB, free: 24.92 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002539/0.5575, allocations: 0.523 MB / 0.5951 GB, free: 24.39 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.5575, allocations: 7.938 kB / 0.5951 GB, free: 24.39 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.5576, allocations: 43.95 kB / 0.5952 GB, free: 24.34 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.5576, allocations: 7.938 kB / 0.5952 GB, free: 24.34 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.5576, allocations: 0 / 0.5952 GB, free: 24.34 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002283/0.5599, allocations: 1.964 MB / 0.5971 GB, free: 22.36 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/0.56, allocations: 124.4 kB / 0.5972 GB, free: 22.22 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.5601, allocations: 43.97 kB / 0.5973 GB, free: 22.18 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007465/0.5609, allocations: 67.69 kB / 0.5973 GB, free: 22.11 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.561, allocations: 56.92 kB / 0.5974 GB, free: 22.05 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-05/0.5611, allocations: 27.98 kB / 0.5974 GB, free: 22.02 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.797e-05/0.5612, allocations: 99.48 kB / 0.5975 GB, free: 21.93 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5612, allocations: 0 / 0.5975 GB, free: 21.93 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005537/0.5617, allocations: 315.8 kB / 0.5978 GB, free: 21.62 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TAtilde[10],TAtilde[11],TAtilde[12],TAtilde[13],TAtilde[14],TAtilde[15],TAtilde[16],TAtilde[17],TAtilde[18],TAtilde[19],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TBtilde[10],TBtilde[11],TBtilde[12],TBtilde[13],TBtilde[14],TBtilde[15],TBtilde[16],TBtilde[17],TBtilde[18],TBtilde[19],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9],TW[10],TW[11],TW[12],TW[13],TW[14],TW[15],TW[16],TW[17],TW[18],TW[19]) * 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 (99): * Single equations (assignments): 99 * 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.0001703/0.5619, allocations: 153.7 kB / 0.5979 GB, free: 21.46 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002386/0.5643, allocations: 1.951 MB / 0.5998 GB, free: 19.51 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5643, allocations: 0 / 0.5998 GB, free: 19.51 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007496/0.5651, allocations: 0.6537 MB / 0.6005 GB, free: 18.86 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005802/0.5656, allocations: 134.8 kB / 0.6006 GB, free: 18.73 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005118/0.5708, allocations: 4.92 MB / 0.6054 GB, free: 13.77 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.571, allocations: 0.9184 MB / 0.6063 GB, free: 12.82 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004909/0.5715, allocations: 55.44 kB / 0.6064 GB, free: 12.77 MB / 462.3 MB Notification: Performance of SimCode: time 7.81e-07/0.5715, allocations: 4 kB / 0.6064 GB, free: 12.77 MB / 462.3 MB Notification: Performance of Templates: time 0.009995/0.5815, allocations: 10.67 MB / 0.6168 GB, free: 2.094 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches