Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.0008958/0.0008959, allocations: 187.9 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.01/1.01, allocations: 221.4 MB / 230 MB, free: 3.066 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.0008352/0.0008352, allocations: 103.9 kB / 280.8 MB, free: 1.328 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5718/0.5718, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.849e-06/4.95e-06, allocations: 0 / 0.5282 GB, free: 52.4 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09589/0.09591, allocations: 82.84 MB / 0.6091 GB, free: 3.582 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3983/0.4942, allocations: 125 MB / 0.7312 GB, free: 4.793 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00014/0.4944, allocations: 65.33 kB / 0.7313 GB, free: 4.77 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.03689/0.5313, allocations: 13.03 MB / 0.744 GB, free: 9.809 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 2.049e-05/0.5313, allocations: 16 kB / 0.744 GB, free: 9.793 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.002859/0.5342, allocations: 1.4 MB / 0.7454 GB, free: 8.402 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.5342, allocations: 8.031 kB / 0.7454 GB, free: 8.395 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.5344, allocations: 114.8 kB / 0.7455 GB, free: 8.281 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006206/0.535, allocations: 450.7 kB / 0.7459 GB, free: 7.801 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.5351, allocations: 31.91 kB / 0.746 GB, free: 7.77 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.5352, allocations: 95.05 kB / 0.7461 GB, free: 7.688 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000712/0.5359, allocations: 0.5484 MB / 0.7466 GB, free: 7.285 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.537, allocations: 0.8594 MB / 0.7474 GB, free: 6.594 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.5371, allocations: 0 / 0.7474 GB, free: 6.594 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.079e-05/0.5371, allocations: 4 kB / 0.7474 GB, free: 6.59 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.5371, allocations: 16.94 kB / 0.7475 GB, free: 6.574 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004786/0.5419, allocations: 2.549 MB / 0.7499 GB, free: 4.246 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.5431, allocations: 1.107 MB / 0.751 GB, free: 3.367 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004099/0.5435, allocations: 405.9 kB / 0.7514 GB, free: 3.098 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 6.206e-05/0.5435, allocations: 13 kB / 0.7514 GB, free: 3.082 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.5436, allocations: 42.94 kB / 0.7515 GB, free: 3.039 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=101): time 2.224e-06/0.5436, allocations: 0 / 0.7515 GB, free: 3.039 MB / 0.5109 GB Notification: Performance of matching and sorting (n=101): time 0.001188/0.5448, allocations: 0.8963 MB / 0.7523 GB, free: 2.297 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.5448, allocations: 68.28 kB / 0.7524 GB, free: 2.223 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.5451, allocations: 327.3 kB / 0.7527 GB, free: 1.945 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 5.13e-05/0.5452, allocations: 29.64 kB / 0.7528 GB, free: 1.91 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 9.192e-05/0.5452, allocations: 248.9 kB / 0.753 GB, free: 1.684 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003687/0.5456, allocations: 478.4 kB / 0.7534 GB, free: 1.285 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.5457, allocations: 0 / 0.7534 GB, free: 1.285 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.5458, allocations: 409 kB / 0.7538 GB, free: 0.918 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007229/0.5465, allocations: 0.6449 MB / 0.7545 GB, free: 460 kB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007189/0.5473, allocations: 0.6486 MB / 0.7551 GB, free: 15.97 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008591/0.5481, allocations: 0.787 MB / 0.7559 GB, free: 15.38 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5481, allocations: 4 kB / 0.7559 GB, free: 15.38 MB / 0.5265 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00187/0.55, allocations: 1.69 MB / 0.7575 GB, free: 14.03 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.55, allocations: 4 kB / 0.7575 GB, free: 14.02 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.5501, allocations: 0 / 0.7575 GB, free: 14.02 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.5501, allocations: 11.94 kB / 0.7575 GB, free: 14.01 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.5515, allocations: 373 kB / 0.7579 GB, free: 13.66 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.5515, allocations: 8 kB / 0.7579 GB, free: 13.65 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009594/0.5525, allocations: 170.7 kB / 0.7581 GB, free: 13.48 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.148e-05/0.5526, allocations: 45.44 kB / 0.7581 GB, free: 13.45 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.0001505/0.5527, allocations: 120.7 kB / 0.7582 GB, free: 13.33 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.5529, allocations: 75.16 kB / 0.7583 GB, free: 13.25 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.5542, allocations: 1.032 MB / 0.7593 GB, free: 12.46 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.5542, allocations: 12 kB / 0.7593 GB, free: 12.45 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5542, allocations: 0 / 0.7593 GB, free: 12.45 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.5542, allocations: 3.984 kB / 0.7593 GB, free: 12.45 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008173/0.555, allocations: 0.7564 MB / 0.7601 GB, free: 11.79 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.555, allocations: 0 / 0.7601 GB, free: 11.79 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/0.5568, allocations: 264.2 kB / 0.7603 GB, free: 11.55 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.5568, allocations: 4 kB / 0.7603 GB, free: 11.54 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/0.5569, allocations: 61.86 kB / 0.7604 GB, free: 11.49 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.5569, allocations: 4 kB / 0.7604 GB, free: 11.48 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5569, allocations: 0 / 0.7604 GB, free: 11.48 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001525/0.5584, allocations: 1.489 MB / 0.7618 GB, free: 10.28 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003411/0.5588, allocations: 236 kB / 0.7621 GB, free: 10.03 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/0.559, allocations: 51.84 kB / 0.7621 GB, free: 9.98 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008447/0.5598, allocations: 123.3 kB / 0.7622 GB, free: 9.859 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.5599, allocations: 60.66 kB / 0.7623 GB, free: 9.809 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.269e-05/0.56, allocations: 31.8 kB / 0.7623 GB, free: 9.781 MB / 0.5265 GB Notification: Performance of sort global known variables: time 0.0001788/0.5602, allocations: 260.9 kB / 0.7626 GB, free: 9.57 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.0006963/0.5609, allocations: 459.4 kB / 0.763 GB, free: 9.121 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.0001898/0.5611, allocations: 168.7 kB / 0.7632 GB, free: 8.957 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.00133/0.5624, allocations: 1.291 MB / 0.7644 GB, free: 7.977 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5624, allocations: 0 / 0.7644 GB, free: 7.977 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0004981/0.5629, allocations: 0.5051 MB / 0.7649 GB, free: 7.605 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.5641, allocations: 417.8 kB / 0.7653 GB, free: 7.266 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/0.5759, allocations: 8.459 MB / 0.7736 GB, free: 14.84 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009235/0.5769, allocations: 1.25 MB / 0.7748 GB, free: 13.59 MB / 0.5421 GB Notification: Performance of SimCode: time 2.91e-07/0.5769, allocations: 0 / 0.7748 GB, free: 13.59 MB / 0.5421 GB Notification: Performance of Templates: time 0.0274/0.6043, allocations: 21.13 MB / 0.7954 GB, free: 8.648 MB / 0.5578 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches