Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001173/0.001173, allocations: 184.2 kB / 8.136 MB, free: 2.207 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.036/1.036, allocations: 221.4 MB / 229.9 MB, free: 3.062 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.0009055/0.0009055, allocations: 104.6 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5892/0.5892, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.569e-06/4.599e-06, allocations: 0 / 0.5282 GB, free: 52.43 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09995/0.09996, allocations: 82.84 MB / 0.6091 GB, free: 3.574 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4213/0.5213, allocations: 124.3 MB / 0.7304 GB, free: 5.504 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001074/0.5214, allocations: 50.19 kB / 0.7305 GB, free: 5.484 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.07615/0.5976, allocations: 20.36 MB / 0.7504 GB, free: 3.418 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 2.051e-05/0.5977, allocations: 18.62 kB / 0.7504 GB, free: 3.402 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.008041/0.6057, allocations: 2.293 MB / 0.7526 GB, free: 1.102 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.6057, allocations: 8.031 kB / 0.7526 GB, free: 1.094 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003479/0.6061, allocations: 83.16 kB / 0.7527 GB, free: 1.012 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009617/0.6157, allocations: 2.39 MB / 0.755 GB, free: 14.67 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.581e-05/0.6158, allocations: 24 kB / 0.7551 GB, free: 14.65 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004384/0.6162, allocations: 151.6 kB / 0.7552 GB, free: 14.52 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001911/0.6181, allocations: 1.281 MB / 0.7565 GB, free: 13.65 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002827/0.621, allocations: 1.891 MB / 0.7583 GB, free: 12.19 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.621, allocations: 0 / 0.7583 GB, free: 12.19 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001912/0.6212, allocations: 7.938 kB / 0.7583 GB, free: 12.18 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.6212, allocations: 20 kB / 0.7583 GB, free: 12.16 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004913/0.6261, allocations: 3.056 MB / 0.7613 GB, free: 9.621 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005235/0.6314, allocations: 4.246 MB / 0.7655 GB, free: 6.664 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/0.633, allocations: 1.342 MB / 0.7668 GB, free: 5.742 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002127/0.6333, allocations: 25.81 kB / 0.7668 GB, free: 5.719 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.6333, allocations: 56.25 kB / 0.7669 GB, free: 5.668 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=201): time 3.096e-06/0.6333, allocations: 4 kB / 0.7669 GB, free: 5.664 MB / 0.5265 GB Notification: Performance of matching and sorting (n=201): time 0.004238/0.6375, allocations: 2.98 MB / 0.7698 GB, free: 3.5 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.6376, allocations: 128.8 kB / 0.7699 GB, free: 3.348 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.929e-05/0.6377, allocations: 100.1 kB / 0.77 GB, free: 3.246 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0001703/0.6379, allocations: 25.7 kB / 0.77 GB, free: 3.215 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.6379, allocations: 98.61 kB / 0.7701 GB, free: 3.117 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006088/0.6385, allocations: 0.9154 MB / 0.771 GB, free: 2.336 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/0.6388, allocations: 0 / 0.771 GB, free: 2.336 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.6389, allocations: 451.5 kB / 0.7714 GB, free: 1.934 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002438/0.6414, allocations: 1.995 MB / 0.7734 GB, free: 0.582 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002569/0.6439, allocations: 2.208 MB / 0.7755 GB, free: 15.06 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002777/0.6467, allocations: 2.367 MB / 0.7778 GB, free: 13.41 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.6467, allocations: 4 kB / 0.7779 GB, free: 13.41 MB / 0.5421 GB Notification: Performance of matching and sorting (n=403) (initialization): time 0.005977/0.6527, allocations: 4.716 MB / 0.7825 GB, free: 9.973 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.6527, allocations: 4 kB / 0.7825 GB, free: 9.969 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.6528, allocations: 3.938 kB / 0.7825 GB, free: 9.965 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.181e-05/0.6528, allocations: 16 kB / 0.7825 GB, free: 9.949 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00369/0.6565, allocations: 0.7247 MB / 0.7832 GB, free: 9.25 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.426e-05/0.6565, allocations: 24.95 kB / 0.7832 GB, free: 9.227 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.6583, allocations: 277.5 kB / 0.7835 GB, free: 8.953 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000275/0.6586, allocations: 87.19 kB / 0.7836 GB, free: 8.891 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.0004766/0.659, allocations: 151.1 kB / 0.7837 GB, free: 8.742 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003254/0.6594, allocations: 75.25 kB / 0.7838 GB, free: 8.668 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005948/0.66, allocations: 328.3 kB / 0.7841 GB, free: 8.648 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.66, allocations: 23.91 kB / 0.7841 GB, free: 8.625 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.66, allocations: 0 / 0.7841 GB, free: 8.625 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/0.66, allocations: 11.95 kB / 0.7841 GB, free: 8.613 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002932/0.663, allocations: 1.923 MB / 0.786 GB, free: 7.02 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.663, allocations: 0 / 0.786 GB, free: 7.02 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004175/0.6672, allocations: 0.4906 MB / 0.7865 GB, free: 6.555 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.669e-05/0.6672, allocations: 8 kB / 0.7865 GB, free: 6.547 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000353/0.6676, allocations: 166 kB / 0.7866 GB, free: 6.422 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/0.6676, allocations: 7.938 kB / 0.7867 GB, free: 6.414 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6676, allocations: 4 kB / 0.7867 GB, free: 6.41 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005438/0.673, allocations: 4.198 MB / 0.7908 GB, free: 3.223 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008799/0.6739, allocations: 0.4953 MB / 0.7912 GB, free: 2.793 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004547/0.6744, allocations: 126.9 kB / 0.7914 GB, free: 2.695 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/0.6762, allocations: 135.9 kB / 0.7915 GB, free: 2.562 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003606/0.6765, allocations: 105.4 kB / 0.7916 GB, free: 2.473 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002392/0.6768, allocations: 66.75 kB / 0.7917 GB, free: 2.422 MB / 0.5421 GB Notification: Performance of sort global known variables: time 3.969e-05/0.6768, allocations: 91.2 kB / 0.7917 GB, free: 2.336 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001118/0.6779, allocations: 440 kB / 0.7922 GB, free: 1.906 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.000423/0.6784, allocations: 245.3 kB / 0.7924 GB, free: 1.664 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.004684/0.6831, allocations: 3.883 MB / 0.7962 GB, free: 14.91 MB / 0.5578 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.6831, allocations: 0 / 0.7962 GB, free: 14.91 MB / 0.5578 GB Notification: Performance of simCode: created simulation system equations: time 0.00193/0.685, allocations: 1.553 MB / 0.7977 GB, free: 13.8 MB / 0.5578 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.6854, allocations: 8.156 kB / 0.7977 GB, free: 13.79 MB / 0.5578 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005421/0.6908, allocations: 5.276 MB / 0.8029 GB, free: 8.812 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001959/0.6928, allocations: 1.268 MB / 0.8041 GB, free: 7.543 MB / 0.5578 GB Notification: Performance of SimCode: time 3.01e-07/0.6928, allocations: 3.938 kB / 0.8041 GB, free: 7.539 MB / 0.5578 GB Notification: Performance of Templates: time 0.03994/0.7328, allocations: 32.41 MB / 0.8358 GB, free: 7.215 MB / 0.589 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.Verification.AdvectionReaction.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.Verification.AdvectionReaction.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.Verification.AdvectionReaction.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.Verification.AdvectionReaction.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.Verification.AdvectionReaction.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.Advection.Verification.AdvectionReaction -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.Verification.AdvectionReaction.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.Advection.Verification.AdvectionReaction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.Verification.AdvectionReaction_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.Verification.AdvectionReaction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches