Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.CocurrentHeatExchangerEquations_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.20..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.20..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001103, allocations: 109.5 kB / 17.16 MB, free: 6.082 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.001004/0.001004, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.28/1.28, allocations: 222.9 MB / 241.8 MB, free: 15.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.9132/0.9132, allocations: 119.3 MB / 411.2 MB, free: 9.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 63.91 kB / 0.4922 GB, free: 12.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5107/0.5119, allocations: 80.68 MB / 0.571 GB, free: 43.93 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.00218/0.5141, allocations: 1.534 MB / 0.5725 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002473/0.5144, allocations: 94.5 kB / 0.5726 GB, free: 42.64 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.997e-05/0.5144, allocations: 3.938 kB / 0.5726 GB, free: 42.64 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.5145, allocations: 13.3 kB / 0.5726 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.5147, allocations: 58.08 kB / 0.5727 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.5149, allocations: 26.56 kB / 0.5727 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0008671/0.5158, allocations: 1.22 MB / 0.5739 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.066e-05/0.5158, allocations: 7.656 kB / 0.5739 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003716/0.5162, allocations: 386.7 kB / 0.5743 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007033/0.5169, allocations: 0.57 MB / 0.5748 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.5171, allocations: 69.75 kB / 0.5749 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.5173, allocations: 62.34 kB / 0.5749 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0003768/0.5176, allocations: 365.3 kB / 0.5753 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000758/0.5184, allocations: 390 kB / 0.5757 GB, free: 40.94 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.5188, allocations: 453.5 kB / 0.5761 GB, free: 40.71 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5188, allocations: 1.875 kB / 0.5761 GB, free: 40.71 MB / 462.3 MB Notification: Performance of FrontEnd: time 7.11e-07/0.5188, allocations: 0 / 0.5761 GB, free: 40.71 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.5188, allocations: 0 / 0.5761 GB, free: 40.71 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.004309/0.5232, allocations: 1.433 MB / 0.5775 GB, free: 39.8 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.5232, allocations: 9.25 kB / 0.5775 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.5234, allocations: 61.28 kB / 0.5776 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005368/0.524, allocations: 355.1 kB / 0.5779 GB, free: 39.48 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.309e-05/0.524, allocations: 55.19 kB / 0.578 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.5242, allocations: 98.31 kB / 0.5781 GB, free: 39.42 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.526, allocations: 0.878 MB / 0.5789 GB, free: 38.92 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.526, allocations: 192 / 0.5789 GB, free: 38.92 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.147e-05/0.5261, allocations: 29 kB / 0.5789 GB, free: 38.89 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.5261, allocations: 12.62 kB / 0.579 GB, free: 38.89 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.5273, allocations: 0.7755 MB / 0.5797 GB, free: 38.56 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005653/0.533, allocations: 4.311 MB / 0.5839 GB, free: 34.87 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.5345, allocations: 0.9902 MB / 0.5849 GB, free: 34.39 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009616/0.5355, allocations: 0.6745 MB / 0.5855 GB, free: 34.05 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.416e-05/0.5356, allocations: 10.5 kB / 0.5856 GB, free: 34.05 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.5356, allocations: 47.91 kB / 0.5856 GB, free: 33.99 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 2.665e-06/0.5356, allocations: 0 / 0.5856 GB, free: 33.99 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.002477/0.5381, allocations: 1.654 MB / 0.5872 GB, free: 32.51 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.5381, allocations: 68.41 kB / 0.5873 GB, free: 32.43 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.959e-05/0.5382, allocations: 151 kB / 0.5874 GB, free: 32.28 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.484e-05/0.5383, allocations: 49.7 kB / 0.5875 GB, free: 32.22 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.835e-05/0.5384, allocations: 157.8 kB / 0.5876 GB, free: 32.06 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.5386, allocations: 406.1 kB / 0.588 GB, free: 31.66 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006728/0.5393, allocations: 230.9 kB / 0.5882 GB, free: 31.43 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5394, allocations: 362.8 kB / 0.5886 GB, free: 31.07 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007527/0.5402, allocations: 0.5764 MB / 0.5891 GB, free: 30.49 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007977/0.541, allocations: 0.6715 MB / 0.5898 GB, free: 29.81 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.5425, allocations: 1.262 MB / 0.591 GB, free: 28.55 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.5426, allocations: 0 / 0.591 GB, free: 28.55 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002004/0.5446, allocations: 1.476 MB / 0.5925 GB, free: 27.06 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.5446, allocations: 11.92 kB / 0.5925 GB, free: 27.05 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.5446, allocations: 0 / 0.5925 GB, free: 27.05 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.5447, allocations: 12.03 kB / 0.5925 GB, free: 27.04 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/0.5471, allocations: 0.5229 MB / 0.593 GB, free: 26.52 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.5471, allocations: 4 kB / 0.593 GB, free: 26.51 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008814/0.548, allocations: 127 kB / 0.5931 GB, free: 26.39 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.99e-05/0.5481, allocations: 36 kB / 0.5932 GB, free: 26.35 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.0002787/0.5484, allocations: 217.5 kB / 0.5934 GB, free: 26.13 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.5485, allocations: 47.47 kB / 0.5934 GB, free: 26.08 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/0.5489, allocations: 148 kB / 0.5936 GB, free: 25.93 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.5489, allocations: 8 kB / 0.5936 GB, free: 25.93 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.5489, allocations: 0 / 0.5936 GB, free: 25.93 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.5489, allocations: 7.969 kB / 0.5936 GB, free: 25.92 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008866/0.5498, allocations: 0.794 MB / 0.5943 GB, free: 25.08 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.5498, allocations: 0 / 0.5943 GB, free: 25.08 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002636/0.5524, allocations: 0.5308 MB / 0.5949 GB, free: 24.55 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.5525, allocations: 7.938 kB / 0.5949 GB, free: 24.54 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.5526, allocations: 39.97 kB / 0.5949 GB, free: 24.5 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.5526, allocations: 0 / 0.5949 GB, free: 24.5 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.5526, allocations: 11.97 kB / 0.5949 GB, free: 24.49 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002709/0.5553, allocations: 1.96 MB / 0.5968 GB, free: 22.52 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 9.453e-05/0.5554, allocations: 136.4 kB / 0.597 GB, free: 22.36 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.5556, allocations: 35.97 kB / 0.597 GB, free: 22.33 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007774/0.5563, allocations: 67.7 kB / 0.5971 GB, free: 22.26 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/0.5565, allocations: 60.91 kB / 0.5971 GB, free: 22.2 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.266e-05/0.5566, allocations: 31.98 kB / 0.5972 GB, free: 22.17 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.576e-05/0.5567, allocations: 97.52 kB / 0.5972 GB, free: 22.07 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5567, allocations: 0 / 0.5972 GB, free: 22.07 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0006212/0.5573, allocations: 311.8 kB / 0.5975 GB, free: 21.77 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.0001868/0.5575, allocations: 153.7 kB / 0.5977 GB, free: 21.61 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001729/0.5592, allocations: 1.334 MB / 0.599 GB, free: 20.27 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5593, allocations: 0 / 0.599 GB, free: 20.27 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0008047/0.5601, allocations: 0.6615 MB / 0.5996 GB, free: 19.61 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007754/0.5608, allocations: 135.5 kB / 0.5998 GB, free: 19.48 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005543/0.5664, allocations: 4.882 MB / 0.6045 GB, free: 14.56 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.5667, allocations: 0.9155 MB / 0.6054 GB, free: 13.62 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006083/0.5673, allocations: 55.44 kB / 0.6055 GB, free: 13.57 MB / 462.3 MB Notification: Performance of SimCode: time 4.81e-07/0.5674, allocations: 4 kB / 0.6055 GB, free: 13.57 MB / 462.3 MB Notification: Performance of Templates: time 0.01186/0.5792, allocations: 10.66 MB / 0.6159 GB, free: 2.906 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches