Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.Verification.AdvectionReaction.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.Advection.Verification.AdvectionReaction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=600,variableFilter="adv.u.100.|adv.u.1.|adv_reac.u.100.|adv_reac.u.1.|der.adv.u.100..|der.adv.u.1..|der.adv_reac.u.100..|der.adv_reac.u.1..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.Verification.AdvectionReaction") translateModel(ScalableTestSuite.Thermal.Advection.Verification.AdvectionReaction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=600,variableFilter="adv.u.100.|adv.u.1.|adv_reac.u.100.|adv_reac.u.1.|der.adv.u.100..|der.adv.u.1..|der.adv_reac.u.100..|der.adv_reac.u.1..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.Verification.AdvectionReaction") [: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.001093/0.001093, allocations: 183.6 kB / 8.131 MB, free: 2.219 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.152/1.152, allocations: 221.4 MB / 229.9 MB, free: 2.992 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.0009321/0.000932, allocations: 101.4 kB / 280.8 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6442/0.6442, allocations: 120.4 MB / 452 MB, free: 12.97 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.29e-06/5.3e-06, allocations: 0 / 0.5282 GB, free: 52.43 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1134, allocations: 82.84 MB / 0.6091 GB, free: 3.547 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4665/0.5799, allocations: 124.3 MB / 0.7304 GB, free: 5.195 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001303/0.5801, allocations: 50.97 kB / 0.7305 GB, free: 5.176 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.07905/0.6591, allocations: 20.35 MB / 0.7504 GB, free: 3.113 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.852e-05/0.6592, allocations: 18.73 kB / 0.7504 GB, free: 3.098 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.008168/0.6673, allocations: 2.294 MB / 0.7526 GB, free: 0.7969 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.6674, allocations: 8.031 kB / 0.7526 GB, free: 0.7891 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/0.6677, allocations: 83.16 kB / 0.7527 GB, free: 0.707 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01011/0.6778, allocations: 2.391 MB / 0.755 GB, free: 14.37 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.6778, allocations: 24 kB / 0.7551 GB, free: 14.35 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003882/0.6782, allocations: 154.1 kB / 0.7552 GB, free: 14.22 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002027/0.6803, allocations: 1.276 MB / 0.7565 GB, free: 13.35 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002837/0.6831, allocations: 1.89 MB / 0.7583 GB, free: 11.89 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.6831, allocations: 4 kB / 0.7583 GB, free: 11.89 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001911/0.6833, allocations: 7.938 kB / 0.7583 GB, free: 11.88 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.6834, allocations: 23.98 kB / 0.7583 GB, free: 11.86 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005187/0.6886, allocations: 3.056 MB / 0.7613 GB, free: 9.316 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005606/0.6942, allocations: 4.243 MB / 0.7655 GB, free: 6.359 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001827/0.696, allocations: 1.344 MB / 0.7668 GB, free: 5.438 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002275/0.6963, allocations: 25.56 kB / 0.7668 GB, free: 5.414 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.6963, allocations: 58.12 kB / 0.7669 GB, free: 5.363 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=201): time 4.879e-06/0.6963, allocations: 0 / 0.7669 GB, free: 5.363 MB / 0.5265 GB Notification: Performance of matching and sorting (n=201): time 0.004724/0.7011, allocations: 2.98 MB / 0.7698 GB, free: 3.195 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.7011, allocations: 132.6 kB / 0.7699 GB, free: 3.043 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.7012, allocations: 101.8 kB / 0.77 GB, free: 2.941 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0001766/0.7014, allocations: 26.08 kB / 0.77 GB, free: 2.91 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.7015, allocations: 95.23 kB / 0.7701 GB, free: 2.812 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006649/0.7022, allocations: 0.916 MB / 0.771 GB, free: 2.031 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.7024, allocations: 0 / 0.771 GB, free: 2.031 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.7026, allocations: 454.9 kB / 0.7714 GB, free: 1.629 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002565/0.7052, allocations: 2.001 MB / 0.7734 GB, free: 276 kB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002719/0.7079, allocations: 2.203 MB / 0.7755 GB, free: 14.75 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002953/0.7108, allocations: 2.369 MB / 0.7779 GB, free: 13.1 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.7109, allocations: 0 / 0.7779 GB, free: 13.1 MB / 0.5421 GB Notification: Performance of matching and sorting (n=403) (initialization): time 0.006434/0.7173, allocations: 4.72 MB / 0.7825 GB, free: 9.664 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.7173, allocations: 4 kB / 0.7825 GB, free: 9.66 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.7173, allocations: 4 kB / 0.7825 GB, free: 9.656 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/0.7174, allocations: 16 kB / 0.7825 GB, free: 9.641 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00392/0.7213, allocations: 0.7247 MB / 0.7832 GB, free: 8.938 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.027e-05/0.7213, allocations: 16 kB / 0.7832 GB, free: 8.922 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/0.7231, allocations: 281.5 kB / 0.7835 GB, free: 8.645 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003139/0.7234, allocations: 90.94 kB / 0.7836 GB, free: 8.582 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (403): * Single equations (assignments): 403 * 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.0005107/0.7239, allocations: 147.2 kB / 0.7837 GB, free: 8.434 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003461/0.7243, allocations: 75.25 kB / 0.7838 GB, free: 8.359 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006196/0.7249, allocations: 330.9 kB / 0.7841 GB, free: 8.34 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/0.7249, allocations: 23.91 kB / 0.7841 GB, free: 8.316 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.7249, allocations: 4 kB / 0.7841 GB, free: 8.312 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.725, allocations: 11.95 kB / 0.7841 GB, free: 8.301 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003418/0.7284, allocations: 1.914 MB / 0.786 GB, free: 6.715 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.7284, allocations: 0 / 0.786 GB, free: 6.715 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004524/0.7329, allocations: 0.498 MB / 0.7865 GB, free: 6.242 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.865e-05/0.733, allocations: 8 kB / 0.7865 GB, free: 6.234 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004364/0.7334, allocations: 162.3 kB / 0.7867 GB, free: 6.113 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.7334, allocations: 4 kB / 0.7867 GB, free: 6.109 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.7334, allocations: 4 kB / 0.7867 GB, free: 6.105 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006044/0.7395, allocations: 4.204 MB / 0.7908 GB, free: 2.914 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009563/0.7405, allocations: 0.4958 MB / 0.7912 GB, free: 2.484 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000479/0.741, allocations: 123 kB / 0.7914 GB, free: 2.387 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001902/0.7429, allocations: 135.9 kB / 0.7915 GB, free: 2.254 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000379/0.7433, allocations: 109.2 kB / 0.7916 GB, free: 2.164 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002695/0.7435, allocations: 63.5 kB / 0.7917 GB, free: 2.113 MB / 0.5421 GB Notification: Performance of sort global known variables: time 4.931e-05/0.7436, allocations: 91.08 kB / 0.7917 GB, free: 2.027 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001322/0.7449, allocations: 444.3 kB / 0.7922 GB, free: 1.594 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 200 (adv.u[1],adv.u[2],adv.u[3],adv.u[4],adv.u[5],adv.u[6],adv.u[7],adv.u[8],adv.u[9],adv.u[10],adv.u[11],adv.u[12],adv.u[13],adv.u[14],adv.u[15],adv.u[16],adv.u[17],adv.u[18],adv.u[19],adv.u[20],adv.u[21],adv.u[22],adv.u[23],adv.u[24],adv.u[25],adv.u[26],adv.u[27],adv.u[28],adv.u[29],adv.u[30],adv.u[31],adv.u[32],adv.u[33],adv.u[34],adv.u[35],adv.u[36],adv.u[37],adv.u[38],adv.u[39],adv.u[40],adv.u[41],adv.u[42],adv.u[43],adv.u[44],adv.u[45],adv.u[46],adv.u[47],adv.u[48],adv.u[49],adv.u[50],adv.u[51],adv.u[52],adv.u[53],adv.u[54],adv.u[55],adv.u[56],adv.u[57],adv.u[58],adv.u[59],adv.u[60],adv.u[61],adv.u[62],adv.u[63],adv.u[64],adv.u[65],adv.u[66],adv.u[67],adv.u[68],adv.u[69],adv.u[70],adv.u[71],adv.u[72],adv.u[73],adv.u[74],adv.u[75],adv.u[76],adv.u[77],adv.u[78],adv.u[79],adv.u[80],adv.u[81],adv.u[82],adv.u[83],adv.u[84],adv.u[85],adv.u[86],adv.u[87],adv.u[88],adv.u[89],adv.u[90],adv.u[91],adv.u[92],adv.u[93],adv.u[94],adv.u[95],adv.u[96],adv.u[97],adv.u[98],adv.u[99],adv.u[100],adv_reac.u[1],adv_reac.u[2],adv_reac.u[3],adv_reac.u[4],adv_reac.u[5],adv_reac.u[6],adv_reac.u[7],adv_reac.u[8],adv_reac.u[9],adv_reac.u[10],adv_reac.u[11],adv_reac.u[12],adv_reac.u[13],adv_reac.u[14],adv_reac.u[15],adv_reac.u[16],adv_reac.u[17],adv_reac.u[18],adv_reac.u[19],adv_reac.u[20],adv_reac.u[21],adv_reac.u[22],adv_reac.u[23],adv_reac.u[24],adv_reac.u[25],adv_reac.u[26],adv_reac.u[27],adv_reac.u[28],adv_reac.u[29],adv_reac.u[30],adv_reac.u[31],adv_reac.u[32],adv_reac.u[33],adv_reac.u[34],adv_reac.u[35],adv_reac.u[36],adv_reac.u[37],adv_reac.u[38],adv_reac.u[39],adv_reac.u[40],adv_reac.u[41],adv_reac.u[42],adv_reac.u[43],adv_reac.u[44],adv_reac.u[45],adv_reac.u[46],adv_reac.u[47],adv_reac.u[48],adv_reac.u[49],adv_reac.u[50],adv_reac.u[51],adv_reac.u[52],adv_reac.u[53],adv_reac.u[54],adv_reac.u[55],adv_reac.u[56],adv_reac.u[57],adv_reac.u[58],adv_reac.u[59],adv_reac.u[60],adv_reac.u[61],adv_reac.u[62],adv_reac.u[63],adv_reac.u[64],adv_reac.u[65],adv_reac.u[66],adv_reac.u[67],adv_reac.u[68],adv_reac.u[69],adv_reac.u[70],adv_reac.u[71],adv_reac.u[72],adv_reac.u[73],adv_reac.u[74],adv_reac.u[75],adv_reac.u[76],adv_reac.u[77],adv_reac.u[78],adv_reac.u[79],adv_reac.u[80],adv_reac.u[81],adv_reac.u[82],adv_reac.u[83],adv_reac.u[84],adv_reac.u[85],adv_reac.u[86],adv_reac.u[87],adv_reac.u[88],adv_reac.u[89],adv_reac.u[90],adv_reac.u[91],adv_reac.u[92],adv_reac.u[93],adv_reac.u[94],adv_reac.u[95],adv_reac.u[96],adv_reac.u[97],adv_reac.u[98],adv_reac.u[99],adv_reac.u[100]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (201): * Single equations (assignments): 201 * 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.0004396/0.7454, allocations: 238.6 kB / 0.7924 GB, free: 1.359 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.005276/0.7507, allocations: 3.888 MB / 0.7962 GB, free: 14.6 MB / 0.5578 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.7507, allocations: 3.938 kB / 0.7962 GB, free: 14.6 MB / 0.5578 GB Notification: Performance of simCode: created simulation system equations: time 0.002148/0.7528, allocations: 1.555 MB / 0.7977 GB, free: 13.48 MB / 0.5578 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.7533, allocations: 11.06 kB / 0.7977 GB, free: 13.48 MB / 0.5578 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005936/0.7592, allocations: 5.28 MB / 0.8029 GB, free: 8.492 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00213/0.7614, allocations: 1.265 MB / 0.8041 GB, free: 7.227 MB / 0.5578 GB Notification: Performance of SimCode: time 6.31e-07/0.7614, allocations: 0 / 0.8041 GB, free: 7.227 MB / 0.5578 GB Notification: Performance of Templates: time 0.04211/0.8035, allocations: 32.4 MB / 0.8358 GB, free: 6.914 MB / 0.589 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.Verification.AdvectionReaction.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.Verification.AdvectionReaction.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.Verification.AdvectionReaction.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.Verification.AdvectionReaction.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.Verification.AdvectionReaction.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.Verification.AdvectionReaction -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.Verification.AdvectionReaction.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.Verification.AdvectionReaction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.Verification.AdvectionReaction_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.Verification.AdvectionReaction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches