Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.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_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T.1.|T.20.|T.2.|T.3.|der.T.1..|der.T.2..|der.T.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20") translateModel(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T.1.|T.20.|T.2.|T.3.|der.T.1..|der.T.2..|der.T.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20") [: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.0009105/0.0009105, allocations: 186.7 kB / 8.135 MB, free: 2.191 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.038/1.038, allocations: 221.4 MB / 229.9 MB, free: 3.016 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.000856/0.000856, allocations: 93.66 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5933/0.5933, allocations: 120.4 MB / 452 MB, free: 13.06 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.929e-06/4.94e-06, allocations: 0 / 0.5282 GB, free: 52.39 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1037, allocations: 82.84 MB / 0.6091 GB, free: 3.59 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4248/0.5285, allocations: 124.6 MB / 0.7308 GB, free: 5.027 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001449/0.5287, allocations: 57.62 kB / 0.7308 GB, free: 5.004 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01205/0.5407, allocations: 3.86 MB / 0.7346 GB, free: 1.93 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.5408, allocations: 4 kB / 0.7346 GB, free: 1.926 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001261/0.542, allocations: 0.5618 MB / 0.7351 GB, free: 1.328 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.5421, allocations: 12.03 kB / 0.7352 GB, free: 1.312 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.632e-05/0.5421, allocations: 23.75 kB / 0.7352 GB, free: 1.289 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.5424, allocations: 210.8 kB / 0.7354 GB, free: 1.043 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.5424, allocations: 15.84 kB / 0.7354 GB, free: 1.027 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.5424, allocations: 27.67 kB / 0.7354 GB, free: 1.004 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001843/0.5426, allocations: 117.5 kB / 0.7355 GB, free: 0.9141 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.5429, allocations: 218.4 kB / 0.7357 GB, free: 0.7305 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.5429, allocations: 0 / 0.7357 GB, free: 0.7305 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.5429, allocations: 0 / 0.7357 GB, free: 0.7305 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.5429, allocations: 7.984 kB / 0.7358 GB, free: 0.7227 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.5451, allocations: 1.707 MB / 0.7374 GB, free: 14.79 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.5454, allocations: 228 kB / 0.7376 GB, free: 14.6 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.5455, allocations: 85.39 kB / 0.7377 GB, free: 14.53 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.5456, allocations: 4 kB / 0.7377 GB, free: 14.53 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.5456, allocations: 37.81 kB / 0.7378 GB, free: 14.48 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=19): time 1.352e-06/0.5456, allocations: 0 / 0.7378 GB, free: 14.48 MB / 0.5109 GB Notification: Performance of matching and sorting (n=19): time 0.0004089/0.546, allocations: 216.5 kB / 0.738 GB, free: 14.3 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.5461, allocations: 55.41 kB / 0.738 GB, free: 14.24 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.196e-05/0.5461, allocations: 104 kB / 0.7381 GB, free: 14.14 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.5462, allocations: 25.7 kB / 0.7381 GB, free: 14.11 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.5462, allocations: 115.3 kB / 0.7382 GB, free: 13.99 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 5.666e-05/0.5463, allocations: 83.75 kB / 0.7383 GB, free: 13.92 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/0.5463, allocations: 0 / 0.7383 GB, free: 13.92 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 9.004e-05/0.5464, allocations: 337.3 kB / 0.7387 GB, free: 13.59 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.5466, allocations: 112.3 kB / 0.7388 GB, free: 13.5 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.5467, allocations: 111.7 kB / 0.7389 GB, free: 13.42 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.5469, allocations: 128.2 kB / 0.739 GB, free: 13.32 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.5469, allocations: 0 / 0.739 GB, free: 13.32 MB / 0.5109 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004442/0.5474, allocations: 316.4 kB / 0.7393 GB, free: 13.05 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.5474, allocations: 4 kB / 0.7393 GB, free: 13.05 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.5474, allocations: 1.688 kB / 0.7393 GB, free: 13.05 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.5474, allocations: 4 kB / 0.7393 GB, free: 13.05 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005002/0.5479, allocations: 75.33 kB / 0.7394 GB, free: 12.98 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.5479, allocations: 4.219 kB / 0.7394 GB, free: 12.97 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.5483, allocations: 31.81 kB / 0.7394 GB, free: 12.94 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.5483, allocations: 8 kB / 0.7394 GB, free: 12.93 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 (38): * Single equations (assignments): 38 * 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 8.016e-05/0.5484, allocations: 108.2 kB / 0.7395 GB, free: 12.82 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.73e-05/0.5484, allocations: 19.81 kB / 0.7395 GB, free: 12.8 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.605e-05/0.5485, allocations: 33.62 kB / 0.7396 GB, free: 12.8 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.5485, allocations: 3.938 kB / 0.7396 GB, free: 12.8 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.5485, allocations: 4 kB / 0.7396 GB, free: 12.79 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.5485, allocations: 3.984 kB / 0.7396 GB, free: 12.79 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.5488, allocations: 250 kB / 0.7398 GB, free: 12.52 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.5488, allocations: 3.938 kB / 0.7398 GB, free: 12.52 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005726/0.5494, allocations: 53.53 kB / 0.7399 GB, free: 12.47 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.5494, allocations: 4 kB / 0.7399 GB, free: 12.47 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/0.5494, allocations: 11.98 kB / 0.7399 GB, free: 12.46 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.5495, allocations: 3.984 kB / 0.7399 GB, free: 12.45 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5495, allocations: 0 / 0.7399 GB, free: 12.45 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005/0.55, allocations: 429.8 kB / 0.7403 GB, free: 12.09 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.55, allocations: 85.02 kB / 0.7404 GB, free: 11.99 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.136e-05/0.5501, allocations: 11.98 kB / 0.7404 GB, free: 11.98 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.5504, allocations: 27.81 kB / 0.7404 GB, free: 11.95 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.5505, allocations: 11.23 kB / 0.7404 GB, free: 11.94 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.5505, allocations: 4 kB / 0.7404 GB, free: 11.94 MB / 0.5109 GB Notification: Performance of sort global known variables: time 3.67e-05/0.5506, allocations: 82.72 kB / 0.7405 GB, free: 11.86 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0002909/0.5509, allocations: 83.78 kB / 0.7406 GB, free: 11.78 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 19 (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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001325/0.551, allocations: 112.1 kB / 0.7407 GB, free: 11.66 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0003686/0.5514, allocations: 253 kB / 0.7409 GB, free: 11.47 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5514, allocations: 0 / 0.7409 GB, free: 11.47 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.5515, allocations: 101.8 kB / 0.741 GB, free: 11.39 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.5518, allocations: 38.78 kB / 0.7411 GB, free: 11.36 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.5535, allocations: 1.423 MB / 0.7425 GB, free: 9.922 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004754/0.5539, allocations: 0.7901 MB / 0.7432 GB, free: 9.109 MB / 0.5109 GB Notification: Performance of SimCode: time 2.6e-07/0.554, allocations: 3.938 kB / 0.7432 GB, free: 9.105 MB / 0.5109 GB Notification: Performance of Templates: time 0.006078/0.56, allocations: 3.98 MB / 0.7471 GB, free: 5.184 MB / 0.5109 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches