Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [: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.002094/0.002094, allocations: 194.9 kB / 8.539 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 225.5 MB / 234.4 MB, free: 3.367 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008848/0.0008848, allocations: 96.23 kB / 286.3 MB, free: 5.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.196/0.196, allocations: 45.15 MB / 383.4 MB, free: 0.582 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.961e-06/6.001e-06, allocations: 0 / 452.6 MB, free: 76.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1141, allocations: 63.25 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4017/0.5158, allocations: 93.95 MB / 0.5955 GB, free: 8.996 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.5162, allocations: 93.56 kB / 0.5956 GB, free: 8.941 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01927/0.5354, allocations: 6.722 MB / 0.6022 GB, free: 3.496 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.5355, allocations: 4 kB / 0.6022 GB, free: 3.492 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006417/0.5362, allocations: 477.9 kB / 0.6026 GB, free: 2.992 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.5362, allocations: 8.031 kB / 0.6027 GB, free: 2.984 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.606e-05/0.5363, allocations: 23.72 kB / 0.6027 GB, free: 2.961 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.5366, allocations: 206 kB / 0.6029 GB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.5366, allocations: 8 kB / 0.6029 GB, free: 2.715 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.5367, allocations: 12 kB / 0.6029 GB, free: 2.703 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003659/0.537, allocations: 217.1 kB / 0.6031 GB, free: 2.574 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.5373, allocations: 183.1 kB / 0.6033 GB, free: 2.434 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.5373, allocations: 0 / 0.6033 GB, free: 2.434 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.5374, allocations: 3.906 kB / 0.6033 GB, free: 2.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.5374, allocations: 8 kB / 0.6033 GB, free: 2.422 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.5384, allocations: 0.5586 MB / 0.6038 GB, free: 1.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.5387, allocations: 84.92 kB / 0.6039 GB, free: 1.828 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.048e-05/0.5388, allocations: 27.8 kB / 0.6039 GB, free: 1.805 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.5389, allocations: 4.125 kB / 0.6039 GB, free: 1.801 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.5389, allocations: 46.45 kB / 0.604 GB, free: 1.746 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.5389, allocations: 0 / 0.604 GB, free: 1.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002724/0.5392, allocations: 92.31 kB / 0.6041 GB, free: 1.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.5392, allocations: 51.41 kB / 0.6041 GB, free: 1.598 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.5394, allocations: 164.5 kB / 0.6043 GB, free: 1.441 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.5394, allocations: 29.7 kB / 0.6043 GB, free: 1.406 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.969e-05/0.5395, allocations: 165.9 kB / 0.6045 GB, free: 1.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.5395, allocations: 35.11 kB / 0.6045 GB, free: 1.223 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/0.5395, allocations: 0 / 0.6045 GB, free: 1.223 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.5397, allocations: 341.7 kB / 0.6048 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.417e-05/0.5398, allocations: 26.75 kB / 0.6049 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.5399, allocations: 129.1 kB / 0.605 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.54, allocations: 57.84 kB / 0.605 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.54, allocations: 4 kB / 0.605 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003174/0.5403, allocations: 167.2 kB / 0.6052 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.5404, allocations: 8 kB / 0.6052 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.5404, allocations: 8 kB / 0.6052 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.5404, allocations: 4 kB / 0.6052 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000415/0.5408, allocations: 83.83 kB / 0.6053 GB, free: 420 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008385/0.5417, allocations: 1.228 MB / 0.6065 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.5419, allocations: 23.75 kB / 0.6065 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.5419, allocations: 15.5 kB / 0.6065 GB, free: 15.12 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.388e-05/0.542, allocations: 121 kB / 0.6066 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.5421, allocations: 23.73 kB / 0.6067 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003543/0.5424, allocations: 150.5 kB / 0.6068 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.5425, allocations: 4 kB / 0.6068 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5425, allocations: 0 / 0.6068 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.5425, allocations: 3.906 kB / 0.6068 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004795/0.543, allocations: 390 kB / 0.6072 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.543, allocations: 4 kB / 0.6072 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/0.5433, allocations: 51.97 kB / 0.6072 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.5433, allocations: 0 / 0.6072 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.5433, allocations: 7.984 kB / 0.6073 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007441/0.5441, allocations: 1.224 MB / 0.6084 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.5441, allocations: 3.984 kB / 0.6085 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000257/0.5443, allocations: 242.2 kB / 0.6087 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.737e-05/0.5444, allocations: 92.86 kB / 0.6088 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.5445, allocations: 192 / 0.6088 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.5446, allocations: 15.98 kB / 0.6088 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.5447, allocations: 7.938 kB / 0.6088 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.5447, allocations: 7.984 kB / 0.6088 GB, free: 12.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.737e-05/0.5448, allocations: 128.4 kB / 0.6089 GB, free: 12.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000421/0.5452, allocations: 71.75 kB / 0.609 GB, free: 12.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000344/0.5456, allocations: 185.8 kB / 0.6092 GB, free: 12.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000516/0.5461, allocations: 136.3 kB / 0.6093 GB, free: 12.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5461, allocations: 0 / 0.6093 GB, free: 12.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000288/0.5464, allocations: 78.78 kB / 0.6094 GB, free: 12.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.5466, allocations: 7.188 kB / 0.6094 GB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005699/0.5472, allocations: 228.2 kB / 0.6096 GB, free: 11.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003637/0.5476, allocations: 0.7587 MB / 0.6103 GB, free: 11.11 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5476, allocations: 0 / 0.6103 GB, free: 11.11 MB / 410.7 MB Notification: Performance of Templates: time 0.007055/0.5547, allocations: 3.043 MB / 0.6133 GB, free: 8.121 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_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/kc_flatTube_KC.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches