Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.0009953/0.0009953, allocations: 181.8 kB / 8.131 MB, free: 2.199 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.04/1.04, allocations: 221.4 MB / 229.9 MB, free: 3.293 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.0008522/0.0008522, allocations: 96.38 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.5869/0.5869, allocations: 120.5 MB / 452 MB, free: 12.94 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.718e-06/4.738e-06, allocations: 0 / 0.5282 GB, free: 52.45 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1002, allocations: 82.85 MB / 0.6091 GB, free: 3.531 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4325/0.5328, allocations: 124.6 MB / 0.7308 GB, free: 5.02 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001462/0.5329, allocations: 59.41 kB / 0.7308 GB, free: 4.996 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01221/0.5452, allocations: 3.85 MB / 0.7346 GB, free: 1.914 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.5452, allocations: 4 kB / 0.7346 GB, free: 1.91 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.001253/0.5464, allocations: 0.5609 MB / 0.7351 GB, free: 1.309 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.5465, allocations: 12.03 kB / 0.7352 GB, free: 1.297 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.446e-05/0.5465, allocations: 19.81 kB / 0.7352 GB, free: 1.277 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.5468, allocations: 218.8 kB / 0.7354 GB, free: 1.023 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.5468, allocations: 7.906 kB / 0.7354 GB, free: 1.016 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.5468, allocations: 26.61 kB / 0.7354 GB, free: 0.9922 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001805/0.547, allocations: 114 kB / 0.7355 GB, free: 0.9062 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.5473, allocations: 221.3 kB / 0.7357 GB, free: 0.7188 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.5473, allocations: 0 / 0.7357 GB, free: 0.7188 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.5473, allocations: 0 / 0.7357 GB, free: 0.7188 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.5474, allocations: 4 kB / 0.7357 GB, free: 0.7148 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002204/0.5496, allocations: 1.712 MB / 0.7374 GB, free: 14.77 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.5499, allocations: 225.3 kB / 0.7376 GB, free: 14.59 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.55, allocations: 85.39 kB / 0.7377 GB, free: 14.52 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.55, allocations: 4 kB / 0.7377 GB, free: 14.52 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.5501, allocations: 36.56 kB / 0.7377 GB, free: 14.47 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=19): time 1.232e-06/0.5501, allocations: 0 / 0.7377 GB, free: 14.47 MB / 0.5109 GB Notification: Performance of matching and sorting (n=19): time 0.0004071/0.5505, allocations: 217.7 kB / 0.738 GB, free: 14.29 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.5505, allocations: 55.39 kB / 0.738 GB, free: 14.23 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.563e-05/0.5506, allocations: 103.7 kB / 0.7381 GB, free: 14.12 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.5506, allocations: 25.7 kB / 0.7381 GB, free: 14.09 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/0.5507, allocations: 116.7 kB / 0.7382 GB, free: 13.98 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 6.005e-05/0.5507, allocations: 88.75 kB / 0.7383 GB, free: 13.9 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/0.5508, allocations: 0 / 0.7383 GB, free: 13.9 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 9.456e-05/0.5509, allocations: 330.5 kB / 0.7386 GB, free: 13.58 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.551, allocations: 107.8 kB / 0.7387 GB, free: 13.5 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.5512, allocations: 115.9 kB / 0.7389 GB, free: 13.41 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.5514, allocations: 129.3 kB / 0.739 GB, free: 13.31 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5514, allocations: 0 / 0.739 GB, free: 13.31 MB / 0.5109 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004502/0.5518, allocations: 316 kB / 0.7393 GB, free: 13.04 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.5519, allocations: 10.91 kB / 0.7393 GB, free: 13.04 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.5519, allocations: 0 / 0.7393 GB, free: 13.04 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.5519, allocations: 4 kB / 0.7393 GB, free: 13.03 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/0.5524, allocations: 74.64 kB / 0.7394 GB, free: 12.96 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.5524, allocations: 5.969 kB / 0.7394 GB, free: 12.96 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/0.5527, allocations: 31.81 kB / 0.7394 GB, free: 12.93 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.5528, allocations: 11.44 kB / 0.7394 GB, free: 12.92 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.721e-05/0.5529, allocations: 108.9 kB / 0.7395 GB, free: 12.8 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.5529, allocations: 15.81 kB / 0.7395 GB, free: 12.79 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.669e-05/0.553, allocations: 38.81 kB / 0.7396 GB, free: 12.78 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.553, allocations: 0 / 0.7396 GB, free: 12.78 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.553, allocations: 4 kB / 0.7396 GB, free: 12.78 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.553, allocations: 3.984 kB / 0.7396 GB, free: 12.77 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.5533, allocations: 254.1 kB / 0.7398 GB, free: 12.5 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5533, allocations: 0 / 0.7398 GB, free: 12.5 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005672/0.5539, allocations: 55.58 kB / 0.7399 GB, free: 12.45 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.748e-06/0.5539, allocations: 4 kB / 0.7399 GB, free: 12.45 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.5539, allocations: 7.984 kB / 0.7399 GB, free: 12.44 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5539, allocations: 4 kB / 0.7399 GB, free: 12.44 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.554, allocations: 0 / 0.7399 GB, free: 12.44 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005028/0.5545, allocations: 427.7 kB / 0.7403 GB, free: 12.08 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 3.845e-05/0.5545, allocations: 86.7 kB / 0.7404 GB, free: 11.98 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/0.5546, allocations: 7.984 kB / 0.7404 GB, free: 11.97 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003608/0.5549, allocations: 31.81 kB / 0.7404 GB, free: 11.94 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.555, allocations: 7.984 kB / 0.7404 GB, free: 11.93 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.555, allocations: 7.812 kB / 0.7404 GB, free: 11.93 MB / 0.5109 GB Notification: Performance of sort global known variables: time 3.862e-05/0.5551, allocations: 79.98 kB / 0.7405 GB, free: 11.85 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0002778/0.5553, allocations: 79.84 kB / 0.7406 GB, free: 11.77 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.0001227/0.5555, allocations: 119.1 kB / 0.7407 GB, free: 11.65 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0003516/0.5558, allocations: 247.9 kB / 0.7409 GB, free: 11.46 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.5558, allocations: 0 / 0.7409 GB, free: 11.46 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.556, allocations: 103.7 kB / 0.741 GB, free: 11.38 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.5562, allocations: 44.95 kB / 0.7411 GB, free: 11.34 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.5579, allocations: 1.416 MB / 0.7425 GB, free: 9.914 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004183/0.5583, allocations: 0.7902 MB / 0.7432 GB, free: 9.102 MB / 0.5109 GB Notification: Performance of SimCode: time 2.9e-07/0.5583, allocations: 0 / 0.7432 GB, free: 9.102 MB / 0.5109 GB Notification: Performance of Templates: time 0.005925/0.5643, allocations: 3.989 MB / 0.7471 GB, free: 5.176 MB / 0.5109 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches