Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80.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.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T.1.|T.2.|T.3.|T.80.|der.T.1..|der.T.2..|der.T.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80") translateModel(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T.1.|T.2.|T.3.|T.80.|der.T.1..|der.T.2..|der.T.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80") [: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.001186/0.001186, allocations: 184.5 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.03/1.03, 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.0008743/0.0008743, allocations: 105 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.5937/0.5937, allocations: 120.5 MB / 452 MB, free: 13.05 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.829e-06/4.849e-06, allocations: 0 / 0.5282 GB, free: 52.45 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1043, allocations: 82.85 MB / 0.6091 GB, free: 3.574 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4283/0.5326, allocations: 124.6 MB / 0.7308 GB, free: 5.074 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001458/0.5328, allocations: 59.53 kB / 0.7308 GB, free: 5.051 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.0497/0.5825, allocations: 14.91 MB / 0.7454 GB, free: 7.777 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 2.076e-05/0.5825, allocations: 16 kB / 0.7454 GB, free: 7.762 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.005171/0.5877, allocations: 1.391 MB / 0.7468 GB, free: 6.355 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.5878, allocations: 8.031 kB / 0.7468 GB, free: 6.348 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.588, allocations: 77.09 kB / 0.7468 GB, free: 6.273 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005642/0.5885, allocations: 366.1 kB / 0.7472 GB, free: 5.879 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.5886, allocations: 20 kB / 0.7472 GB, free: 5.859 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.5887, allocations: 93.64 kB / 0.7473 GB, free: 5.777 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007792/0.5895, allocations: 486.8 kB / 0.7478 GB, free: 5.41 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.5907, allocations: 0.7773 MB / 0.7485 GB, free: 4.762 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.5907, allocations: 0 / 0.7485 GB, free: 4.762 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.289e-05/0.5908, allocations: 3.984 kB / 0.7485 GB, free: 4.758 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.5908, allocations: 16 kB / 0.7485 GB, free: 4.742 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008681/0.5995, allocations: 6.494 MB / 0.7549 GB, free: 13.42 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.6006, allocations: 0.8515 MB / 0.7557 GB, free: 12.74 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00046/0.6011, allocations: 352.5 kB / 0.756 GB, free: 12.48 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 9.694e-05/0.6012, allocations: 8.656 kB / 0.7561 GB, free: 12.48 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.6012, allocations: 46.03 kB / 0.7561 GB, free: 12.43 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=79): time 1.963e-06/0.6012, allocations: 3.938 kB / 0.7561 GB, free: 12.43 MB / 0.5265 GB Notification: Performance of matching and sorting (n=79): time 0.001389/0.6026, allocations: 0.8298 MB / 0.7569 GB, free: 11.75 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.6027, allocations: 64.06 kB / 0.757 GB, free: 11.68 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.188e-05/0.6027, allocations: 127.8 kB / 0.7571 GB, free: 11.56 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 7.572e-05/0.6028, allocations: 25.7 kB / 0.7571 GB, free: 11.53 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 8.259e-05/0.6029, allocations: 195.4 kB / 0.7573 GB, free: 11.34 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.6031, allocations: 355.9 kB / 0.7576 GB, free: 11.04 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.921e-05/0.6032, allocations: 0 / 0.7576 GB, free: 11.04 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.6033, allocations: 365 kB / 0.758 GB, free: 10.7 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006485/0.604, allocations: 462.1 kB / 0.7584 GB, free: 10.36 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000642/0.6046, allocations: 472.2 kB / 0.7589 GB, free: 9.996 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007419/0.6054, allocations: 0.5378 MB / 0.7594 GB, free: 9.574 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6054, allocations: 0.8438 kB / 0.7594 GB, free: 9.574 MB / 0.5265 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001723/0.6071, allocations: 1.201 MB / 0.7606 GB, free: 8.578 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.6071, allocations: 4 kB / 0.7606 GB, free: 8.574 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.6071, allocations: 0 / 0.7606 GB, free: 8.574 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.6072, allocations: 4 kB / 0.7606 GB, free: 8.57 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002057/0.6092, allocations: 316.1 kB / 0.7609 GB, free: 8.273 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.6093, allocations: 8 kB / 0.7609 GB, free: 8.266 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.6107, allocations: 141.4 kB / 0.761 GB, free: 8.129 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.399e-05/0.6108, allocations: 35.31 kB / 0.7611 GB, free: 8.102 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 (158): * Single equations (assignments): 158 * 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.0001931/0.611, allocations: 124.6 kB / 0.7612 GB, free: 7.973 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.6111, allocations: 31.72 kB / 0.7612 GB, free: 7.941 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.6114, allocations: 134.7 kB / 0.7614 GB, free: 7.922 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.6114, allocations: 8 kB / 0.7614 GB, free: 7.914 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6114, allocations: 3.938 kB / 0.7614 GB, free: 7.91 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.6114, allocations: 3.984 kB / 0.7614 GB, free: 7.906 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008032/0.6122, allocations: 0.596 MB / 0.7619 GB, free: 7.34 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6122, allocations: 0 / 0.7619 GB, free: 7.34 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002333/0.6146, allocations: 222.1 kB / 0.7622 GB, free: 7.133 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.6146, allocations: 4 kB / 0.7622 GB, free: 7.129 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/0.6147, allocations: 47.19 kB / 0.7622 GB, free: 7.086 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.6147, allocations: 7.906 kB / 0.7622 GB, free: 7.078 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.6147, allocations: 0 / 0.7622 GB, free: 7.078 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001768/0.6165, allocations: 1.339 MB / 0.7635 GB, free: 6.012 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 7.398e-05/0.6166, allocations: 112.6 kB / 0.7636 GB, free: 5.883 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.6167, allocations: 47.8 kB / 0.7637 GB, free: 5.836 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/0.6181, allocations: 103.5 kB / 0.7638 GB, free: 5.734 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.6182, allocations: 36.16 kB / 0.7638 GB, free: 5.703 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.353e-05/0.6183, allocations: 30.92 kB / 0.7638 GB, free: 5.68 MB / 0.5265 GB Notification: Performance of sort global known variables: time 3.643e-05/0.6184, allocations: 87.27 kB / 0.7639 GB, free: 5.594 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.0006165/0.619, allocations: 303.5 kB / 0.7642 GB, free: 5.297 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 79 (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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 79 * 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.0002196/0.6192, allocations: 146.8 kB / 0.7644 GB, free: 5.148 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.001347/0.6206, allocations: 1.019 MB / 0.7653 GB, free: 4.355 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6206, allocations: 0 / 0.7653 GB, free: 4.355 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0006027/0.6212, allocations: 450.2 kB / 0.7658 GB, free: 4.016 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000849/0.622, allocations: 139.6 kB / 0.7659 GB, free: 3.898 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006262/0.6283, allocations: 5.836 MB / 0.7716 GB, free: 14.08 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009917/0.6293, allocations: 1.089 MB / 0.7727 GB, free: 12.98 MB / 0.5421 GB Notification: Performance of SimCode: time 5.11e-07/0.6293, allocations: 0 / 0.7727 GB, free: 12.98 MB / 0.5421 GB Notification: Performance of Templates: time 0.02091/0.6502, allocations: 15.76 MB / 0.7881 GB, free: 13.32 MB / 0.5578 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches