Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [:1:1-1:32: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 trunk/package.mo): time 0.001748/0.001748, allocations: 195.9 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.267/1.267, allocations: 225.5 MB / 234.4 MB, free: 3.379 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009059/0.0009059, allocations: 94.67 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1917/0.1917, allocations: 45.15 MB / 383.4 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.343e-06/7.383e-06, allocations: 4 kB / 452.6 MB, free: 76.16 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1095, allocations: 63.24 MB / 0.5038 GB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3711/0.4806, allocations: 96.04 MB / 0.5976 GB, free: 6.863 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/0.481, allocations: 102.1 kB / 0.5977 GB, free: 6.805 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02248/0.5035, allocations: 7.766 MB / 0.6053 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.5036, allocations: 4 kB / 0.6053 GB, free: 0.5977 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007044/0.5043, allocations: 479.1 kB / 0.6057 GB, free: 100 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.5043, allocations: 12.03 kB / 0.6057 GB, free: 88 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.834e-05/0.5044, allocations: 19.72 kB / 0.6058 GB, free: 68 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.5048, allocations: 214.3 kB / 0.606 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.5048, allocations: 8 kB / 0.606 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.5048, allocations: 8 kB / 0.606 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002371/0.5051, allocations: 107.9 kB / 0.6061 GB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.5053, allocations: 167 kB / 0.6062 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.5054, allocations: 0 / 0.6062 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.5054, allocations: 3.938 kB / 0.6062 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.5054, allocations: 4 kB / 0.6062 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009807/0.5064, allocations: 0.5119 MB / 0.6067 GB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.5066, allocations: 41.39 kB / 0.6068 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.024e-05/0.5066, allocations: 26.91 kB / 0.6068 GB, free: 15.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/0.5067, allocations: 7.891 kB / 0.6068 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.5067, allocations: 30.56 kB / 0.6068 GB, free: 15.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 3.687e-06/0.5067, allocations: 11.98 kB / 0.6069 GB, free: 15 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002679/0.507, allocations: 71.81 kB / 0.6069 GB, free: 14.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.507, allocations: 55.34 kB / 0.607 GB, free: 14.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.5072, allocations: 159.4 kB / 0.6071 GB, free: 14.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.5072, allocations: 25.7 kB / 0.6072 GB, free: 14.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.5073, allocations: 162.2 kB / 0.6073 GB, free: 14.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.5074, allocations: 18.94 kB / 0.6073 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/0.5074, allocations: 0 / 0.6073 GB, free: 14.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5075, allocations: 329.7 kB / 0.6076 GB, free: 14.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.978e-05/0.5076, allocations: 23.5 kB / 0.6077 GB, free: 14.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.5077, allocations: 110.1 kB / 0.6078 GB, free: 14.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.819e-05/0.5078, allocations: 46.61 kB / 0.6078 GB, free: 14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.5078, allocations: 0 / 0.6078 GB, free: 14 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003006/0.5081, allocations: 147.6 kB / 0.608 GB, free: 13.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.5081, allocations: 4 kB / 0.608 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.568e-05/0.5082, allocations: 16.38 kB / 0.608 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.5082, allocations: 8 kB / 0.608 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.5084, allocations: 39.91 kB / 0.608 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.5084, allocations: 8 kB / 0.608 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.5085, allocations: 19.84 kB / 0.608 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.5086, allocations: 11.98 kB / 0.6081 GB, free: 13.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001194/0.5087, allocations: 120.8 kB / 0.6082 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.5088, allocations: 7.906 kB / 0.6082 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003398/0.5091, allocations: 128.7 kB / 0.6083 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.5091, allocations: 3.938 kB / 0.6083 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5091, allocations: 0 / 0.6083 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.5091, allocations: 0 / 0.6083 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.5094, allocations: 198.5 kB / 0.6085 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/0.5094, allocations: 8 kB / 0.6085 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.54e-05/0.5095, allocations: 15.89 kB / 0.6085 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-06/0.5095, allocations: 0 / 0.6085 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.5095, allocations: 4 kB / 0.6085 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5095, allocations: 0 / 0.6085 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.5096, allocations: 0 / 0.6085 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002856/0.5098, allocations: 174.4 kB / 0.6087 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.666e-05/0.5099, allocations: 96.67 kB / 0.6088 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.51, allocations: 4 kB / 0.6088 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.5101, allocations: 4 kB / 0.6088 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.5102, allocations: 7.984 kB / 0.6088 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.5102, allocations: 4 kB / 0.6088 GB, free: 12.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001026/0.5103, allocations: 125.5 kB / 0.6089 GB, free: 12.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005397/0.5108, allocations: 79.2 kB / 0.609 GB, free: 12.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005792/0.5114, allocations: 214.2 kB / 0.6092 GB, free: 12.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003826/0.5118, allocations: 140.8 kB / 0.6093 GB, free: 12.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5118, allocations: 0 / 0.6093 GB, free: 12.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.512, allocations: 95.72 kB / 0.6094 GB, free: 12.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.5123, allocations: 10.66 kB / 0.6094 GB, free: 12.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007104/0.513, allocations: 205.6 kB / 0.6096 GB, free: 12.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005047/0.5135, allocations: 0.7525 MB / 0.6104 GB, free: 11.31 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5135, allocations: 4 kB / 0.6104 GB, free: 11.31 MB / 410.7 MB Notification: Performance of Templates: time 0.009134/0.5227, allocations: 3.436 MB / 0.6137 GB, free: 7.91 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches