Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.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.CocurrentHeatExchangerEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.20.|TA.2.|TA.3.|TB.1.|TB.20.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.20..|der.TA.2..|der.TA.3..|der.TB.20..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.20.|TA.2.|TA.3.|TB.1.|TB.20.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.20..|der.TA.2..|der.TA.3..|der.TB.20..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20") [: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.00095/0.00095, allocations: 182.8 kB / 8.132 MB, free: 2.168 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.041/1.041, allocations: 221.4 MB / 229.9 MB, free: 3.086 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.0008423/0.0008423, allocations: 101.7 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5878/0.5878, allocations: 120.4 MB / 452 MB, free: 13.01 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.99e-06/5e-06, allocations: 0 / 0.5289 GB, free: 51.77 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09962/0.09964, allocations: 82.85 MB / 0.6098 GB, free: 2.836 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4159/0.5156, allocations: 124.8 MB / 0.7317 GB, free: 4.367 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001064/0.5157, allocations: 55.17 kB / 0.7317 GB, free: 4.348 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.03097/0.5467, allocations: 10.22 MB / 0.7417 GB, free: 11.24 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.479e-05/0.5468, allocations: 12 kB / 0.7417 GB, free: 11.23 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002992/0.5498, allocations: 1.314 MB / 0.743 GB, free: 9.906 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.5498, allocations: 12.03 kB / 0.743 GB, free: 9.895 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.5499, allocations: 59.44 kB / 0.7431 GB, free: 9.836 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009465/0.5509, allocations: 426.6 kB / 0.7435 GB, free: 9.383 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.5509, allocations: 16 kB / 0.7435 GB, free: 9.367 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.5511, allocations: 74.91 kB / 0.7436 GB, free: 9.301 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001033/0.5521, allocations: 0.7591 MB / 0.7443 GB, free: 8.734 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.5533, allocations: 0.8105 MB / 0.7451 GB, free: 8.078 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.5533, allocations: 0 / 0.7451 GB, free: 8.078 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-05/0.5534, allocations: 0 / 0.7451 GB, free: 8.078 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.5534, allocations: 16 kB / 0.7451 GB, free: 8.062 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00498/0.5584, allocations: 4.191 MB / 0.7492 GB, free: 3.609 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.5595, allocations: 0.8637 MB / 0.75 GB, free: 2.961 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007139/0.5602, allocations: 0.6521 MB / 0.7507 GB, free: 2.531 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 9.099e-05/0.5603, allocations: 9 kB / 0.7507 GB, free: 2.523 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.5604, allocations: 47.28 kB / 0.7507 GB, free: 2.477 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=99): time 1.904e-06/0.5604, allocations: 3.938 kB / 0.7507 GB, free: 2.473 MB / 0.5109 GB Notification: Performance of matching and sorting (n=99): time 0.001643/0.562, allocations: 1.15 MB / 0.7519 GB, free: 1.566 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.562, allocations: 67.72 kB / 0.7519 GB, free: 1.488 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.852e-05/0.5621, allocations: 128.2 kB / 0.752 GB, free: 1.371 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 7.36e-05/0.5622, allocations: 25.7 kB / 0.7521 GB, free: 1.34 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/0.5623, allocations: 140.3 kB / 0.7522 GB, free: 1.203 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/0.5625, allocations: 406.9 kB / 0.7526 GB, free: 0.8555 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.784e-05/0.5626, allocations: 0 / 0.7526 GB, free: 0.8555 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.5627, allocations: 363.3 kB / 0.7529 GB, free: 0.5117 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007262/0.5634, allocations: 0.5597 MB / 0.7535 GB, free: 112 kB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007694/0.5642, allocations: 0.6402 MB / 0.7541 GB, free: 15.63 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008108/0.565, allocations: 0.6495 MB / 0.7547 GB, free: 15.15 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.565, allocations: 0 / 0.7547 GB, free: 15.15 MB / 0.5265 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001895/0.5669, allocations: 1.415 MB / 0.7561 GB, free: 14.03 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.567, allocations: 4 kB / 0.7561 GB, free: 14.03 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.567, allocations: 4 kB / 0.7561 GB, free: 14.02 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.567, allocations: 7.906 kB / 0.7561 GB, free: 14.02 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002204/0.5692, allocations: 0.518 MB / 0.7566 GB, free: 13.51 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.5692, allocations: 8 kB / 0.7567 GB, free: 13.5 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007556/0.57, allocations: 87.03 kB / 0.7567 GB, free: 13.41 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.66e-05/0.5701, allocations: 35.5 kB / 0.7568 GB, free: 13.39 MB / 0.5265 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 (157): * Single equations (assignments): 157 * 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.0001934/0.5703, allocations: 112.8 kB / 0.7569 GB, free: 13.27 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.5704, allocations: 39.53 kB / 0.7569 GB, free: 13.23 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.5707, allocations: 150.4 kB / 0.7571 GB, free: 13.21 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.5707, allocations: 8 kB / 0.7571 GB, free: 13.2 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.5707, allocations: 0 / 0.7571 GB, free: 13.2 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.5707, allocations: 6.172 kB / 0.7571 GB, free: 13.2 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008922/0.5716, allocations: 0.7339 MB / 0.7578 GB, free: 12.54 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.5716, allocations: 0 / 0.7578 GB, free: 12.54 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002894/0.5745, allocations: 0.5212 MB / 0.7583 GB, free: 12.03 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.5745, allocations: 4 kB / 0.7583 GB, free: 12.03 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/0.5746, allocations: 35.58 kB / 0.7583 GB, free: 12 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.5747, allocations: 4 kB / 0.7583 GB, free: 11.99 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5747, allocations: 0 / 0.7583 GB, free: 11.99 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002329/0.577, allocations: 1.93 MB / 0.7602 GB, free: 10.51 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-05/0.5771, allocations: 116.5 kB / 0.7603 GB, free: 10.38 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.5772, allocations: 31.88 kB / 0.7604 GB, free: 10.35 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007396/0.578, allocations: 43.75 kB / 0.7604 GB, free: 10.3 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.5782, allocations: 52.53 kB / 0.7605 GB, free: 10.26 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.343e-05/0.5783, allocations: 23.75 kB / 0.7605 GB, free: 10.25 MB / 0.5265 GB Notification: Performance of sort global known variables: time 4.728e-05/0.5783, allocations: 95.2 kB / 0.7606 GB, free: 10.16 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.0005862/0.5789, allocations: 275.8 kB / 0.7608 GB, free: 9.887 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (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],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],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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 99 * 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.0002181/0.5791, allocations: 133.2 kB / 0.761 GB, free: 9.75 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.00164/0.5808, allocations: 1.311 MB / 0.7622 GB, free: 8.781 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5808, allocations: 0 / 0.7622 GB, free: 8.781 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0007719/0.5816, allocations: 0.6491 MB / 0.7629 GB, free: 8.312 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005076/0.5821, allocations: 98.66 kB / 0.763 GB, free: 8.234 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005825/0.5879, allocations: 4.817 MB / 0.7677 GB, free: 3.488 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008837/0.5888, allocations: 0.9956 MB / 0.7686 GB, free: 2.48 MB / 0.5265 GB Notification: Performance of SimCode: time 3.2e-07/0.5888, allocations: 0 / 0.7686 GB, free: 2.48 MB / 0.5265 GB Notification: Performance of Templates: time 0.01773/0.6065, allocations: 14.27 MB / 0.7826 GB, free: 4.328 MB / 0.5421 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches