Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.0009296/0.0009298, allocations: 190.3 kB / 7.801 MB, free: 2.453 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.002/1.002, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008233/0.0008233, allocations: 94.45 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1486/0.1486, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.62e-06/5.65e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1989, allocations: 58.84 MB / 476.6 MB, free: 5.238 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09658/0.2955, allocations: 91.6 MB / 0.5549 GB, free: 7.309 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.2957, allocations: 87.94 kB / 0.5549 GB, free: 7.223 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01694/0.3127, allocations: 6.449 MB / 0.5612 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.3127, allocations: 4 kB / 0.5612 GB, free: 0.75 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.0004048/0.3131, allocations: 469.7 kB / 0.5617 GB, free: 256 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.3132, allocations: 16.02 kB / 0.5617 GB, free: 240 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.3132, allocations: 27.62 kB / 0.5617 GB, free: 212 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.3134, allocations: 218.7 kB / 0.5619 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.3134, allocations: 4 kB / 0.562 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.3135, allocations: 12 kB / 0.562 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002886/0.3137, allocations: 216.8 kB / 0.5622 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.314, allocations: 174.4 kB / 0.5623 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.016e-06/0.314, allocations: 0 / 0.5623 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.314, allocations: 3.984 kB / 0.5623 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.314, allocations: 11.91 kB / 0.5624 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007693/0.3148, allocations: 0.5493 MB / 0.5629 GB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.3151, allocations: 98.84 kB / 0.563 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.312e-05/0.3152, allocations: 28.86 kB / 0.563 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.3152, allocations: 3.984 kB / 0.563 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.3152, allocations: 38.56 kB / 0.563 GB, free: 14.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.3152, allocations: 3.938 kB / 0.5631 GB, free: 14.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002311/0.3154, allocations: 105.3 kB / 0.5632 GB, free: 14.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.3155, allocations: 51.41 kB / 0.5632 GB, free: 14.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.3156, allocations: 166.9 kB / 0.5634 GB, free: 14.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.3156, allocations: 25.7 kB / 0.5634 GB, free: 14.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.658e-05/0.3157, allocations: 171.5 kB / 0.5635 GB, free: 14.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.3157, allocations: 35.55 kB / 0.5636 GB, free: 14.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.836e-06/0.3157, allocations: 0 / 0.5636 GB, free: 14.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.829e-05/0.3158, allocations: 322.8 kB / 0.5639 GB, free: 13.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.728e-05/0.3159, allocations: 31.94 kB / 0.5639 GB, free: 13.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.316, allocations: 136.8 kB / 0.5641 GB, free: 13.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.752e-05/0.3161, allocations: 51.83 kB / 0.5641 GB, free: 13.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3161, allocations: 4 kB / 0.5641 GB, free: 13.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002751/0.3164, allocations: 181.1 kB / 0.5643 GB, free: 13.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.3164, allocations: 8 kB / 0.5643 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3164, allocations: 0 / 0.5643 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.3165, allocations: 8 kB / 0.5643 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.3168, allocations: 88.33 kB / 0.5644 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000626/0.3175, allocations: 1.223 MB / 0.5656 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.3177, allocations: 31.92 kB / 0.5656 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.3177, allocations: 12 kB / 0.5656 GB, free: 11.98 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 6.941e-05/0.3178, allocations: 110.3 kB / 0.5657 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.3178, allocations: 11.81 kB / 0.5657 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.3181, allocations: 162.9 kB / 0.5659 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3181, allocations: 4 kB / 0.5659 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.3181, allocations: 0 / 0.5659 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3182, allocations: 0 / 0.5659 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003949/0.3185, allocations: 388.5 kB / 0.5663 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.3186, allocations: 4 kB / 0.5663 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.3188, allocations: 64.02 kB / 0.5663 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3189, allocations: 0 / 0.5663 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.3189, allocations: 4 kB / 0.5663 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005591/0.3194, allocations: 1.23 MB / 0.5675 GB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3195, allocations: 0 / 0.5675 GB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002076/0.3197, allocations: 240.5 kB / 0.5678 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.3197, allocations: 92.92 kB / 0.5678 GB, free: 9.527 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.3197, allocations: 3.984 kB / 0.5679 GB, free: 9.523 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.3199, allocations: 8 kB / 0.5679 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.32, allocations: 7.984 kB / 0.5679 GB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.32, allocations: 4 kB / 0.5679 GB, free: 9.504 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.562e-05/0.32, allocations: 129.5 kB / 0.568 GB, free: 9.379 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003158/0.3204, allocations: 71.75 kB / 0.5681 GB, free: 9.309 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.0002397/0.3206, allocations: 187.2 kB / 0.5682 GB, free: 9.117 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004035/0.321, allocations: 127.8 kB / 0.5684 GB, free: 8.992 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.321, allocations: 0.875 kB / 0.5684 GB, free: 8.992 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.3213, allocations: 80.02 kB / 0.5684 GB, free: 8.914 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.3215, allocations: 11.78 kB / 0.5685 GB, free: 8.902 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004681/0.322, allocations: 221.3 kB / 0.5687 GB, free: 8.648 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/0.3223, allocations: 0.7665 MB / 0.5694 GB, free: 7.855 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3223, allocations: 0 / 0.5694 GB, free: 7.855 MB / 410.7 MB Notification: Performance of Templates: time 0.005285/0.3276, allocations: 3.018 MB / 0.5724 GB, free: 4.84 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches