Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001086/0.001087, allocations: 101.7 kB / 16.5 MB, free: 6.688 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.001088/0.001088, allocations: 197.4 kB / 17.42 MB, free: 6.086 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.291/1.291, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.934/0.934, allocations: 119.3 MB / 410.6 MB, free: 9.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.91 kB / 0.4916 GB, free: 12.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.516/0.5172, allocations: 80.69 MB / 0.5704 GB, free: 43.91 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.002578/0.5198, allocations: 1.505 MB / 0.5719 GB, free: 42.72 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002962/0.5202, allocations: 102.2 kB / 0.5719 GB, free: 42.64 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.459e-05/0.5202, allocations: 1.594 kB / 0.572 GB, free: 42.64 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.5203, allocations: 11.91 kB / 0.572 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.5205, allocations: 62.41 kB / 0.572 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.5207, allocations: 26.2 kB / 0.572 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006739/0.5214, allocations: 0.7721 MB / 0.5728 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.471e-05/0.5215, allocations: 10.45 kB / 0.5728 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.5217, allocations: 236.2 kB / 0.573 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004216/0.5221, allocations: 325.6 kB / 0.5733 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.402e-05/0.5222, allocations: 29.44 kB / 0.5734 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.779e-05/0.5223, allocations: 28.91 kB / 0.5734 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.5225, allocations: 186.8 kB / 0.5736 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000264/0.5228, allocations: 194 kB / 0.5738 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.5231, allocations: 328.4 kB / 0.5741 GB, free: 41.44 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.5232, allocations: 1.094 kB / 0.5741 GB, free: 41.44 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.102e-06/0.5232, allocations: 0 / 0.5741 GB, free: 41.44 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.5232, allocations: 0 / 0.5741 GB, free: 41.44 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.002323/0.5255, allocations: 0.8569 MB / 0.5749 GB, free: 40.81 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.5256, allocations: 9.781 kB / 0.5749 GB, free: 40.81 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.5257, allocations: 36.22 kB / 0.575 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.526, allocations: 254.5 kB / 0.5752 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.526, allocations: 27.44 kB / 0.5752 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.522e-05/0.5261, allocations: 51.14 kB / 0.5753 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007743/0.5269, allocations: 453 kB / 0.5757 GB, free: 40.26 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.5269, allocations: 192 / 0.5757 GB, free: 40.26 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/0.527, allocations: 18.53 kB / 0.5757 GB, free: 40.24 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.527, allocations: 7.719 kB / 0.5757 GB, free: 40.24 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006771/0.5277, allocations: 374.2 kB / 0.5761 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002945/0.5306, allocations: 2.157 MB / 0.5782 GB, free: 38.2 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009025/0.5316, allocations: 485.2 kB / 0.5787 GB, free: 37.96 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005273/0.5321, allocations: 319.2 kB / 0.579 GB, free: 37.81 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.857e-05/0.5322, allocations: 7.469 kB / 0.579 GB, free: 37.81 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.5322, allocations: 42.94 kB / 0.579 GB, free: 37.76 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.503e-06/0.5322, allocations: 0 / 0.579 GB, free: 37.76 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001445/0.5336, allocations: 0.8023 MB / 0.5798 GB, free: 37.39 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.5337, allocations: 60.84 kB / 0.5799 GB, free: 37.32 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.288e-05/0.5338, allocations: 133.2 kB / 0.58 GB, free: 37.2 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.5338, allocations: 37.48 kB / 0.58 GB, free: 37.16 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.5339, allocations: 120.8 kB / 0.5801 GB, free: 37.04 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.534, allocations: 201.1 kB / 0.5803 GB, free: 36.87 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.5342, allocations: 122.1 kB / 0.5804 GB, free: 36.79 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.227e-05/0.5343, allocations: 339.6 kB / 0.5808 GB, free: 36.46 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004512/0.5347, allocations: 276.4 kB / 0.581 GB, free: 36.34 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004991/0.5352, allocations: 330.2 kB / 0.5813 GB, free: 36.18 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009521/0.5362, allocations: 0.6053 MB / 0.5819 GB, free: 35.9 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5362, allocations: 4 kB / 0.5819 GB, free: 35.9 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001197/0.5374, allocations: 0.728 MB / 0.5826 GB, free: 35.56 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.5374, allocations: 5.812 kB / 0.5827 GB, free: 35.56 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.5374, allocations: 3.984 kB / 0.5827 GB, free: 35.55 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.5375, allocations: 3.812 kB / 0.5827 GB, free: 35.55 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.5386, allocations: 260.5 kB / 0.5829 GB, free: 35.5 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.5386, allocations: 7.188 kB / 0.5829 GB, free: 35.5 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004311/0.5391, allocations: 57.02 kB / 0.583 GB, free: 35.46 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/0.5391, allocations: 17.22 kB / 0.583 GB, free: 35.46 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.0001609/0.5393, allocations: 167.3 kB / 0.5831 GB, free: 35.3 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.376e-05/0.5394, allocations: 23.5 kB / 0.5832 GB, free: 35.29 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.5396, allocations: 72.47 kB / 0.5832 GB, free: 35.23 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.5396, allocations: 4.219 kB / 0.5832 GB, free: 35.23 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.5396, allocations: 1.156 kB / 0.5832 GB, free: 35.23 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.5396, allocations: 7.984 kB / 0.5833 GB, free: 35.22 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005627/0.5402, allocations: 474.4 kB / 0.5837 GB, free: 34.85 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5402, allocations: 1.5 kB / 0.5837 GB, free: 34.85 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/0.5416, allocations: 263.6 kB / 0.584 GB, free: 34.8 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.5416, allocations: 2.281 kB / 0.584 GB, free: 34.8 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-05/0.5417, allocations: 17.27 kB / 0.584 GB, free: 34.79 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.5417, allocations: 2.219 kB / 0.584 GB, free: 34.79 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5417, allocations: 0 / 0.584 GB, free: 34.79 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.5432, allocations: 1.004 MB / 0.585 GB, free: 34.25 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.5433, allocations: 108.2 kB / 0.5851 GB, free: 34.14 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.816e-05/0.5434, allocations: 20.8 kB / 0.5851 GB, free: 34.12 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/0.5438, allocations: 38 kB / 0.5851 GB, free: 34.1 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.5439, allocations: 28.38 kB / 0.5851 GB, free: 34.07 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.544, allocations: 12 kB / 0.5852 GB, free: 34.06 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.775e-05/0.544, allocations: 103.2 kB / 0.5853 GB, free: 33.96 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.544, allocations: 0 / 0.5853 GB, free: 33.96 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004017/0.5444, allocations: 148 kB / 0.5854 GB, free: 33.81 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.000126/0.5446, allocations: 131 kB / 0.5855 GB, free: 33.67 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008484/0.5454, allocations: 0.6387 MB / 0.5861 GB, free: 33.04 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5454, allocations: 4.062 kB / 0.5861 GB, free: 33.03 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004043/0.5458, allocations: 310.3 kB / 0.5864 GB, free: 32.73 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.5463, allocations: 71.77 kB / 0.5865 GB, free: 32.66 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/0.5489, allocations: 2.384 MB / 0.5888 GB, free: 30.25 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.5491, allocations: 0.7919 MB / 0.5896 GB, free: 29.43 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0004313/0.5495, allocations: 182.8 kB / 0.5898 GB, free: 29.25 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.5497, allocations: 27.44 kB / 0.5898 GB, free: 29.22 MB / 462.3 MB Notification: Performance of SimCode: time 4.01e-07/0.5497, allocations: 0 / 0.5898 GB, free: 29.22 MB / 462.3 MB Notification: Performance of Templates: time 0.00723/0.557, allocations: 5.189 MB / 0.5949 GB, free: 24.11 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches