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") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 188.1 kB / 8.138 MB, free: 2.223 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.156/1.156, allocations: 221.4 MB / 230 MB, free: 3.258 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.0008676/0.0008676, allocations: 98.73 kB / 280.8 MB, free: 1.293 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7573/0.7573, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 6.813e-06/6.853e-06, allocations: 4 kB / 0.5289 GB, free: 51.81 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1541, allocations: 82.85 MB / 0.6098 GB, free: 2.812 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6618/0.816, allocations: 124.8 MB / 0.7317 GB, free: 4.254 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001546/0.8162, allocations: 52.47 kB / 0.7318 GB, free: 4.238 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.07371/0.8899, allocations: 21.3 MB / 0.7526 GB, free: 0.8516 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 3.033e-05/0.89, allocations: 24 kB / 0.7526 GB, free: 0.8281 MB / 0.5109 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.007833/0.8979, allocations: 2.683 MB / 0.7552 GB, free: 14.16 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.8979, allocations: 10.66 kB / 0.7552 GB, free: 14.15 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004477/0.8984, allocations: 118.9 kB / 0.7553 GB, free: 14.03 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/0.9005, allocations: 0.6739 MB / 0.756 GB, free: 13.32 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.528e-05/0.9006, allocations: 36 kB / 0.756 GB, free: 13.29 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000374/0.901, allocations: 146.2 kB / 0.7562 GB, free: 13.16 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00272/0.9037, allocations: 1.543 MB / 0.7577 GB, free: 12.01 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002722/0.9064, allocations: 1.64 MB / 0.7593 GB, free: 10.68 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.9065, allocations: 0 / 0.7593 GB, free: 10.68 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001678/0.9066, allocations: 0 / 0.7593 GB, free: 10.68 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.244e-05/0.9067, allocations: 31.91 kB / 0.7593 GB, free: 10.65 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01188/0.9186, allocations: 8.424 MB / 0.7675 GB, free: 1.734 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002605/0.9212, allocations: 1.809 MB / 0.7693 GB, free: 396 kB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001683/0.9229, allocations: 1.333 MB / 0.7706 GB, free: 15.52 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/0.9231, allocations: 18 kB / 0.7706 GB, free: 15.5 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.9231, allocations: 62.8 kB / 0.7707 GB, free: 15.44 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=199): time 3.917e-06/0.9232, allocations: 0 / 0.7707 GB, free: 15.44 MB / 0.5421 GB Notification: Performance of matching and sorting (n=199): time 0.003729/0.9269, allocations: 2.302 MB / 0.7729 GB, free: 13.64 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.9269, allocations: 73.41 kB / 0.773 GB, free: 13.55 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.9271, allocations: 149.2 kB / 0.7731 GB, free: 13.42 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0001585/0.9272, allocations: 25.7 kB / 0.7732 GB, free: 13.39 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.9274, allocations: 202.2 kB / 0.7733 GB, free: 13.2 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005775/0.928, allocations: 0.797 MB / 0.7741 GB, free: 12.5 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.9281, allocations: 0 / 0.7741 GB, free: 12.5 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.9283, allocations: 421 kB / 0.7745 GB, free: 12.12 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/0.93, allocations: 1.142 MB / 0.7756 GB, free: 11.29 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.9317, allocations: 1.297 MB / 0.7769 GB, free: 10.34 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/0.9336, allocations: 1.325 MB / 0.7782 GB, free: 9.328 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.9336, allocations: 4 kB / 0.7782 GB, free: 9.324 MB / 0.5421 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004525/0.9382, allocations: 2.855 MB / 0.781 GB, free: 7.066 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.9382, allocations: 4 kB / 0.781 GB, free: 7.062 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.9382, allocations: 7.875 kB / 0.781 GB, free: 7.055 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.447e-05/0.9383, allocations: 16.03 kB / 0.781 GB, free: 7.039 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00506/0.9433, allocations: 1.049 MB / 0.782 GB, free: 6.008 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.87e-05/0.9434, allocations: 12 kB / 0.7821 GB, free: 5.996 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.9452, allocations: 178 kB / 0.7822 GB, free: 5.82 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/0.9454, allocations: 72.25 kB / 0.7823 GB, free: 5.77 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.0004484/0.9459, allocations: 132.5 kB / 0.7824 GB, free: 5.633 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002818/0.9461, allocations: 75.16 kB / 0.7825 GB, free: 5.559 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005384/0.9467, allocations: 271.8 kB / 0.7827 GB, free: 5.543 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-05/0.9467, allocations: 23.98 kB / 0.7828 GB, free: 5.52 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.73e-05/0.9467, allocations: 4 kB / 0.7828 GB, free: 5.516 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.9468, allocations: 7.969 kB / 0.7828 GB, free: 5.508 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.949, allocations: 1.378 MB / 0.7841 GB, free: 4.316 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.9491, allocations: 7.938 kB / 0.7841 GB, free: 4.309 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006488/0.9556, allocations: 1.053 MB / 0.7852 GB, free: 3.273 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-05/0.9556, allocations: 8 kB / 0.7852 GB, free: 3.266 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003183/0.9559, allocations: 75.66 kB / 0.7852 GB, free: 3.199 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/0.9559, allocations: 4 kB / 0.7852 GB, free: 3.195 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9559, allocations: 0 / 0.7852 GB, free: 3.195 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005829/0.9618, allocations: 3.826 MB / 0.789 GB, free: 328 kB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002753/0.9621, allocations: 163.9 kB / 0.7891 GB, free: 144 kB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003378/0.9624, allocations: 51.94 kB / 0.7892 GB, free: 92 kB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/0.9641, allocations: 87.38 kB / 0.7893 GB, free: 4 kB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000329/0.9644, allocations: 108.3 kB / 0.7894 GB, free: 15.91 MB / 0.5578 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002123/0.9646, allocations: 54.8 kB / 0.7894 GB, free: 15.87 MB / 0.5578 GB Notification: Performance of sort global known variables: time 6.728e-05/0.9647, allocations: 90.58 kB / 0.7895 GB, free: 15.79 MB / 0.5578 GB Notification: Performance of remove unused functions: time 0.001296/0.966, allocations: 0.5386 MB / 0.79 GB, free: 15.25 MB / 0.5578 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.0003788/0.9664, allocations: 174.9 kB / 0.7902 GB, free: 15.07 MB / 0.5578 GB Notification: Performance of simCode: created initialization part: time 0.00424/0.9707, allocations: 2.679 MB / 0.7928 GB, free: 13.1 MB / 0.5578 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.9707, allocations: 0 / 0.7928 GB, free: 13.1 MB / 0.5578 GB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.9725, allocations: 1.324 MB / 0.7941 GB, free: 12.15 MB / 0.5578 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.9736, allocations: 186.8 kB / 0.7943 GB, free: 12 MB / 0.5578 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01551/0.9892, allocations: 10.09 MB / 0.8041 GB, free: 2.082 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001912/0.9911, allocations: 1.304 MB / 0.8054 GB, free: 0.7773 MB / 0.5578 GB Notification: Performance of SimCode: time 9.72e-07/0.9911, allocations: 0 / 0.8054 GB, free: 0.7773 MB / 0.5578 GB Notification: Performance of Templates: time 0.04518/1.036, allocations: 28.85 MB / 0.8336 GB, free: 4.086 MB / 0.589 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