Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.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_40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T.1.|T.2.|T.3.|T.40.|der.T.1..|der.T.2..|der.T.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40") translateModel(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T.1.|T.2.|T.3.|T.40.|der.T.1..|der.T.2..|der.T.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40") [: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.0009023/0.0009023, allocations: 189.8 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.019/1.019, allocations: 221.4 MB / 230 MB, free: 3.027 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.0007969/0.0007968, allocations: 92.94 kB / 280.8 MB, free: 1.297 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6035/0.6035, allocations: 120.4 MB / 452 MB, free: 12.95 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.911e-06/5.932e-06, allocations: 0 / 0.5282 GB, free: 52.45 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1072, allocations: 82.85 MB / 0.6091 GB, free: 3.531 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4569/0.5642, allocations: 124.6 MB / 0.7308 GB, free: 4.992 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001589/0.5644, allocations: 64.78 kB / 0.7308 GB, free: 4.969 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.02434/0.5887, allocations: 7.541 MB / 0.7382 GB, free: 14.47 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.5888, allocations: 4 kB / 0.7382 GB, free: 14.47 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00261/0.5914, allocations: 0.8465 MB / 0.739 GB, free: 13.59 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.5914, allocations: 8.031 kB / 0.739 GB, free: 13.58 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.967e-05/0.5915, allocations: 43.56 kB / 0.7391 GB, free: 13.54 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.5919, allocations: 262.6 kB / 0.7393 GB, free: 13.24 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.592, allocations: 12.5 kB / 0.7393 GB, free: 13.23 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.683e-05/0.5921, allocations: 46.72 kB / 0.7394 GB, free: 13.19 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004105/0.5925, allocations: 241 kB / 0.7396 GB, free: 13.01 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005823/0.5931, allocations: 408.2 kB / 0.74 GB, free: 12.67 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.5931, allocations: 4 kB / 0.74 GB, free: 12.67 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.389e-05/0.5931, allocations: 0 / 0.74 GB, free: 12.67 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.5932, allocations: 11.94 kB / 0.74 GB, free: 12.66 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004328/0.5975, allocations: 3.305 MB / 0.7432 GB, free: 8.922 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005483/0.5981, allocations: 430.8 kB / 0.7436 GB, free: 8.582 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.5983, allocations: 181 kB / 0.7438 GB, free: 8.449 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 5.221e-05/0.5984, allocations: 4.328 kB / 0.7438 GB, free: 8.445 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.5984, allocations: 42.02 kB / 0.7439 GB, free: 8.398 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=39): time 1.363e-06/0.5984, allocations: 0 / 0.7439 GB, free: 8.398 MB / 0.5109 GB Notification: Performance of matching and sorting (n=39): time 0.0007093/0.5991, allocations: 432.8 kB / 0.7443 GB, free: 8.051 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.5992, allocations: 59.34 kB / 0.7443 GB, free: 7.98 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.793e-05/0.5992, allocations: 111.9 kB / 0.7444 GB, free: 7.875 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.5993, allocations: 29.64 kB / 0.7445 GB, free: 7.84 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.5994, allocations: 147.6 kB / 0.7446 GB, free: 7.699 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.5995, allocations: 170.6 kB / 0.7448 GB, free: 7.555 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.5995, allocations: 0 / 0.7448 GB, free: 7.555 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 9.586e-05/0.5996, allocations: 341.5 kB / 0.7451 GB, free: 7.223 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003266/0.6, allocations: 227.6 kB / 0.7453 GB, free: 7.055 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.6003, allocations: 231.3 kB / 0.7455 GB, free: 6.887 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.6006, allocations: 273 kB / 0.7458 GB, free: 6.676 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6006, allocations: 0 / 0.7458 GB, free: 6.676 MB / 0.5109 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0008368/0.6015, allocations: 0.6048 MB / 0.7464 GB, free: 6.164 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.6015, allocations: 8 kB / 0.7464 GB, free: 6.156 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.6015, allocations: 0 / 0.7464 GB, free: 6.156 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.6015, allocations: 7.906 kB / 0.7464 GB, free: 6.148 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009915/0.6025, allocations: 155.4 kB / 0.7465 GB, free: 6.004 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.6025, allocations: 8.062 kB / 0.7466 GB, free: 5.996 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006487/0.6032, allocations: 67.48 kB / 0.7466 GB, free: 5.93 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-05/0.6032, allocations: 15.56 kB / 0.7466 GB, free: 5.918 MB / 0.5109 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 (78): * Single equations (assignments): 78 * 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.0001115/0.6034, allocations: 112.9 kB / 0.7467 GB, free: 5.801 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-05/0.6034, allocations: 19.81 kB / 0.7468 GB, free: 5.781 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.6036, allocations: 69.8 kB / 0.7468 GB, free: 5.773 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.6036, allocations: 4 kB / 0.7468 GB, free: 5.77 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.6036, allocations: 0 / 0.7468 GB, free: 5.77 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.6036, allocations: 3.906 kB / 0.7468 GB, free: 5.766 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/0.604, allocations: 365.2 kB / 0.7472 GB, free: 5.406 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.604, allocations: 0 / 0.7472 GB, free: 5.406 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.6052, allocations: 110.8 kB / 0.7473 GB, free: 5.305 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.6052, allocations: 3.906 kB / 0.7473 GB, free: 5.301 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.155e-05/0.6053, allocations: 23.97 kB / 0.7473 GB, free: 5.277 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.6053, allocations: 5.312 kB / 0.7473 GB, free: 5.273 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6053, allocations: 4 kB / 0.7473 GB, free: 5.27 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008886/0.6062, allocations: 0.7181 MB / 0.748 GB, free: 4.68 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.6062, allocations: 104.8 kB / 0.7481 GB, free: 4.559 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-05/0.6063, allocations: 19.92 kB / 0.7481 GB, free: 4.539 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006751/0.607, allocations: 55.69 kB / 0.7482 GB, free: 4.484 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.09e-05/0.6071, allocations: 19.97 kB / 0.7482 GB, free: 4.465 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/0.6071, allocations: 11.81 kB / 0.7482 GB, free: 4.457 MB / 0.5109 GB Notification: Performance of sort global known variables: time 3.29e-05/0.6072, allocations: 94.64 kB / 0.7483 GB, free: 4.367 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0003784/0.6076, allocations: 155.7 kB / 0.7485 GB, free: 4.215 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 39 (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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.000157/0.6077, allocations: 125.7 kB / 0.7486 GB, free: 4.082 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0006899/0.6084, allocations: 0.4936 MB / 0.7491 GB, free: 3.695 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6084, allocations: 0 / 0.7491 GB, free: 3.695 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.6087, allocations: 221.6 kB / 0.7493 GB, free: 3.527 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.6091, allocations: 72.11 kB / 0.7494 GB, free: 3.473 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.6122, allocations: 2.889 MB / 0.7522 GB, free: 0.582 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005969/0.6128, allocations: 0.8865 MB / 0.753 GB, free: 15.68 MB / 0.5265 GB Notification: Performance of SimCode: time 2.3e-07/0.6128, allocations: 4 kB / 0.753 GB, free: 15.68 MB / 0.5265 GB Notification: Performance of Templates: time 0.0107/0.6235, allocations: 7.906 MB / 0.7608 GB, free: 7.84 MB / 0.5265 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches