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 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_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 3.2.3+maint.om/package.mo): time 0.0009082/0.0009083, allocations: 177.1 kB / 17.4 MB, free: 4.293 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.255/1.255, allocations: 205.4 MB / 223.5 MB, free: 9.008 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.0007082/0.0007082, allocations: 89.55 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.8638/0.8638, allocations: 120.4 MB / 440.6 MB, free: 4.105 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004971/0.0004972, allocations: 8 kB / 0.5201 GB, free: 55.91 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1162, allocations: 80.01 MB / 0.5983 GB, free: 7.773 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6366/0.7528, allocations: 124.6 MB / 0.72 GB, free: 19.24 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001535/0.7531, allocations: 46.55 kB / 0.72 GB, free: 19.23 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.05949/0.8126, allocations: 19.04 MB / 0.7386 GB, free: 1.66 MB / 0.4953 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8126, allocations: 0 / 0.7386 GB, free: 1.66 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 2.591e-05/0.8126, allocations: 20 kB / 0.7386 GB, free: 1.637 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.007257/0.8199, allocations: 2.712 MB / 0.7413 GB, free: 14.92 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.82, allocations: 8.031 kB / 0.7413 GB, free: 14.91 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000623/0.8206, allocations: 88.19 kB / 0.7414 GB, free: 14.82 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.8227, allocations: 0.6064 MB / 0.742 GB, free: 14.18 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.8229, allocations: 84.5 kB / 0.7421 GB, free: 14.14 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006775/0.8235, allocations: 177.7 kB / 0.7422 GB, free: 14.02 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/0.8268, allocations: 1.487 MB / 0.7437 GB, free: 12.87 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.8268, allocations: 3.938 kB / 0.7437 GB, free: 12.87 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001973/0.827, allocations: 30.69 kB / 0.7437 GB, free: 12.86 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.8271, allocations: 20 kB / 0.7437 GB, free: 12.84 MB / 0.5109 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002462/0.8295, allocations: 1.377 MB / 0.7451 GB, free: 11.82 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/0.8329, allocations: 1.846 MB / 0.7469 GB, free: 10.23 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003098/0.836, allocations: 2.052 MB / 0.7489 GB, free: 8.852 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002109/0.8381, allocations: 1.358 MB / 0.7502 GB, free: 7.98 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/0.8383, allocations: 22 kB / 0.7502 GB, free: 7.961 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.9e-05/0.8384, allocations: 52.12 kB / 0.7503 GB, free: 7.91 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=199): time 4.518e-06/0.8384, allocations: 0 / 0.7503 GB, free: 7.91 MB / 0.5109 GB Notification: Performance of matching and sorting (n=199): time 0.006273/0.8447, allocations: 3.355 MB / 0.7536 GB, free: 5.414 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.8448, allocations: 77.41 kB / 0.7536 GB, free: 5.328 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.845, allocations: 161.5 kB / 0.7538 GB, free: 5.184 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 0.0002352/0.8452, allocations: 76.58 kB / 0.7539 GB, free: 5.141 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.8453, allocations: 122.8 kB / 0.754 GB, free: 5.035 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007029/0.846, allocations: 0.808 MB / 0.7548 GB, free: 4.328 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.8462, allocations: 50.62 kB / 0.7548 GB, free: 4.316 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0002348/0.8465, allocations: 410.6 kB / 0.7552 GB, free: 3.949 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002001/0.8485, allocations: 1.169 MB / 0.7563 GB, free: 3.094 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00199/0.8505, allocations: 1.196 MB / 0.7575 GB, free: 2.211 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00426/0.8547, allocations: 2.579 MB / 0.76 GB, free: 464 kB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/0.8548, allocations: 3.938 kB / 0.76 GB, free: 460 kB / 0.5109 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005037/0.8598, allocations: 2.955 MB / 0.7629 GB, free: 14.27 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.8599, allocations: 4 kB / 0.7629 GB, free: 14.27 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.8599, allocations: 0 / 0.7629 GB, free: 14.27 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.147e-05/0.8599, allocations: 8 kB / 0.7629 GB, free: 14.26 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004513/0.8645, allocations: 1.088 MB / 0.764 GB, free: 13.19 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.134e-05/0.8645, allocations: 8 kB / 0.764 GB, free: 13.18 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.8661, allocations: 244.1 kB / 0.7642 GB, free: 12.98 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002214/0.8664, allocations: 67 kB / 0.7643 GB, free: 12.93 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.0007001/0.8671, allocations: 298.7 kB / 0.7646 GB, free: 12.69 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002841/0.8674, allocations: 75.16 kB / 0.7646 GB, free: 12.62 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006076/0.868, allocations: 296.6 kB / 0.7649 GB, free: 12.59 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.868, allocations: 20 kB / 0.765 GB, free: 12.57 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.868, allocations: 4 kB / 0.765 GB, free: 12.57 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.858e-05/0.8681, allocations: 11.95 kB / 0.765 GB, free: 12.56 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.8703, allocations: 1.408 MB / 0.7663 GB, free: 11.36 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.8703, allocations: 0 / 0.7663 GB, free: 11.36 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005789/0.8761, allocations: 1.077 MB / 0.7674 GB, free: 10.3 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.588e-05/0.8762, allocations: 11.94 kB / 0.7674 GB, free: 10.29 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003409/0.8765, allocations: 90.72 kB / 0.7675 GB, free: 10.23 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.359e-05/0.8766, allocations: 7.938 kB / 0.7675 GB, free: 10.22 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.8766, allocations: 0 / 0.7675 GB, free: 10.22 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006405/0.883, allocations: 3.903 MB / 0.7713 GB, free: 7.383 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002765/0.8833, allocations: 167.8 kB / 0.7715 GB, free: 7.199 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002923/0.8836, allocations: 83.11 kB / 0.7715 GB, free: 7.145 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/0.8852, allocations: 102.8 kB / 0.7716 GB, free: 7.066 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003693/0.8855, allocations: 117.3 kB / 0.7718 GB, free: 6.969 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/0.8857, allocations: 55.53 kB / 0.7718 GB, free: 6.926 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 8.445e-05/0.8858, allocations: 95.14 kB / 0.7719 GB, free: 6.836 MB / 0.5265 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8858, allocations: 4 kB / 0.7719 GB, free: 6.832 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.001407/0.8872, allocations: 0.5486 MB / 0.7724 GB, free: 6.348 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.0004371/0.8877, allocations: 209.9 kB / 0.7726 GB, free: 6.164 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.004414/0.8921, allocations: 2.718 MB / 0.7753 GB, free: 4.148 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.8921, allocations: 4 kB / 0.7753 GB, free: 4.145 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.002003/0.8941, allocations: 1.336 MB / 0.7766 GB, free: 3.18 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.8955, allocations: 262.4 kB / 0.7769 GB, free: 2.996 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01667/0.9122, allocations: 11.72 MB / 0.7883 GB, free: 7.5 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007313/0.913, allocations: 1.072 MB / 0.7893 GB, free: 6.406 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.003757/0.9167, allocations: 0.809 MB / 0.7901 GB, free: 5.594 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/0.9179, allocations: 91.44 kB / 0.7902 GB, free: 5.504 MB / 0.5421 GB Notification: Performance of SimCode: time 7.42e-07/0.9179, allocations: 0 / 0.7902 GB, free: 5.504 MB / 0.5421 GB Notification: Performance of Templates: time 0.03353/0.9514, allocations: 19.83 MB / 0.8096 GB, free: 1.656 MB / 0.5578 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 -abortSlowSimulation -alarm=300 -s=ida -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