Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_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.AdvectionReaction_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="der.u.100..|der.u.1..|der.u.2..|der.u.3..|der.u.4..|der.u.5..|time|time|u.100.|u.1.|u.2.|u.3.|u.4.|u.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100") translateModel(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="der.u.100..|der.u.1..|der.u.2..|der.u.3..|der.u.4..|der.u.5..|time|time|u.100.|u.1.|u.2.|u.3.|u.4.|u.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_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.001149/0.001149, allocations: 181.8 kB / 8.134 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.095/1.095, 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.0008998/0.0008997, allocations: 110.9 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.634/0.634, allocations: 120.4 MB / 452 MB, free: 12.93 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.971e-06/6.001e-06, allocations: 0 / 0.5282 GB, free: 52.34 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.113, allocations: 82.85 MB / 0.6091 GB, free: 3.477 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4341/0.5471, allocations: 124.3 MB / 0.7305 GB, free: 5 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001296/0.5473, allocations: 54.11 kB / 0.7306 GB, free: 4.98 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.03803/0.5853, allocations: 9.88 MB / 0.7402 GB, free: 12.42 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.5854, allocations: 8 kB / 0.7402 GB, free: 12.41 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.00421/0.5896, allocations: 1.296 MB / 0.7415 GB, free: 11.1 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.5896, allocations: 8.031 kB / 0.7415 GB, free: 11.09 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.5898, allocations: 39.62 kB / 0.7415 GB, free: 11.05 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005184/0.595, allocations: 1.24 MB / 0.7427 GB, free: 9.777 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.595, allocations: 12 kB / 0.7428 GB, free: 9.766 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.5952, allocations: 73.55 kB / 0.7428 GB, free: 9.707 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008793/0.5961, allocations: 0.5404 MB / 0.7434 GB, free: 9.289 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.5974, allocations: 0.8435 MB / 0.7442 GB, free: 8.574 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.5974, allocations: 0 / 0.7442 GB, free: 8.574 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.236e-05/0.5975, allocations: 0 / 0.7442 GB, free: 8.574 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.5975, allocations: 12 kB / 0.7442 GB, free: 8.562 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.5994, allocations: 0.9607 MB / 0.7451 GB, free: 7.625 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002431/0.6018, allocations: 1.827 MB / 0.7469 GB, free: 6.227 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007842/0.6026, allocations: 0.5766 MB / 0.7475 GB, free: 5.789 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.6027, allocations: 9 kB / 0.7475 GB, free: 5.781 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.6028, allocations: 47.81 kB / 0.7475 GB, free: 5.738 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=100): time 1.964e-06/0.6028, allocations: 4 kB / 0.7475 GB, free: 5.734 MB / 0.5109 GB Notification: Performance of matching and sorting (n=100): time 0.002041/0.6048, allocations: 1.311 MB / 0.7488 GB, free: 4.676 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.6048, allocations: 68.31 kB / 0.7489 GB, free: 4.594 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.256e-05/0.6049, allocations: 96.69 kB / 0.749 GB, free: 4.496 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 9.205e-05/0.605, allocations: 25.7 kB / 0.749 GB, free: 4.465 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 3.247e-05/0.6051, allocations: 82.14 kB / 0.7491 GB, free: 4.383 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003197/0.6054, allocations: 471.2 kB / 0.7495 GB, free: 3.992 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.6055, allocations: 0 / 0.7495 GB, free: 3.992 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.6056, allocations: 374.2 kB / 0.7499 GB, free: 3.641 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.6068, allocations: 0.8501 MB / 0.7507 GB, free: 2.992 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.608, allocations: 0.9467 MB / 0.7516 GB, free: 2.266 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.6093, allocations: 1.002 MB / 0.7526 GB, free: 1.48 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6093, allocations: 0 / 0.7526 GB, free: 1.48 MB / 0.5109 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002854/0.6122, allocations: 2.064 MB / 0.7546 GB, free: 15.81 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.6122, allocations: 4 kB / 0.7546 GB, free: 15.81 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.6122, allocations: 3.938 kB / 0.7546 GB, free: 15.8 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.6122, allocations: 8 kB / 0.7546 GB, free: 15.8 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/0.6141, allocations: 369.7 kB / 0.755 GB, free: 15.45 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.6142, allocations: 7.938 kB / 0.755 GB, free: 15.44 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008425/0.615, allocations: 138.8 kB / 0.7551 GB, free: 15.3 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.6151, allocations: 46.62 kB / 0.7552 GB, free: 15.27 MB / 0.5265 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0002313/0.6154, allocations: 120.7 kB / 0.7553 GB, free: 15.14 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.6155, allocations: 47.53 kB / 0.7553 GB, free: 15.1 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003165/0.6158, allocations: 162.5 kB / 0.7555 GB, free: 15.09 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.6158, allocations: 16.12 kB / 0.7555 GB, free: 15.07 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6159, allocations: 0 / 0.7555 GB, free: 15.07 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.6159, allocations: 7.969 kB / 0.7555 GB, free: 15.07 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.6171, allocations: 0.761 MB / 0.7563 GB, free: 14.33 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.6172, allocations: 0 / 0.7563 GB, free: 14.33 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002147/0.6193, allocations: 246.1 kB / 0.7565 GB, free: 14.1 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.6193, allocations: 7.906 kB / 0.7565 GB, free: 14.09 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001594/0.6195, allocations: 65.86 kB / 0.7566 GB, free: 14.04 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.6195, allocations: 0 / 0.7566 GB, free: 14.04 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.6195, allocations: 8 kB / 0.7566 GB, free: 14.03 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002488/0.622, allocations: 1.785 MB / 0.7583 GB, free: 12.59 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004497/0.6225, allocations: 260.2 kB / 0.7586 GB, free: 12.31 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/0.6227, allocations: 43.95 kB / 0.7586 GB, free: 12.27 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008617/0.6236, allocations: 67.92 kB / 0.7587 GB, free: 12.2 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.6237, allocations: 51.66 kB / 0.7587 GB, free: 12.16 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.6239, allocations: 31.05 kB / 0.7588 GB, free: 12.14 MB / 0.5265 GB Notification: Performance of sort global known variables: time 3.529e-05/0.6239, allocations: 82.72 kB / 0.7588 GB, free: 12.06 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.0005268/0.6244, allocations: 220 kB / 0.759 GB, free: 11.84 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 100 (u[1],u[2],u[3],u[4],u[5],u[6],u[7],u[8],u[9],u[10],u[11],u[12],u[13],u[14],u[15],u[16],u[17],u[18],u[19],u[20],u[21],u[22],u[23],u[24],u[25],u[26],u[27],u[28],u[29],u[30],u[31],u[32],u[33],u[34],u[35],u[36],u[37],u[38],u[39],u[40],u[41],u[42],u[43],u[44],u[45],u[46],u[47],u[48],u[49],u[50],u[51],u[52],u[53],u[54],u[55],u[56],u[57],u[58],u[59],u[60],u[61],u[62],u[63],u[64],u[65],u[66],u[67],u[68],u[69],u[70],u[71],u[72],u[73],u[74],u[75],u[76],u[77],u[78],u[79],u[80],u[81],u[82],u[83],u[84],u[85],u[86],u[87],u[88],u[89],u[90],u[91],u[92],u[93],u[94],u[95],u[96],u[97],u[98],u[99],u[100]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 100 * 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.0002328/0.6247, allocations: 153.9 kB / 0.7592 GB, free: 11.69 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.002215/0.6269, allocations: 1.685 MB / 0.7608 GB, free: 10.37 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6269, allocations: 0 / 0.7608 GB, free: 10.37 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0009224/0.6278, allocations: 0.683 MB / 0.7615 GB, free: 9.836 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.628, allocations: 0 / 0.7615 GB, free: 9.836 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.6307, allocations: 2.462 MB / 0.7639 GB, free: 7.383 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/0.6317, allocations: 0.9626 MB / 0.7648 GB, free: 6.402 MB / 0.5265 GB Notification: Performance of SimCode: time 3e-07/0.6317, allocations: 0 / 0.7648 GB, free: 6.402 MB / 0.5265 GB Notification: Performance of Templates: time 0.01875/0.6505, allocations: 14.69 MB / 0.7792 GB, free: 7.707 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches