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.0008906/0.0008907, allocations: 186.8 kB / 8.138 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.017/1.017, allocations: 221.4 MB / 229.9 MB, free: 3.008 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.0008148/0.0008149, allocations: 95.19 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5674/0.5674, allocations: 120.4 MB / 452 MB, free: 13.01 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.228e-06/4.238e-06, allocations: 0 / 0.5282 GB, free: 52.41 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09508/0.0951, allocations: 82.84 MB / 0.6091 GB, free: 3.582 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3967/0.4919, allocations: 124.3 MB / 0.7305 GB, free: 5.402 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 9.987e-05/0.492, allocations: 47.03 kB / 0.7305 GB, free: 5.387 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.07338/0.5654, allocations: 20.35 MB / 0.7504 GB, free: 3.316 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.605e-05/0.5654, allocations: 12 kB / 0.7504 GB, free: 3.305 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.007514/0.5729, allocations: 2.301 MB / 0.7526 GB, free: 1 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.573, allocations: 12.03 kB / 0.7526 GB, free: 0.9883 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002716/0.5733, allocations: 79.16 kB / 0.7527 GB, free: 0.9102 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009675/0.5829, allocations: 2.394 MB / 0.7551 GB, free: 14.57 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.583, allocations: 28 kB / 0.7551 GB, free: 14.55 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003478/0.5833, allocations: 143.3 kB / 0.7552 GB, free: 14.43 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001723/0.5851, allocations: 1.273 MB / 0.7565 GB, free: 13.56 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002572/0.5876, allocations: 1.902 MB / 0.7583 GB, free: 12.09 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.5877, allocations: 2.734 kB / 0.7583 GB, free: 12.09 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/0.5879, allocations: 0 / 0.7583 GB, free: 12.09 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.5879, allocations: 20 kB / 0.7583 GB, free: 12.07 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004658/0.5925, allocations: 3.057 MB / 0.7613 GB, free: 9.527 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00501/0.5976, allocations: 4.241 MB / 0.7655 GB, free: 6.574 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001599/0.5992, allocations: 1.348 MB / 0.7668 GB, free: 5.648 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/0.5994, allocations: 22 kB / 0.7668 GB, free: 5.625 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.5994, allocations: 64.86 kB / 0.7669 GB, free: 5.57 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=201): time 2.625e-06/0.5994, allocations: 0 / 0.7669 GB, free: 5.57 MB / 0.5265 GB Notification: Performance of matching and sorting (n=201): time 0.004083/0.6035, allocations: 2.978 MB / 0.7698 GB, free: 3.406 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.6036, allocations: 124.8 kB / 0.7699 GB, free: 3.258 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.807e-05/0.6036, allocations: 101.4 kB / 0.77 GB, free: 3.156 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0001692/0.6038, allocations: 33.69 kB / 0.77 GB, free: 3.117 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/0.6039, allocations: 91.12 kB / 0.7701 GB, free: 3.027 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005684/0.6044, allocations: 0.9224 MB / 0.771 GB, free: 2.238 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.6047, allocations: 3.938 kB / 0.771 GB, free: 2.234 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.6048, allocations: 440.4 kB / 0.7714 GB, free: 1.844 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00232/0.6071, allocations: 2 MB / 0.7734 GB, free: 500 kB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002462/0.6096, allocations: 2.215 MB / 0.7756 GB, free: 14.96 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002652/0.6123, allocations: 2.363 MB / 0.7779 GB, free: 13.31 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.6123, allocations: 4 kB / 0.7779 GB, free: 13.31 MB / 0.5421 GB Notification: Performance of matching and sorting (n=403) (initialization): time 0.005738/0.618, allocations: 4.708 MB / 0.7825 GB, free: 9.883 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.618, allocations: 4 kB / 0.7825 GB, free: 9.879 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.6181, allocations: 0 / 0.7825 GB, free: 9.879 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/0.6181, allocations: 16 kB / 0.7825 GB, free: 9.863 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003594/0.6217, allocations: 0.7365 MB / 0.7832 GB, free: 9.152 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.6217, allocations: 12 kB / 0.7832 GB, free: 9.141 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.6234, allocations: 281.5 kB / 0.7835 GB, free: 8.863 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002647/0.6236, allocations: 95.31 kB / 0.7836 GB, free: 8.793 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.0004269/0.6241, allocations: 148.3 kB / 0.7837 GB, free: 8.641 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/0.6243, allocations: 79.12 kB / 0.7838 GB, free: 8.566 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005738/0.6249, allocations: 323.3 kB / 0.7841 GB, free: 8.551 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.6249, allocations: 23.91 kB / 0.7841 GB, free: 8.527 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.625, allocations: 0 / 0.7841 GB, free: 8.527 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/0.625, allocations: 11.95 kB / 0.7841 GB, free: 8.516 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00272/0.6277, allocations: 1.922 MB / 0.786 GB, free: 6.926 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.6277, allocations: 0 / 0.786 GB, free: 6.926 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004175/0.6319, allocations: 0.4942 MB / 0.7865 GB, free: 6.453 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.6319, allocations: 8 kB / 0.7865 GB, free: 6.445 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000328/0.6323, allocations: 158.5 kB / 0.7866 GB, free: 6.328 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.6323, allocations: 12 kB / 0.7867 GB, free: 6.316 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.6323, allocations: 0 / 0.7867 GB, free: 6.316 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005104/0.6374, allocations: 4.204 MB / 0.7908 GB, free: 3.125 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008346/0.6382, allocations: 0.4999 MB / 0.7913 GB, free: 2.691 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004368/0.6387, allocations: 123.1 kB / 0.7914 GB, free: 2.594 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/0.6404, allocations: 131.9 kB / 0.7915 GB, free: 2.465 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003658/0.6408, allocations: 112.7 kB / 0.7916 GB, free: 2.371 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002251/0.641, allocations: 63.61 kB / 0.7917 GB, free: 2.32 MB / 0.5421 GB Notification: Performance of sort global known variables: time 3.222e-05/0.6411, allocations: 86.78 kB / 0.7917 GB, free: 2.238 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001004/0.6421, allocations: 444 kB / 0.7922 GB, free: 1.805 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.0003984/0.6425, allocations: 245.3 kB / 0.7924 GB, free: 1.562 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.00442/0.6469, allocations: 3.878 MB / 0.7962 GB, free: 14.82 MB / 0.5578 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6469, allocations: 0 / 0.7962 GB, free: 14.82 MB / 0.5578 GB Notification: Performance of simCode: created simulation system equations: time 0.001865/0.6488, allocations: 1.561 MB / 0.7977 GB, free: 13.7 MB / 0.5578 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.6492, allocations: 3.938 kB / 0.7977 GB, free: 13.7 MB / 0.5578 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005122/0.6543, allocations: 5.278 MB / 0.8029 GB, free: 8.707 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001923/0.6562, allocations: 1.275 MB / 0.8041 GB, free: 7.438 MB / 0.5578 GB Notification: Performance of SimCode: time 2.6e-07/0.6562, allocations: 0 / 0.8041 GB, free: 7.438 MB / 0.5578 GB Notification: Performance of Templates: time 0.03717/0.6934, allocations: 32.41 MB / 0.8358 GB, free: 7.109 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/jenkins/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