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.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,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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 179.5 kB / 8.519 MB, free: 1.855 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.241/1.241, allocations: 221.4 MB / 230.3 MB, free: 7.648 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.0008251/0.0008252, allocations: 91.92 kB / 281.2 MB, free: 5.445 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.1665/0.1665, allocations: 44.15 MB / 376.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.502e-06/6.522e-06, allocations: 224 / 444.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09968/0.0997, allocations: 61.91 MB / 0.4941 GB, free: 1.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2866/0.3864, allocations: 94.78 MB / 0.5867 GB, free: 1.934 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.3867, allocations: 99.58 kB / 0.5868 GB, free: 1.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02156/0.4083, allocations: 7.618 MB / 0.5942 GB, free: 10.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.4083, allocations: 4 kB / 0.5942 GB, free: 10.21 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005558/0.4089, allocations: 465.8 kB / 0.5947 GB, free: 9.715 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.4089, allocations: 15.97 kB / 0.5947 GB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.409, allocations: 23.7 kB / 0.5947 GB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.4092, allocations: 207.3 kB / 0.5949 GB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.4093, allocations: 11.91 kB / 0.5949 GB, free: 9.422 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.4093, allocations: 8 kB / 0.5949 GB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002071/0.4095, allocations: 112.3 kB / 0.595 GB, free: 9.301 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.4098, allocations: 170.8 kB / 0.5952 GB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.4098, allocations: 3.938 kB / 0.5952 GB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.4098, allocations: 0 / 0.5952 GB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.4098, allocations: 4 kB / 0.5952 GB, free: 9.121 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008995/0.4107, allocations: 0.5171 MB / 0.5957 GB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.4108, allocations: 38.58 kB / 0.5957 GB, free: 8.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.9e-05/0.4109, allocations: 24.95 kB / 0.5958 GB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.4109, allocations: 0 / 0.5958 GB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.411, allocations: 38.47 kB / 0.5958 GB, free: 8.445 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.411, allocations: 0 / 0.5958 GB, free: 8.445 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002476/0.4113, allocations: 77.53 kB / 0.5959 GB, free: 8.363 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.4113, allocations: 51.41 kB / 0.5959 GB, free: 8.301 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.4115, allocations: 161.7 kB / 0.5961 GB, free: 8.137 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.4115, allocations: 25.7 kB / 0.5961 GB, free: 8.105 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.4116, allocations: 167.4 kB / 0.5963 GB, free: 7.938 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.4116, allocations: 15.8 kB / 0.5963 GB, free: 7.922 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.4116, allocations: 4 kB / 0.5963 GB, free: 7.918 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4118, allocations: 322.7 kB / 0.5966 GB, free: 7.594 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.403e-05/0.4119, allocations: 28 kB / 0.5966 GB, free: 7.566 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.412, allocations: 108.8 kB / 0.5967 GB, free: 7.414 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.579e-05/0.4121, allocations: 39.98 kB / 0.5967 GB, free: 7.375 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4121, allocations: 4 kB / 0.5967 GB, free: 7.371 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000251/0.4123, allocations: 149.2 kB / 0.5969 GB, free: 7.219 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.4123, allocations: 5.094 kB / 0.5969 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.66e-05/0.4124, allocations: 15.98 kB / 0.5969 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.4124, allocations: 4.438 kB / 0.5969 GB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.4126, allocations: 39.92 kB / 0.597 GB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.4126, allocations: 7.938 kB / 0.597 GB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.4128, allocations: 23.83 kB / 0.597 GB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.4128, allocations: 8 kB / 0.597 GB, free: 7.117 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 9.178e-05/0.4129, allocations: 112.9 kB / 0.5971 GB, free: 7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.4129, allocations: 19.75 kB / 0.5971 GB, free: 6.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.4132, allocations: 130.4 kB / 0.5972 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4132, allocations: 0 / 0.5972 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4133, allocations: 0 / 0.5972 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4133, allocations: 0 / 0.5972 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.4135, allocations: 198.2 kB / 0.5974 GB, free: 6.613 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/0.4135, allocations: 12 kB / 0.5974 GB, free: 6.602 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.44e-05/0.4136, allocations: 15.98 kB / 0.5975 GB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.4136, allocations: 3.906 kB / 0.5975 GB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.4136, allocations: 4 kB / 0.5975 GB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4136, allocations: 0 / 0.5975 GB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4136, allocations: 0 / 0.5975 GB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001712/0.4138, allocations: 179.3 kB / 0.5976 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.4138, allocations: 88.92 kB / 0.5977 GB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.4139, allocations: 3.938 kB / 0.5977 GB, free: 6.277 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.414, allocations: 11.98 kB / 0.5977 GB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.414, allocations: 4 kB / 0.5977 GB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.016e-06/0.4141, allocations: 4 kB / 0.5977 GB, free: 6.258 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.15e-05/0.4141, allocations: 132 kB / 0.5979 GB, free: 6.129 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004516/0.4146, allocations: 83.78 kB / 0.598 GB, free: 6.047 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.0004359/0.415, allocations: 204.7 kB / 0.5981 GB, free: 5.836 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003147/0.4154, allocations: 148.1 kB / 0.5983 GB, free: 5.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4154, allocations: 0 / 0.5983 GB, free: 5.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.4155, allocations: 85.39 kB / 0.5984 GB, free: 5.586 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.4157, allocations: 15.77 kB / 0.5984 GB, free: 5.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005388/0.4163, allocations: 199.7 kB / 0.5986 GB, free: 5.352 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002978/0.4166, allocations: 0.7448 MB / 0.5993 GB, free: 4.582 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4166, allocations: 0 / 0.5993 GB, free: 4.582 MB / 410.7 MB Notification: Performance of Templates: time 0.006546/0.4232, allocations: 3.411 MB / 0.6026 GB, free: 1.203 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches