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.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,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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.000978/0.000978, allocations: 191.4 kB / 7.805 MB, free: 2.438 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.044/1.044, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0008115/0.0008114, allocations: 99.36 kB / 261.4 MB, free: 13.54 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.1529/0.1529, allocations: 43.5 MB / 352.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.34e-06/5.36e-06, allocations: 0 / 417.7 MB, free: 40.53 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2074, allocations: 58.84 MB / 476.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1035/0.3109, allocations: 93.61 MB / 0.5568 GB, free: 5.305 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.3111, allocations: 95.92 kB / 0.5569 GB, free: 5.211 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01905/0.3302, allocations: 7.44 MB / 0.5642 GB, free: 13.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.3303, allocations: 4 kB / 0.5642 GB, free: 13.75 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.0004741/0.3307, allocations: 473.2 kB / 0.5646 GB, free: 13.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3308, allocations: 8.031 kB / 0.5646 GB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.3308, allocations: 23.72 kB / 0.5647 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.331, allocations: 210.5 kB / 0.5649 GB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.331, allocations: 4 kB / 0.5649 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.3311, allocations: 12 kB / 0.5649 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001842/0.3313, allocations: 116.3 kB / 0.565 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.3315, allocations: 162.6 kB / 0.5651 GB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.3315, allocations: 0 / 0.5651 GB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3315, allocations: 3.938 kB / 0.5652 GB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.3315, allocations: 8 kB / 0.5652 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006982/0.3322, allocations: 0.5184 MB / 0.5657 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.307e-05/0.3323, allocations: 50.56 kB / 0.5657 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.3324, allocations: 16.92 kB / 0.5657 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.3324, allocations: 7.906 kB / 0.5657 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.3324, allocations: 34.56 kB / 0.5658 GB, free: 11.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3324, allocations: 0 / 0.5658 GB, free: 11.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001969/0.3326, allocations: 73.58 kB / 0.5658 GB, free: 11.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.3327, allocations: 59.31 kB / 0.5659 GB, free: 11.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.3328, allocations: 149.8 kB / 0.566 GB, free: 11.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.3328, allocations: 25.7 kB / 0.5661 GB, free: 11.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.986e-05/0.3329, allocations: 163.5 kB / 0.5662 GB, free: 11.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.3329, allocations: 23.73 kB / 0.5662 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.3329, allocations: 0 / 0.5662 GB, free: 11.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.788e-05/0.333, allocations: 330.7 kB / 0.5666 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.808e-05/0.3331, allocations: 24 kB / 0.5666 GB, free: 11.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.938e-05/0.3332, allocations: 104.9 kB / 0.5667 GB, free: 10.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.548e-05/0.3333, allocations: 43.92 kB / 0.5667 GB, free: 10.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3333, allocations: 4 kB / 0.5667 GB, free: 10.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000219/0.3335, allocations: 149.3 kB / 0.5669 GB, free: 10.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.3335, allocations: 8.438 kB / 0.5669 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.954e-05/0.3335, allocations: 23.97 kB / 0.5669 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3336, allocations: 4 kB / 0.5669 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.3337, allocations: 31.92 kB / 0.5669 GB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3337, allocations: 4 kB / 0.5669 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.3338, allocations: 23.83 kB / 0.567 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.3339, allocations: 16 kB / 0.567 GB, free: 10.64 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 6.532e-05/0.3339, allocations: 118.2 kB / 0.5671 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.334, allocations: 11.91 kB / 0.5671 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002681/0.3343, allocations: 134.4 kB / 0.5672 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3343, allocations: 0 / 0.5672 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3343, allocations: 0 / 0.5672 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3343, allocations: 4 kB / 0.5672 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.3345, allocations: 198.1 kB / 0.5674 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-05/0.3345, allocations: 11.98 kB / 0.5674 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.842e-05/0.3346, allocations: 8 kB / 0.5674 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3346, allocations: 3.906 kB / 0.5674 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3346, allocations: 8 kB / 0.5675 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.3346, allocations: 0 / 0.5675 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3346, allocations: 3.984 kB / 0.5675 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001481/0.3347, allocations: 171.4 kB / 0.5676 GB, free: 9.918 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/0.3348, allocations: 88.92 kB / 0.5677 GB, free: 9.812 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.3348, allocations: 0 / 0.5677 GB, free: 9.812 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3349, allocations: 11.98 kB / 0.5677 GB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.335, allocations: 4 kB / 0.5677 GB, free: 9.797 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.335, allocations: 4 kB / 0.5677 GB, free: 9.793 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.89e-05/0.3351, allocations: 119.2 kB / 0.5678 GB, free: 9.676 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003659/0.3354, allocations: 83.78 kB / 0.5679 GB, free: 9.594 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.0003077/0.3357, allocations: 207 kB / 0.5681 GB, free: 9.379 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002658/0.336, allocations: 144.1 kB / 0.5683 GB, free: 9.227 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.336, allocations: 0 / 0.5683 GB, free: 9.227 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.3362, allocations: 89.33 kB / 0.5683 GB, free: 9.129 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.3363, allocations: 19.69 kB / 0.5684 GB, free: 9.109 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/0.3369, allocations: 195.5 kB / 0.5685 GB, free: 8.898 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002885/0.3372, allocations: 0.7526 MB / 0.5693 GB, free: 8.121 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3372, allocations: 0 / 0.5693 GB, free: 8.121 MB / 410.7 MB Notification: Performance of Templates: time 0.006085/0.3433, allocations: 3.408 MB / 0.5726 GB, free: 4.715 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches