Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.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.ScaledExperiments.SimpleAdvection_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="T.100.|T.1.|T.2.|T.3.|T.4.|T.5.|Ttilde.1.|Ttilde.2.|Ttilde.3.|Ttilde.4.|Ttilde.5.|Ttilde.99.|der.Ttilde.1..|der.Ttilde.2..|der.Ttilde.3..|der.Ttilde.4..|der.Ttilde.5..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100") translateModel(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="T.100.|T.1.|T.2.|T.3.|T.4.|T.5.|Ttilde.1.|Ttilde.2.|Ttilde.3.|Ttilde.4.|Ttilde.5.|Ttilde.99.|der.Ttilde.1..|der.Ttilde.2..|der.Ttilde.3..|der.Ttilde.4..|der.Ttilde.5..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100") [: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.001107/0.001107, allocations: 182.9 kB / 8.133 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.052/1.052, allocations: 221.4 MB / 229.9 MB, free: 3.07 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.0009137/0.0009138, allocations: 104 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.5992/0.5992, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.528e-06/4.558e-06, allocations: 0 / 0.5282 GB, free: 52.45 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1049, allocations: 82.84 MB / 0.6091 GB, free: 3.586 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4218/0.5268, allocations: 125.1 MB / 0.7312 GB, free: 5.105 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001165/0.5269, allocations: 57.77 kB / 0.7313 GB, free: 5.086 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.03703/0.564, allocations: 13.04 MB / 0.744 GB, free: 10.13 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 2.22e-05/0.564, allocations: 22.73 kB / 0.744 GB, free: 10.11 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.002786/0.5668, allocations: 1.389 MB / 0.7454 GB, free: 8.727 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.5669, allocations: 12.03 kB / 0.7454 GB, free: 8.715 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.567, allocations: 118.6 kB / 0.7455 GB, free: 8.602 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006253/0.5677, allocations: 444.5 kB / 0.7459 GB, free: 8.125 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.5677, allocations: 27.91 kB / 0.746 GB, free: 8.098 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.5678, allocations: 94.05 kB / 0.7461 GB, free: 8.016 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000716/0.5686, allocations: 0.5532 MB / 0.7466 GB, free: 7.609 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.5697, allocations: 0.8557 MB / 0.7474 GB, free: 6.922 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.5697, allocations: 4 kB / 0.7474 GB, free: 6.918 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/0.5698, allocations: 0 / 0.7474 GB, free: 6.918 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.5698, allocations: 20 kB / 0.7475 GB, free: 6.898 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004792/0.5746, allocations: 2.542 MB / 0.7499 GB, free: 4.574 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.5757, allocations: 1.112 MB / 0.751 GB, free: 3.691 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004285/0.5761, allocations: 412 kB / 0.7514 GB, free: 3.418 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 6.034e-05/0.5762, allocations: 9 kB / 0.7514 GB, free: 3.406 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.5762, allocations: 46.3 kB / 0.7515 GB, free: 3.359 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=101): time 1.793e-06/0.5762, allocations: 0 / 0.7515 GB, free: 3.359 MB / 0.5109 GB Notification: Performance of matching and sorting (n=101): time 0.001184/0.5774, allocations: 0.8921 MB / 0.7523 GB, free: 2.625 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.5775, allocations: 68.41 kB / 0.7524 GB, free: 2.547 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.5777, allocations: 321.9 kB / 0.7527 GB, free: 2.273 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 4.996e-05/0.5778, allocations: 33.64 kB / 0.7527 GB, free: 2.234 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 9.489e-05/0.5779, allocations: 253 kB / 0.753 GB, free: 2.008 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003666/0.5783, allocations: 475.9 kB / 0.7534 GB, free: 1.609 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.5783, allocations: 0 / 0.7534 GB, free: 1.609 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5785, allocations: 410.2 kB / 0.7538 GB, free: 1.238 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007111/0.5792, allocations: 0.6398 MB / 0.7545 GB, free: 0.7734 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000707/0.5799, allocations: 0.6484 MB / 0.7551 GB, free: 304 kB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008621/0.5808, allocations: 0.7927 MB / 0.7559 GB, free: 15.7 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5808, allocations: 3.938 kB / 0.7559 GB, free: 15.7 MB / 0.5265 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001887/0.5827, allocations: 1.69 MB / 0.7575 GB, free: 14.35 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.5827, allocations: 4 kB / 0.7575 GB, free: 14.34 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.5827, allocations: 0 / 0.7575 GB, free: 14.34 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.5827, allocations: 11.98 kB / 0.7575 GB, free: 14.33 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.5842, allocations: 380.9 kB / 0.7579 GB, free: 13.97 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.5842, allocations: 8.938 kB / 0.7579 GB, free: 13.96 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009496/0.5851, allocations: 162.7 kB / 0.7581 GB, free: 13.8 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.697e-05/0.5852, allocations: 45.06 kB / 0.7581 GB, free: 13.77 MB / 0.5265 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 200 * 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.000153/0.5854, allocations: 120.7 kB / 0.7582 GB, free: 13.65 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.5855, allocations: 79.16 kB / 0.7583 GB, free: 13.57 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.5868, allocations: 1.028 MB / 0.7593 GB, free: 12.79 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.996e-06/0.5868, allocations: 12 kB / 0.7593 GB, free: 12.77 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5868, allocations: 4 kB / 0.7593 GB, free: 12.77 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.5869, allocations: 3.984 kB / 0.7593 GB, free: 12.77 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008316/0.5877, allocations: 0.7565 MB / 0.7601 GB, free: 12.11 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5877, allocations: 0 / 0.7601 GB, free: 12.11 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/0.5895, allocations: 263.2 kB / 0.7603 GB, free: 11.86 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.026e-06/0.5895, allocations: 7.984 kB / 0.7603 GB, free: 11.86 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/0.5896, allocations: 63.38 kB / 0.7604 GB, free: 11.8 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.5896, allocations: 4 kB / 0.7604 GB, free: 11.8 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5896, allocations: 0 / 0.7604 GB, free: 11.8 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001539/0.5912, allocations: 1.48 MB / 0.7618 GB, free: 10.6 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003425/0.5915, allocations: 236 kB / 0.7621 GB, free: 10.35 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.5917, allocations: 55.84 kB / 0.7621 GB, free: 10.3 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008534/0.5926, allocations: 119.3 kB / 0.7622 GB, free: 10.18 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.5927, allocations: 55.66 kB / 0.7623 GB, free: 10.13 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.283e-05/0.5928, allocations: 30.42 kB / 0.7623 GB, free: 10.11 MB / 0.5265 GB Notification: Performance of sort global known variables: time 0.0001836/0.593, allocations: 267.3 kB / 0.7626 GB, free: 9.891 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.0007062/0.5937, allocations: 459.4 kB / 0.763 GB, free: 9.441 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 99 (Ttilde[1],Ttilde[2],Ttilde[3],Ttilde[4],Ttilde[5],Ttilde[6],Ttilde[7],Ttilde[8],Ttilde[9],Ttilde[10],Ttilde[11],Ttilde[12],Ttilde[13],Ttilde[14],Ttilde[15],Ttilde[16],Ttilde[17],Ttilde[18],Ttilde[19],Ttilde[20],Ttilde[21],Ttilde[22],Ttilde[23],Ttilde[24],Ttilde[25],Ttilde[26],Ttilde[27],Ttilde[28],Ttilde[29],Ttilde[30],Ttilde[31],Ttilde[32],Ttilde[33],Ttilde[34],Ttilde[35],Ttilde[36],Ttilde[37],Ttilde[38],Ttilde[39],Ttilde[40],Ttilde[41],Ttilde[42],Ttilde[43],Ttilde[44],Ttilde[45],Ttilde[46],Ttilde[47],Ttilde[48],Ttilde[49],Ttilde[50],Ttilde[51],Ttilde[52],Ttilde[53],Ttilde[54],Ttilde[55],Ttilde[56],Ttilde[57],Ttilde[58],Ttilde[59],Ttilde[60],Ttilde[61],Ttilde[62],Ttilde[63],Ttilde[64],Ttilde[65],Ttilde[66],Ttilde[67],Ttilde[68],Ttilde[69],Ttilde[70],Ttilde[71],Ttilde[72],Ttilde[73],Ttilde[74],Ttilde[75],Ttilde[76],Ttilde[77],Ttilde[78],Ttilde[79],Ttilde[80],Ttilde[81],Ttilde[82],Ttilde[83],Ttilde[84],Ttilde[85],Ttilde[86],Ttilde[87],Ttilde[88],Ttilde[89],Ttilde[90],Ttilde[91],Ttilde[92],Ttilde[93],Ttilde[94],Ttilde[95],Ttilde[96],Ttilde[97],Ttilde[98],Ttilde[99]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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.000196/0.5939, allocations: 167.9 kB / 0.7632 GB, free: 9.277 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.001359/0.5952, allocations: 1.287 MB / 0.7644 GB, free: 8.301 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5952, allocations: 0 / 0.7644 GB, free: 8.301 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0005107/0.5958, allocations: 0.506 MB / 0.7649 GB, free: 7.93 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.5969, allocations: 425.7 kB / 0.7653 GB, free: 7.59 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.609, allocations: 8.46 MB / 0.7736 GB, free: 15.16 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009403/0.6099, allocations: 1.255 MB / 0.7748 GB, free: 13.9 MB / 0.5421 GB Notification: Performance of SimCode: time 3.6e-07/0.61, allocations: 0 / 0.7748 GB, free: 13.9 MB / 0.5421 GB Notification: Performance of Templates: time 0.02786/0.6378, allocations: 21.12 MB / 0.7954 GB, free: 8.973 MB / 0.5578 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches