Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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.001742/0.001742, allocations: 200.1 kB / 8.536 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 225.5 MB / 234.4 MB, free: 3.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008445/0.0008445, allocations: 98.31 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1889/0.1889, allocations: 45.14 MB / 383.4 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.444e-06/7.685e-06, allocations: 0 / 452.6 MB, free: 76.17 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1239, allocations: 63.24 MB / 0.5038 GB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3466/0.4706, allocations: 100.3 MB / 0.6018 GB, free: 2.625 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.4709, allocations: 93.88 kB / 0.6018 GB, free: 2.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03517/0.5061, allocations: 11.3 MB / 0.6129 GB, free: 9.363 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.077e-05/0.5062, allocations: 4 kB / 0.6129 GB, free: 9.359 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008973/0.5071, allocations: 0.577 MB / 0.6134 GB, free: 8.762 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.5072, allocations: 8.031 kB / 0.6135 GB, free: 8.754 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.5073, allocations: 39.53 kB / 0.6135 GB, free: 8.715 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.5077, allocations: 237.9 kB / 0.6137 GB, free: 8.449 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.5077, allocations: 12 kB / 0.6137 GB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/0.5078, allocations: 23.94 kB / 0.6138 GB, free: 8.414 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004534/0.5082, allocations: 226.2 kB / 0.614 GB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005776/0.5088, allocations: 0.4957 MB / 0.6145 GB, free: 7.727 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.5088, allocations: 11.94 kB / 0.6145 GB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.5089, allocations: 4 kB / 0.6145 GB, free: 7.711 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.5089, allocations: 12 kB / 0.6145 GB, free: 7.699 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002785/0.5117, allocations: 3.946 MB / 0.6183 GB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.512, allocations: 89.55 kB / 0.6184 GB, free: 3.617 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.185e-05/0.5121, allocations: 28.59 kB / 0.6184 GB, free: 3.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.471e-05/0.5122, allocations: 3.906 kB / 0.6185 GB, free: 3.586 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.5122, allocations: 30.69 kB / 0.6185 GB, free: 3.547 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 3.757e-06/0.5122, allocations: 3.984 kB / 0.6185 GB, free: 3.543 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003087/0.5125, allocations: 96.61 kB / 0.6186 GB, free: 3.449 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.5126, allocations: 51.41 kB / 0.6186 GB, free: 3.387 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.5128, allocations: 238.1 kB / 0.6189 GB, free: 3.188 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.5129, allocations: 29.64 kB / 0.6189 GB, free: 3.152 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.513, allocations: 247.7 kB / 0.6191 GB, free: 2.926 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.5131, allocations: 27.45 kB / 0.6191 GB, free: 2.902 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/0.5131, allocations: 0 / 0.6191 GB, free: 2.902 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5132, allocations: 336.7 kB / 0.6195 GB, free: 2.574 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.462e-05/0.5133, allocations: 35.47 kB / 0.6195 GB, free: 2.547 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.5135, allocations: 241.8 kB / 0.6197 GB, free: 2.227 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.5137, allocations: 71.84 kB / 0.6198 GB, free: 2.168 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.5137, allocations: 7.938 kB / 0.6198 GB, free: 2.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005298/0.5142, allocations: 263.1 kB / 0.6201 GB, free: 1.922 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.5143, allocations: 4 kB / 0.6201 GB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.5143, allocations: 8 kB / 0.6201 GB, free: 1.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.5143, allocations: 12 kB / 0.6201 GB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/0.5148, allocations: 107.8 kB / 0.6202 GB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008513/0.5156, allocations: 1.229 MB / 0.6214 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003204/0.516, allocations: 51.64 kB / 0.6214 GB, free: 496 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.516, allocations: 23.12 kB / 0.6215 GB, free: 476 kB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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 0.0001162/0.5162, allocations: 120 kB / 0.6216 GB, free: 352 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.816e-05/0.5163, allocations: 27.62 kB / 0.6216 GB, free: 320 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003672/0.5166, allocations: 145.2 kB / 0.6217 GB, free: 184 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.5166, allocations: 7.922 kB / 0.6217 GB, free: 176 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.5167, allocations: 0 / 0.6217 GB, free: 176 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.5167, allocations: 0 / 0.6217 GB, free: 176 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.517, allocations: 244.6 kB / 0.622 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.517, allocations: 4 kB / 0.622 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.5173, allocations: 59.41 kB / 0.622 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.5173, allocations: 0 / 0.622 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.5173, allocations: 7.984 kB / 0.622 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007427/0.5181, allocations: 1.213 MB / 0.6232 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5181, allocations: 0 / 0.6232 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002151/0.5183, allocations: 190.5 kB / 0.6234 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.658e-05/0.5184, allocations: 100.7 kB / 0.6235 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.5185, allocations: 0 / 0.6235 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.5186, allocations: 16.08 kB / 0.6235 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.5187, allocations: 7.484 kB / 0.6235 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.5187, allocations: 4 kB / 0.6235 GB, free: 14.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001464/0.5189, allocations: 167 kB / 0.6237 GB, free: 14.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000728/0.5196, allocations: 139.4 kB / 0.6238 GB, free: 14.01 MB / 426.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 (7): * Single equations (assignments): 5 * 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.0007522/0.5204, allocations: 276.8 kB / 0.6241 GB, free: 13.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005118/0.5209, allocations: 163.1 kB / 0.6242 GB, free: 13.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5209, allocations: 0 / 0.6242 GB, free: 13.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.5212, allocations: 63.09 kB / 0.6243 GB, free: 13.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.5214, allocations: 18.78 kB / 0.6243 GB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007223/0.5221, allocations: 288.5 kB / 0.6246 GB, free: 13.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004437/0.5226, allocations: 0.8054 MB / 0.6254 GB, free: 12.4 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5226, allocations: 0 / 0.6254 GB, free: 12.4 MB / 426.7 MB Notification: Performance of Templates: time 0.01237/0.535, allocations: 5.644 MB / 0.6309 GB, free: 6.797 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC/kc_roundTube_KC.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches