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_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_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001432/0.001432, allocations: 179.4 kB / 8.364 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 1.962/1.962, 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.001159/0.001159, allocations: 96.03 kB / 262.1 MB, free: 13.87 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.2977/0.2977, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.128e-05/2.126e-05, allocations: 4 kB / 418.3 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4052, allocations: 58.84 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1723/0.5776, allocations: 91.67 MB / 0.5554 GB, free: 7.629 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003759/0.578, allocations: 103.4 kB / 0.5555 GB, free: 7.531 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03075/0.6088, allocations: 6.715 MB / 0.5621 GB, free: 0.7969 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6088, allocations: 0 / 0.5621 GB, free: 0.7969 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.6089, allocations: 4 kB / 0.5621 GB, free: 0.793 MB / 395.1 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.0006777/0.6096, allocations: 462.3 kB / 0.5625 GB, free: 304 kB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.6096, allocations: 8.031 kB / 0.5625 GB, free: 296 kB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.73e-05/0.6097, allocations: 23.72 kB / 0.5626 GB, free: 272 kB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.61, allocations: 226.4 kB / 0.5628 GB, free: 4 kB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.665e-05/0.6101, allocations: 8.047 kB / 0.5628 GB, free: 15.99 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.6101, allocations: 12 kB / 0.5628 GB, free: 15.98 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000523/0.6106, allocations: 212.7 kB / 0.563 GB, free: 15.78 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.6111, allocations: 178.4 kB / 0.5632 GB, free: 15.6 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.6111, allocations: 0 / 0.5632 GB, free: 15.6 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.6111, allocations: 0 / 0.5632 GB, free: 15.6 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.6112, allocations: 8 kB / 0.5632 GB, free: 15.59 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.6125, allocations: 0.5494 MB / 0.5637 GB, free: 15 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.6129, allocations: 98.7 kB / 0.5638 GB, free: 14.89 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.6131, allocations: 24.86 kB / 0.5638 GB, free: 14.87 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/0.6131, allocations: 8.125 kB / 0.5638 GB, free: 14.86 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.6131, allocations: 34.56 kB / 0.5639 GB, free: 14.82 MB / 411.1 MB Notification: Performance of pre-optimization done (n=9): time 1.844e-06/0.6132, allocations: 0 / 0.5639 GB, free: 14.82 MB / 411.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003679/0.6135, allocations: 97.48 kB / 0.564 GB, free: 14.71 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.6136, allocations: 55.34 kB / 0.564 GB, free: 14.65 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.6138, allocations: 171 kB / 0.5642 GB, free: 14.47 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.6139, allocations: 25.7 kB / 0.5642 GB, free: 14.44 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.614, allocations: 242 kB / 0.5644 GB, free: 14.2 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.6141, allocations: 31.56 kB / 0.5645 GB, free: 14.17 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.345e-05/0.6141, allocations: 96 / 0.5645 GB, free: 14.17 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.6142, allocations: 326.8 kB / 0.5648 GB, free: 13.84 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.6144, allocations: 35.94 kB / 0.5648 GB, free: 13.81 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.6146, allocations: 128.8 kB / 0.5649 GB, free: 13.64 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.6148, allocations: 55.91 kB / 0.565 GB, free: 13.59 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.6148, allocations: 3.953 kB / 0.565 GB, free: 13.58 MB / 411.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004757/0.6153, allocations: 173.6 kB / 0.5652 GB, free: 13.41 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.6153, allocations: 12.03 kB / 0.5652 GB, free: 13.39 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.6154, allocations: 4 kB / 0.5652 GB, free: 13.39 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.6154, allocations: 4 kB / 0.5652 GB, free: 13.39 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006497/0.616, allocations: 79.89 kB / 0.5653 GB, free: 13.31 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009348/0.617, allocations: 1.223 MB / 0.5665 GB, free: 12.04 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.6173, allocations: 23.75 kB / 0.5665 GB, free: 12.02 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.6174, allocations: 15.98 kB / 0.5665 GB, free: 12 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 (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 0.0001192/0.6175, allocations: 108.9 kB / 0.5666 GB, free: 11.89 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.6176, allocations: 15.81 kB / 0.5666 GB, free: 11.87 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000471/0.618, allocations: 135.5 kB / 0.5667 GB, free: 11.73 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.6181, allocations: 3.953 kB / 0.5667 GB, free: 11.73 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6181, allocations: 4 kB / 0.5667 GB, free: 11.72 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.6181, allocations: 0 / 0.5667 GB, free: 11.72 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007359/0.6188, allocations: 392.7 kB / 0.5671 GB, free: 11.29 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.6189, allocations: 0 / 0.5671 GB, free: 11.29 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004848/0.6193, allocations: 59.95 kB / 0.5672 GB, free: 11.23 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.6194, allocations: 3.953 kB / 0.5672 GB, free: 11.23 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.6194, allocations: 7.938 kB / 0.5672 GB, free: 11.22 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008859/0.6203, allocations: 1.215 MB / 0.5684 GB, free: 9.957 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.6203, allocations: 0 / 0.5684 GB, free: 9.957 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.6207, allocations: 244.6 kB / 0.5686 GB, free: 9.684 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.082e-05/0.6208, allocations: 88.92 kB / 0.5687 GB, free: 9.578 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.6209, allocations: 3.953 kB / 0.5687 GB, free: 9.574 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.6211, allocations: 11.98 kB / 0.5687 GB, free: 9.562 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.333e-05/0.6212, allocations: 4 kB / 0.5687 GB, free: 9.559 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.6212, allocations: 7.984 kB / 0.5687 GB, free: 9.551 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.6214, allocations: 129.6 kB / 0.5688 GB, free: 9.426 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6214, allocations: 0 / 0.5688 GB, free: 9.426 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005704/0.622, allocations: 71.78 kB / 0.5689 GB, free: 9.355 MB / 411.1 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.0004239/0.6224, allocations: 185.8 kB / 0.5691 GB, free: 9.168 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0005863/0.623, allocations: 116 kB / 0.5692 GB, free: 9.055 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.623, allocations: 0.875 kB / 0.5692 GB, free: 9.055 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003686/0.6234, allocations: 67.97 kB / 0.5693 GB, free: 8.988 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.6237, allocations: 12 kB / 0.5693 GB, free: 8.977 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007083/0.6244, allocations: 240.6 kB / 0.5695 GB, free: 8.707 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.6248, allocations: 0.7398 MB / 0.5702 GB, free: 7.941 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.608e-05/0.6249, allocations: 19.44 kB / 0.5703 GB, free: 7.922 MB / 411.1 MB Notification: Performance of SimCode: time 6.71e-07/0.6249, allocations: 0 / 0.5703 GB, free: 7.922 MB / 411.1 MB Notification: Performance of Templates: time 0.009502/0.6344, allocations: 4.155 MB / 0.5743 GB, free: 3.77 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_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/kc_flatTube_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches