Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_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_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008066/0.0008066, allocations: 176.8 kB / 17.4 MB, free: 4.395 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.175/1.175, allocations: 205.4 MB / 223.6 MB, free: 8.914 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007566/0.0007566, allocations: 84.98 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.7812/0.7812, allocations: 120.4 MB / 440.6 MB, free: 4.074 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003896, allocations: 12 kB / 0.5202 GB, free: 55.9 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1182, allocations: 80 MB / 0.5983 GB, free: 7.77 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5828/0.7011, allocations: 124.6 MB / 0.72 GB, free: 19.34 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001377/0.7012, allocations: 45.48 kB / 0.72 GB, free: 19.32 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.0562/0.7574, allocations: 19.04 MB / 0.7386 GB, free: 1.734 MB / 0.4953 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7575, allocations: 0 / 0.7386 GB, free: 1.734 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 2.506e-05/0.7575, allocations: 16 kB / 0.7386 GB, free: 1.719 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.006883/0.7644, allocations: 2.71 MB / 0.7413 GB, free: 15.01 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.7645, allocations: 8.031 kB / 0.7413 GB, free: 15 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006512/0.7651, allocations: 96.12 kB / 0.7414 GB, free: 14.91 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001996/0.7671, allocations: 0.5986 MB / 0.742 GB, free: 14.27 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.144e-05/0.7672, allocations: 88 kB / 0.7421 GB, free: 14.22 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006084/0.7679, allocations: 182 kB / 0.7422 GB, free: 14.1 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003181/0.771, allocations: 1.482 MB / 0.7437 GB, free: 12.96 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.7711, allocations: 3.938 kB / 0.7437 GB, free: 12.95 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002255/0.7713, allocations: 31.75 kB / 0.7437 GB, free: 12.95 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.7713, allocations: 16 kB / 0.7437 GB, free: 12.93 MB / 0.5109 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.7736, allocations: 1.387 MB / 0.7451 GB, free: 11.9 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002995/0.7766, allocations: 1.845 MB / 0.7469 GB, free: 10.32 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002857/0.7795, allocations: 2.052 MB / 0.7489 GB, free: 8.934 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00178/0.7813, allocations: 1.358 MB / 0.7502 GB, free: 8.062 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/0.7815, allocations: 22 kB / 0.7502 GB, free: 8.043 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.7815, allocations: 55.56 kB / 0.7503 GB, free: 7.988 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=199): time 3.907e-06/0.7815, allocations: 0 / 0.7503 GB, free: 7.988 MB / 0.5109 GB Notification: Performance of matching and sorting (n=199): time 0.005381/0.7869, allocations: 3.345 MB / 0.7535 GB, free: 5.504 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.787, allocations: 81.39 kB / 0.7536 GB, free: 5.414 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.7871, allocations: 163.3 kB / 0.7538 GB, free: 5.27 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 0.0001803/0.7873, allocations: 72.14 kB / 0.7539 GB, free: 5.23 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 8.019e-05/0.7874, allocations: 123.5 kB / 0.754 GB, free: 5.125 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005558/0.788, allocations: 0.8115 MB / 0.7548 GB, free: 4.414 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.7881, allocations: 50.69 kB / 0.7548 GB, free: 4.402 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.7883, allocations: 418.2 kB / 0.7552 GB, free: 4.027 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/0.7901, allocations: 1.163 MB / 0.7563 GB, free: 3.18 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/0.7919, allocations: 1.197 MB / 0.7575 GB, free: 2.293 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003707/0.7956, allocations: 2.578 MB / 0.76 GB, free: 0.5391 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.7957, allocations: 3.938 kB / 0.76 GB, free: 0.5352 MB / 0.5109 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004374/0.8, allocations: 2.95 MB / 0.7629 GB, free: 14.36 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.8001, allocations: 8 kB / 0.7629 GB, free: 14.35 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.8001, allocations: 0 / 0.7629 GB, free: 14.35 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.8001, allocations: 12 kB / 0.7629 GB, free: 14.34 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004213/0.8043, allocations: 1.076 MB / 0.764 GB, free: 13.28 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.838e-05/0.8044, allocations: 15.94 kB / 0.764 GB, free: 13.27 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.8059, allocations: 244.2 kB / 0.7642 GB, free: 13.06 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/0.8062, allocations: 70.75 kB / 0.7643 GB, free: 13.01 MB / 0.5265 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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.0005915/0.8068, allocations: 298.7 kB / 0.7646 GB, free: 12.77 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002857/0.8071, allocations: 83.16 kB / 0.7647 GB, free: 12.69 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005381/0.8076, allocations: 292.4 kB / 0.7649 GB, free: 12.67 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.8077, allocations: 20 kB / 0.765 GB, free: 12.65 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.8077, allocations: 0 / 0.765 GB, free: 12.65 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/0.8077, allocations: 11.95 kB / 0.765 GB, free: 12.64 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.8096, allocations: 1.41 MB / 0.7664 GB, free: 11.44 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.8097, allocations: 0 / 0.7664 GB, free: 11.44 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005359/0.815, allocations: 1.08 MB / 0.7674 GB, free: 10.38 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.781e-05/0.8151, allocations: 4 kB / 0.7674 GB, free: 10.38 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003811/0.8155, allocations: 91.16 kB / 0.7675 GB, free: 10.31 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.434e-05/0.8155, allocations: 8 kB / 0.7675 GB, free: 10.3 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8155, allocations: 0 / 0.7675 GB, free: 10.3 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006077/0.8216, allocations: 3.899 MB / 0.7713 GB, free: 7.469 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.8218, allocations: 167.8 kB / 0.7715 GB, free: 7.285 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002695/0.8221, allocations: 82.67 kB / 0.7716 GB, free: 7.23 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/0.8234, allocations: 103 kB / 0.7716 GB, free: 7.152 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003295/0.8238, allocations: 113.5 kB / 0.7718 GB, free: 7.055 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/0.824, allocations: 59.47 kB / 0.7718 GB, free: 7.012 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 6.146e-05/0.824, allocations: 95.14 kB / 0.7719 GB, free: 6.922 MB / 0.5265 GB Notification: Performance of sort global known variables: time 2.765e-06/0.824, allocations: 0 / 0.7719 GB, free: 6.922 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.001117/0.8252, allocations: 0.5518 MB / 0.7724 GB, free: 6.434 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 117 (TA[2],TA[3],TA[4],TA[5],TA[6],TA[7],TA[8],TA[9],TA[10],TA[11],TA[12],TA[13],TA[14],TA[15],TA[16],TA[17],TA[18],TA[19],TA[20],TA[21],TA[22],TA[23],TA[24],TA[25],TA[26],TA[27],TA[28],TA[29],TA[30],TA[31],TA[32],TA[33],TA[34],TA[35],TA[36],TA[37],TA[38],TA[39],TA[40],TB[1],TB[2],TB[3],TB[4],TB[5],TB[6],TB[7],TB[8],TB[9],TB[10],TB[11],TB[12],TB[13],TB[14],TB[15],TB[16],TB[17],TB[18],TB[19],TB[20],TB[21],TB[22],TB[23],TB[24],TB[25],TB[26],TB[27],TB[28],TB[29],TB[30],TB[31],TB[32],TB[33],TB[34],TB[35],TB[36],TB[37],TB[38],TB[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 () * Number of clocked 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.0003579/0.8255, allocations: 205.8 kB / 0.7726 GB, free: 6.254 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.004033/0.8296, allocations: 2.719 MB / 0.7753 GB, free: 4.234 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.8296, allocations: 0 / 0.7753 GB, free: 4.234 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.001829/0.8314, allocations: 1.338 MB / 0.7766 GB, free: 3.27 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.8325, allocations: 262.8 kB / 0.7769 GB, free: 3.086 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/0.8468, allocations: 11.72 MB / 0.7883 GB, free: 7.586 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005702/0.8474, allocations: 1.072 MB / 0.7893 GB, free: 6.492 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.003222/0.8507, allocations: 0.8051 MB / 0.7901 GB, free: 5.684 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/0.8518, allocations: 91.44 kB / 0.7902 GB, free: 5.594 MB / 0.5421 GB Notification: Performance of SimCode: time 4.51e-07/0.8518, allocations: 0 / 0.7902 GB, free: 5.594 MB / 0.5421 GB Notification: Performance of Templates: time 0.02828/0.8801, allocations: 19.83 MB / 0.8096 GB, free: 1.734 MB / 0.5578 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40 -abortSlowSimulation -alarm=300 -s=ida -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches