Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002154/0.002153, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.174/2.174, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 82.48 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2936/0.2936, allocations: 43.49 MB / 353.6 MB, free: 2.289 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.961e-05/3.961e-05, allocations: 224 / 418.3 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4035, allocations: 58.85 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1735/0.5771, allocations: 93.68 MB / 0.5574 GB, free: 5.602 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003692/0.5775, allocations: 91.92 kB / 0.5575 GB, free: 5.512 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03524/0.6127, allocations: 7.722 MB / 0.565 GB, free: 13.77 MB / 411.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6128, allocations: 0 / 0.565 GB, free: 13.77 MB / 411.1 MB Notification: Performance of Transformations before backend: time 2.335e-05/0.6128, allocations: 4 kB / 0.565 GB, free: 13.76 MB / 411.1 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.0007632/0.6136, allocations: 461.9 kB / 0.5655 GB, free: 13.27 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.6137, allocations: 12.03 kB / 0.5655 GB, free: 13.25 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.554e-05/0.6138, allocations: 23.72 kB / 0.5655 GB, free: 13.23 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.6141, allocations: 210.6 kB / 0.5657 GB, free: 12.98 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.6141, allocations: 4 kB / 0.5657 GB, free: 12.98 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.6141, allocations: 12 kB / 0.5657 GB, free: 12.97 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002967/0.6144, allocations: 116.3 kB / 0.5658 GB, free: 12.85 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003546/0.6148, allocations: 158.8 kB / 0.566 GB, free: 12.69 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.6148, allocations: 3.938 kB / 0.566 GB, free: 12.69 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.6149, allocations: 0 / 0.566 GB, free: 12.69 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.6149, allocations: 4 kB / 0.566 GB, free: 12.68 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.6161, allocations: 0.5262 MB / 0.5665 GB, free: 12.12 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.6163, allocations: 46.56 kB / 0.5666 GB, free: 12.07 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.261e-05/0.6164, allocations: 20.92 kB / 0.5666 GB, free: 12.04 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.6164, allocations: 4 kB / 0.5666 GB, free: 12.04 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.6165, allocations: 34.56 kB / 0.5666 GB, free: 12 MB / 411.1 MB Notification: Performance of pre-optimization done (n=5): time 3.096e-06/0.6165, allocations: 0 / 0.5666 GB, free: 12 MB / 411.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003121/0.6168, allocations: 77.48 kB / 0.5667 GB, free: 11.91 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.6169, allocations: 51.41 kB / 0.5667 GB, free: 11.85 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.6171, allocations: 161.8 kB / 0.5669 GB, free: 11.69 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.6171, allocations: 29.64 kB / 0.5669 GB, free: 11.65 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.6173, allocations: 237.9 kB / 0.5671 GB, free: 11.42 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.6173, allocations: 15.75 kB / 0.5672 GB, free: 11.4 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.6173, allocations: 4 kB / 0.5672 GB, free: 11.4 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6175, allocations: 318.8 kB / 0.5675 GB, free: 11.08 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.582e-05/0.6176, allocations: 27.95 kB / 0.5675 GB, free: 11.05 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.6178, allocations: 112.8 kB / 0.5676 GB, free: 10.89 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.6179, allocations: 35.98 kB / 0.5676 GB, free: 10.86 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.6179, allocations: 4 kB / 0.5676 GB, free: 10.86 MB / 411.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003853/0.6183, allocations: 141.7 kB / 0.5678 GB, free: 10.71 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.6183, allocations: 8.031 kB / 0.5678 GB, free: 10.7 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.832e-05/0.6184, allocations: 15.98 kB / 0.5678 GB, free: 10.69 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.6184, allocations: 8 kB / 0.5678 GB, free: 10.68 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.6187, allocations: 31.92 kB / 0.5678 GB, free: 10.65 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.6187, allocations: 7.938 kB / 0.5678 GB, free: 10.64 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.6189, allocations: 23.83 kB / 0.5679 GB, free: 10.62 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.619, allocations: 8 kB / 0.5679 GB, free: 10.61 MB / 411.1 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 0.0001094/0.6191, allocations: 120.9 kB / 0.568 GB, free: 10.48 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.6191, allocations: 11.81 kB / 0.568 GB, free: 10.47 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003823/0.6195, allocations: 107.2 kB / 0.5681 GB, free: 10.36 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.6196, allocations: 4 kB / 0.5681 GB, free: 10.36 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.6196, allocations: 0 / 0.5681 GB, free: 10.36 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.6196, allocations: 0 / 0.5681 GB, free: 10.36 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.6199, allocations: 194.1 kB / 0.5683 GB, free: 10.13 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-05/0.62, allocations: 15.92 kB / 0.5683 GB, free: 10.11 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.6201, allocations: 8 kB / 0.5683 GB, free: 10.11 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.6201, allocations: 4 kB / 0.5683 GB, free: 10.1 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.6201, allocations: 4 kB / 0.5683 GB, free: 10.1 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.6201, allocations: 3.984 kB / 0.5683 GB, free: 10.09 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.6202, allocations: 4 kB / 0.5683 GB, free: 10.09 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.6204, allocations: 171.4 kB / 0.5685 GB, free: 9.906 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.506e-05/0.6205, allocations: 92.88 kB / 0.5686 GB, free: 9.797 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.6206, allocations: 7.875 kB / 0.5686 GB, free: 9.789 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.6208, allocations: 11.98 kB / 0.5686 GB, free: 9.777 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.6208, allocations: 4.188 kB / 0.5686 GB, free: 9.773 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.6208, allocations: 4 kB / 0.5686 GB, free: 9.77 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.621, allocations: 119.2 kB / 0.5687 GB, free: 9.652 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.621, allocations: 0 / 0.5687 GB, free: 9.652 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0006351/0.6216, allocations: 83.78 kB / 0.5688 GB, free: 9.57 MB / 411.1 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.0005116/0.6222, allocations: 209.8 kB / 0.569 GB, free: 9.359 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0004593/0.6226, allocations: 144.1 kB / 0.5691 GB, free: 9.207 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6227, allocations: 0 / 0.5691 GB, free: 9.207 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.6229, allocations: 83.39 kB / 0.5692 GB, free: 9.113 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.6232, allocations: 15.77 kB / 0.5692 GB, free: 9.098 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007211/0.6239, allocations: 230.9 kB / 0.5695 GB, free: 8.848 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.6243, allocations: 0.7357 MB / 0.5702 GB, free: 8.086 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.6244, allocations: 11.44 kB / 0.5702 GB, free: 8.074 MB / 411.1 MB Notification: Performance of SimCode: time 7.51e-07/0.6244, allocations: 4 kB / 0.5702 GB, free: 8.07 MB / 411.1 MB Notification: Performance of Templates: time 0.01022/0.6346, allocations: 4.267 MB / 0.5744 GB, free: 3.805 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches