Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.2.|TA.3.|TA.40.|TB.1.|TB.2.|TB.3.|TB.40.|TW.1.|TW.2.|TW.3.|der.TA.2..|der.TA.3..|der.TA.40..|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_40") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.2.|TA.3.|TA.40.|TB.1.|TB.2.|TB.3.|TB.40.|TW.1.|TW.2.|TW.3.|der.TA.2..|der.TA.3..|der.TA.40..|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_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 176.5 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.965/1.965, allocations: 221.5 MB / 230.3 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 82.8 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.329/1.329, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.702e-05/1.722e-05, allocations: 0 / 0.5295 GB, free: 0.5391 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7163/0.7163, allocations: 82.84 MB / 0.6104 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1676/0.884, allocations: 124.8 MB / 0.7324 GB, free: 48 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001357/0.8842, allocations: 47.98 kB / 0.7324 GB, free: 0 / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.8576/1.742, allocations: 21.22 MB / 0.7531 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.713e-06/1.742, allocations: 0 / 0.7531 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 7.62e-05/1.742, allocations: 22.53 kB / 0.7532 GB, free: 129.4 MB / 0.5421 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.01484/1.757, allocations: 2.84 MB / 0.7559 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/1.757, allocations: 9.094 kB / 0.7559 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/1.758, allocations: 123.3 kB / 0.7561 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004009/1.762, allocations: 0.6594 MB / 0.7567 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/1.762, allocations: 38.73 kB / 0.7567 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001281/1.763, allocations: 145 kB / 0.7569 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005874/1.769, allocations: 1.482 MB / 0.7583 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006696/1.776, allocations: 1.574 MB / 0.7599 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-05/1.776, allocations: 0 / 0.7599 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005519/1.777, allocations: 0 / 0.7599 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.371e-05/1.777, allocations: 30.98 kB / 0.7599 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02081/1.798, allocations: 8.562 MB / 0.7682 GB, free: 121.5 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004431/1.802, allocations: 1.968 MB / 0.7702 GB, free: 120.5 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002851/1.805, allocations: 1.276 MB / 0.7714 GB, free: 119.3 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003786/1.805, allocations: 26 kB / 0.7714 GB, free: 119.3 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/1.806, allocations: 53.44 kB / 0.7715 GB, free: 119.2 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=199): time 6.672e-06/1.806, allocations: 0 / 0.7715 GB, free: 119.2 MB / 0.5421 GB Notification: Performance of matching and sorting (n=199): time 0.006065/1.812, allocations: 2.22 MB / 0.7737 GB, free: 117.3 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/1.812, allocations: 73.41 kB / 0.7737 GB, free: 117.2 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/1.812, allocations: 146.3 kB / 0.7739 GB, free: 117.1 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0003348/1.812, allocations: 26.64 kB / 0.7739 GB, free: 117.1 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/1.812, allocations: 202.2 kB / 0.7741 GB, free: 116.9 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.000838/1.813, allocations: 0.7945 MB / 0.7749 GB, free: 116.1 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003037/1.814, allocations: 0 / 0.7749 GB, free: 116.1 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0002063/1.814, allocations: 421.7 kB / 0.7753 GB, free: 115.8 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00276/1.817, allocations: 1.083 MB / 0.7763 GB, free: 114.8 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002906/1.82, allocations: 1.24 MB / 0.7775 GB, free: 113.7 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00316/1.823, allocations: 1.257 MB / 0.7788 GB, free: 112.7 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/1.823, allocations: 3.953 kB / 0.7788 GB, free: 112.7 MB / 0.5421 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006929/1.83, allocations: 2.708 MB / 0.7814 GB, free: 110.1 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/1.83, allocations: 7.938 kB / 0.7814 GB, free: 110.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/1.83, allocations: 0 / 0.7814 GB, free: 110.1 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.465e-05/1.83, allocations: 12 kB / 0.7814 GB, free: 110.1 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008341/1.838, allocations: 1.073 MB / 0.7825 GB, free: 109 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.31e-05/1.838, allocations: 12 kB / 0.7825 GB, free: 109 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003356/1.842, allocations: 206 kB / 0.7827 GB, free: 108.8 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006028/1.842, allocations: 68 kB / 0.7827 GB, free: 108.7 MB / 0.5421 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (317): * Single equations (assignments): 317 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001005/1.843, allocations: 144.5 kB / 0.7829 GB, free: 108.6 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006939/1.844, allocations: 81.67 kB / 0.783 GB, free: 108.5 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/1.845, allocations: 263.5 kB / 0.7832 GB, free: 108.2 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/1.845, allocations: 20 kB / 0.7832 GB, free: 108.2 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.718e-05/1.845, allocations: 0 / 0.7832 GB, free: 108.2 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.542e-05/1.845, allocations: 11.95 kB / 0.7832 GB, free: 108.2 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003558/1.849, allocations: 1.342 MB / 0.7846 GB, free: 106.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/1.849, allocations: 4 kB / 0.7846 GB, free: 106.9 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01065/1.86, allocations: 1.081 MB / 0.7856 GB, free: 105.8 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.831e-05/1.86, allocations: 8 kB / 0.7856 GB, free: 105.8 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006388/1.86, allocations: 67.92 kB / 0.7857 GB, free: 105.7 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.837e-05/1.86, allocations: 8 kB / 0.7857 GB, free: 105.7 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.86, allocations: 0 / 0.7857 GB, free: 105.7 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009715/1.87, allocations: 3.697 MB / 0.7893 GB, free: 102 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005657/1.871, allocations: 159.9 kB / 0.7895 GB, free: 101.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005778/1.871, allocations: 55.88 kB / 0.7895 GB, free: 101.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003062/1.874, allocations: 107.5 kB / 0.7896 GB, free: 101.7 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005462/1.875, allocations: 109.8 kB / 0.7897 GB, free: 101.6 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003489/1.875, allocations: 55.97 kB / 0.7898 GB, free: 101.5 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 9.033e-05/1.875, allocations: 96.2 kB / 0.7899 GB, free: 101.4 MB / 0.5421 GB Notification: Performance of sort global known variables: time 4.61e-07/1.875, allocations: 0 / 0.7899 GB, free: 101.4 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.002527/1.878, allocations: 0.5348 MB / 0.7904 GB, free: 100.9 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 117 (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],TAtilde[20],TAtilde[21],TAtilde[22],TAtilde[23],TAtilde[24],TAtilde[25],TAtilde[26],TAtilde[27],TAtilde[28],TAtilde[29],TAtilde[30],TAtilde[31],TAtilde[32],TAtilde[33],TAtilde[34],TAtilde[35],TAtilde[36],TAtilde[37],TAtilde[38],TAtilde[39],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],TBtilde[20],TBtilde[21],TBtilde[22],TBtilde[23],TBtilde[24],TBtilde[25],TBtilde[26],TBtilde[27],TBtilde[28],TBtilde[29],TBtilde[30],TBtilde[31],TBtilde[32],TBtilde[33],TBtilde[34],TBtilde[35],TBtilde[36],TBtilde[37],TBtilde[38],TBtilde[39],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],TW[20],TW[21],TW[22],TW[23],TW[24],TW[25],TW[26],TW[27],TW[28],TW[29],TW[30],TW[31],TW[32],TW[33],TW[34],TW[35],TW[36],TW[37],TW[38],TW[39]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (199): * Single equations (assignments): 199 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005668/1.879, allocations: 192.1 kB / 0.7906 GB, free: 100.7 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.006189/1.885, allocations: 2.557 MB / 0.7931 GB, free: 98.13 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/1.885, allocations: 0 / 0.7931 GB, free: 98.13 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.00292/1.888, allocations: 1.268 MB / 0.7943 GB, free: 96.86 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/1.89, allocations: 211.7 kB / 0.7945 GB, free: 96.66 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02126/1.911, allocations: 10.26 MB / 0.8045 GB, free: 86.38 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009287/1.912, allocations: 1.169 MB / 0.8057 GB, free: 85.18 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.005625/1.918, allocations: 0.8051 MB / 0.8065 GB, free: 84.38 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001799/1.919, allocations: 91.44 kB / 0.8065 GB, free: 84.29 MB / 0.5421 GB Notification: Performance of SimCode: time 2.164e-06/1.919, allocations: 4 kB / 0.8065 GB, free: 84.28 MB / 0.5421 GB Notification: Performance of Templates: time 0.04826/1.968, allocations: 19.36 MB / 0.8255 GB, free: 65.12 MB / 0.5421 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches