Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.000986/0.0009862, allocations: 178.7 kB / 8.519 MB, free: 1.859 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.227/1.227, allocations: 221.4 MB / 230.3 MB, free: 7.645 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.0009074/0.0009074, allocations: 85.86 kB / 281.2 MB, free: 5.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1631/0.1631, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.051e-06/6.092e-06, allocations: 4.219 kB / 444.1 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1025, allocations: 61.9 MB / 0.4941 GB, free: 1.613 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3005/0.4031, allocations: 92.78 MB / 0.5847 GB, free: 3.992 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.4034, allocations: 92.69 kB / 0.5848 GB, free: 3.938 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01859/0.422, allocations: 6.6 MB / 0.5913 GB, free: 13.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.422, allocations: 0 / 0.5913 GB, free: 13.34 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0004447/0.4225, allocations: 478.1 kB / 0.5917 GB, free: 12.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.4225, allocations: 11.97 kB / 0.5917 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.4226, allocations: 27.62 kB / 0.5917 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.4228, allocations: 212.3 kB / 0.5919 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.4228, allocations: 8 kB / 0.592 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.4229, allocations: 12 kB / 0.592 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003132/0.4232, allocations: 212.8 kB / 0.5922 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.4235, allocations: 183.4 kB / 0.5923 GB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.4235, allocations: 0 / 0.5923 GB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.4235, allocations: 0 / 0.5923 GB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.4235, allocations: 11.91 kB / 0.5924 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008468/0.4244, allocations: 0.5571 MB / 0.5929 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.4246, allocations: 90.66 kB / 0.593 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.792e-05/0.4247, allocations: 29.11 kB / 0.593 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.4247, allocations: 7.938 kB / 0.593 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.4248, allocations: 38.56 kB / 0.5931 GB, free: 11.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.4248, allocations: 3.938 kB / 0.5931 GB, free: 11.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002568/0.425, allocations: 97.39 kB / 0.5932 GB, free: 11.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.4251, allocations: 55.34 kB / 0.5932 GB, free: 11.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.4252, allocations: 163 kB / 0.5934 GB, free: 11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.4253, allocations: 29.69 kB / 0.5934 GB, free: 10.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.235e-05/0.4254, allocations: 167.4 kB / 0.5936 GB, free: 10.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.4254, allocations: 31.55 kB / 0.5936 GB, free: 10.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-06/0.4254, allocations: 0 / 0.5936 GB, free: 10.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.4255, allocations: 330.8 kB / 0.5939 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.164e-05/0.4256, allocations: 32 kB / 0.5939 GB, free: 10.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.4257, allocations: 128.8 kB / 0.5941 GB, free: 10.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.546e-05/0.4258, allocations: 63.77 kB / 0.5941 GB, free: 10.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4259, allocations: 0 / 0.5941 GB, free: 10.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000299/0.4262, allocations: 177.1 kB / 0.5943 GB, free: 9.988 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.4262, allocations: 4.438 kB / 0.5943 GB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4262, allocations: 11.98 kB / 0.5943 GB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.4262, allocations: 4 kB / 0.5943 GB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.4266, allocations: 87.89 kB / 0.5944 GB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000694/0.4273, allocations: 1.223 MB / 0.5956 GB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.4275, allocations: 31.73 kB / 0.5956 GB, free: 8.582 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.4275, allocations: 8 kB / 0.5956 GB, free: 8.574 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.075e-05/0.4276, allocations: 117 kB / 0.5957 GB, free: 8.453 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.4277, allocations: 23.8 kB / 0.5958 GB, free: 8.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003376/0.428, allocations: 146.9 kB / 0.5959 GB, free: 8.273 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.428, allocations: 4 kB / 0.5959 GB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.428, allocations: 0 / 0.5959 GB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4281, allocations: 0 / 0.5959 GB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.4285, allocations: 400.5 kB / 0.5963 GB, free: 7.828 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4285, allocations: 3.938 kB / 0.5963 GB, free: 7.824 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/0.4288, allocations: 51.97 kB / 0.5963 GB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.4288, allocations: 4 kB / 0.5963 GB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.4288, allocations: 3.984 kB / 0.5963 GB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006632/0.4295, allocations: 1.219 MB / 0.5975 GB, free: 6.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.4295, allocations: 4.031 kB / 0.5975 GB, free: 6.496 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002387/0.4298, allocations: 240.5 kB / 0.5978 GB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.4298, allocations: 88.92 kB / 0.5978 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.4299, allocations: 0 / 0.5978 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.43, allocations: 15.98 kB / 0.5979 GB, free: 6.105 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.4301, allocations: 4 kB / 0.5979 GB, free: 6.102 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.4301, allocations: 7.984 kB / 0.5979 GB, free: 6.094 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.033e-05/0.4302, allocations: 129.5 kB / 0.598 GB, free: 5.969 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003557/0.4306, allocations: 75.69 kB / 0.5981 GB, free: 5.895 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.0002901/0.4308, allocations: 191.2 kB / 0.5983 GB, free: 5.699 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004317/0.4313, allocations: 135.8 kB / 0.5984 GB, free: 5.566 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4313, allocations: 4 kB / 0.5984 GB, free: 5.562 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.4316, allocations: 67.91 kB / 0.5984 GB, free: 5.496 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.4318, allocations: 16 kB / 0.5985 GB, free: 5.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005213/0.4323, allocations: 218.3 kB / 0.5987 GB, free: 5.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003058/0.4326, allocations: 0.7587 MB / 0.5994 GB, free: 4.445 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4326, allocations: 0 / 0.5994 GB, free: 4.445 MB / 410.7 MB Notification: Performance of Templates: time 0.006083/0.4387, allocations: 3.016 MB / 0.6024 GB, free: 1.473 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches