Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.0008986/0.0008986, allocations: 88.45 kB / 17.3 MB, free: 5.59 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.001058/0.001058, allocations: 174.9 kB / 18.21 MB, free: 5.191 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.272/1.272, allocations: 223.3 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8848/0.8848, allocations: 120.5 MB / 413.8 MB, free: 9.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003391, allocations: 8 kB / 0.4969 GB, free: 10.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5048/0.5052, allocations: 82.83 MB / 0.5778 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.001153/0.5064, allocations: 1.189 MB / 0.5789 GB, free: 41.44 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002307/0.5066, allocations: 104.7 kB / 0.579 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.659e-05/0.5067, allocations: 1.375 kB / 0.579 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.213e-05/0.5068, allocations: 9.297 kB / 0.579 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.5069, allocations: 53.53 kB / 0.5791 GB, free: 41.31 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.5071, allocations: 38.75 kB / 0.5791 GB, free: 41.28 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0009591/0.508, allocations: 1.335 MB / 0.5804 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.812e-05/0.5081, allocations: 11.38 kB / 0.5804 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004583/0.5086, allocations: 471 kB / 0.5809 GB, free: 40.36 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006942/0.5093, allocations: 0.5898 MB / 0.5815 GB, free: 40.02 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.5094, allocations: 61.84 kB / 0.5815 GB, free: 40.02 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.5096, allocations: 60.59 kB / 0.5816 GB, free: 40.02 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002385/0.5098, allocations: 374.5 kB / 0.5819 GB, free: 39.77 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003545/0.5102, allocations: 416.5 kB / 0.5823 GB, free: 39.51 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.5105, allocations: 449.8 kB / 0.5828 GB, free: 39.28 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5105, allocations: 0 / 0.5828 GB, free: 39.28 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.323e-06/0.5105, allocations: 4 kB / 0.5828 GB, free: 39.28 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.5105, allocations: 0 / 0.5828 GB, free: 39.28 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.004102/0.5146, allocations: 1.489 MB / 0.5842 GB, free: 38.38 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.5147, allocations: 17.05 kB / 0.5842 GB, free: 38.37 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.5149, allocations: 61.66 kB / 0.5843 GB, free: 38.34 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004564/0.5153, allocations: 351.6 kB / 0.5846 GB, free: 38.06 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.368e-05/0.5154, allocations: 59.38 kB / 0.5847 GB, free: 38.03 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.5156, allocations: 105.4 kB / 0.5848 GB, free: 37.98 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.5169, allocations: 0.8821 MB / 0.5857 GB, free: 37.48 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.5169, allocations: 192 / 0.5857 GB, free: 37.48 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-05/0.517, allocations: 27.69 kB / 0.5857 GB, free: 37.45 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.517, allocations: 13.91 kB / 0.5857 GB, free: 37.45 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.5182, allocations: 0.772 MB / 0.5864 GB, free: 37.12 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004766/0.523, allocations: 4.358 MB / 0.5907 GB, free: 32.26 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.5242, allocations: 0.9721 MB / 0.5917 GB, free: 31.27 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007614/0.5249, allocations: 0.6602 MB / 0.5923 GB, free: 30.61 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 7.509e-05/0.525, allocations: 13 kB / 0.5923 GB, free: 30.6 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.5251, allocations: 43.5 kB / 0.5924 GB, free: 30.54 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 2.885e-06/0.5251, allocations: 0 / 0.5924 GB, free: 30.54 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.002321/0.5274, allocations: 1.641 MB / 0.594 GB, free: 28.9 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.5274, allocations: 68.41 kB / 0.594 GB, free: 28.82 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.985e-05/0.5275, allocations: 153.5 kB / 0.5942 GB, free: 28.66 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.1e-05/0.5276, allocations: 49.7 kB / 0.5942 GB, free: 28.61 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/0.5277, allocations: 157.8 kB / 0.5944 GB, free: 28.45 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.5279, allocations: 406.1 kB / 0.5948 GB, free: 28.05 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.528, allocations: 129.6 kB / 0.5949 GB, free: 27.91 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.724e-05/0.5281, allocations: 366.8 kB / 0.5952 GB, free: 27.55 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007535/0.5289, allocations: 0.5686 MB / 0.5958 GB, free: 26.98 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007927/0.5297, allocations: 0.6716 MB / 0.5964 GB, free: 26.3 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001568/0.5312, allocations: 1.258 MB / 0.5977 GB, free: 25.04 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.5313, allocations: 0 / 0.5977 GB, free: 25.04 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001894/0.5332, allocations: 1.465 MB / 0.5991 GB, free: 23.57 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.5332, allocations: 7.938 kB / 0.5991 GB, free: 23.56 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.5332, allocations: 11.97 kB / 0.5991 GB, free: 23.55 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.5332, allocations: 4 kB / 0.5991 GB, free: 23.54 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/0.5352, allocations: 0.523 MB / 0.5996 GB, free: 23.02 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.5352, allocations: 4 kB / 0.5996 GB, free: 23.02 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008111/0.5361, allocations: 123 kB / 0.5997 GB, free: 22.89 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.367e-05/0.5361, allocations: 32 kB / 0.5998 GB, free: 22.86 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.0002732/0.5364, allocations: 225.5 kB / 0.6 GB, free: 22.63 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.5365, allocations: 43.47 kB / 0.6 GB, free: 22.59 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004529/0.537, allocations: 152 kB / 0.6002 GB, free: 22.44 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.537, allocations: 8 kB / 0.6002 GB, free: 22.43 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.537, allocations: 0 / 0.6002 GB, free: 22.43 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.537, allocations: 7.984 kB / 0.6002 GB, free: 22.42 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008378/0.5379, allocations: 0.7901 MB / 0.601 GB, free: 21.59 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.5379, allocations: 0 / 0.601 GB, free: 21.59 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002466/0.5404, allocations: 0.5308 MB / 0.6015 GB, free: 21.05 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.697e-06/0.5404, allocations: 11.88 kB / 0.6015 GB, free: 21.04 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.951e-05/0.5405, allocations: 47.95 kB / 0.6015 GB, free: 21 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.5405, allocations: 8 kB / 0.6016 GB, free: 20.99 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.5405, allocations: 0 / 0.6016 GB, free: 20.99 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/0.5429, allocations: 1.96 MB / 0.6035 GB, free: 19.02 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 9.022e-05/0.543, allocations: 132.3 kB / 0.6036 GB, free: 18.87 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.5431, allocations: 35.97 kB / 0.6036 GB, free: 18.83 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007508/0.5439, allocations: 67.72 kB / 0.6037 GB, free: 18.77 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.544, allocations: 56.92 kB / 0.6037 GB, free: 18.71 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.497e-05/0.5441, allocations: 27.98 kB / 0.6038 GB, free: 18.68 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.858e-05/0.5442, allocations: 95.27 kB / 0.6039 GB, free: 18.59 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5442, allocations: 0 / 0.6039 GB, free: 18.59 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005963/0.5448, allocations: 315.7 kB / 0.6042 GB, free: 18.28 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.0001767/0.5449, allocations: 153.7 kB / 0.6043 GB, free: 18.12 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.5466, allocations: 1.322 MB / 0.6056 GB, free: 16.8 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5466, allocations: 0 / 0.6056 GB, free: 16.8 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007591/0.5474, allocations: 0.6576 MB / 0.6062 GB, free: 16.14 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006355/0.548, allocations: 128.7 kB / 0.6064 GB, free: 16.02 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005404/0.5534, allocations: 5.699 MB / 0.6119 GB, free: 10.27 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.5537, allocations: 0.9158 MB / 0.6128 GB, free: 9.328 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005668/0.5543, allocations: 55.44 kB / 0.6129 GB, free: 9.273 MB / 462.3 MB Notification: Performance of SimCode: time 5.82e-07/0.5543, allocations: 0 / 0.6129 GB, free: 9.273 MB / 462.3 MB Notification: Performance of Templates: time 0.01264/0.5669, allocations: 10.61 MB / 0.6232 GB, free: 14.66 MB / 478.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches