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.0008851/0.000885, allocations: 181.3 kB / 17.41 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.239/1.239, allocations: 205.4 MB / 223.6 MB, free: 9.043 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.0007515/0.0007515, allocations: 91.84 kB / 271.9 MB, free: 8.281 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.3153/0.3153, allocations: 43.56 MB / 363.8 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003428, allocations: 12 kB / 432.6 MB, free: 5.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1063, allocations: 58.85 MB / 491.5 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2906/0.397, allocations: 94.49 MB / 0.5722 GB, free: 7.953 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/0.3973, allocations: 95.94 kB / 0.5723 GB, free: 7.859 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01999/0.4173, allocations: 7.89 MB / 0.58 GB, free: 15.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4174, allocations: 0 / 0.58 GB, free: 15.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.4174, allocations: 8 kB / 0.58 GB, free: 15.98 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.0005809/0.418, allocations: 490.2 kB / 0.5805 GB, free: 15.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.418, allocations: 12.03 kB / 0.5805 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.828e-05/0.4181, allocations: 20.66 kB / 0.5805 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.4183, allocations: 208 kB / 0.5807 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.4183, allocations: 12.38 kB / 0.5807 GB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.4183, allocations: 20.38 kB / 0.5808 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.4187, allocations: 211.2 kB / 0.581 GB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.4188, allocations: 4.125 kB / 0.581 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.4188, allocations: 11.94 kB / 0.581 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.4188, allocations: 4 kB / 0.581 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.4191, allocations: 156.3 kB / 0.5811 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008079/0.4199, allocations: 0.565 MB / 0.5817 GB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.4201, allocations: 66.55 kB / 0.5817 GB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.4202, allocations: 44.92 kB / 0.5818 GB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.4203, allocations: 3.938 kB / 0.5818 GB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.4203, allocations: 38.56 kB / 0.5818 GB, free: 13.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 2.855e-06/0.4203, allocations: 4 kB / 0.5818 GB, free: 13.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004758/0.4208, allocations: 149.3 kB / 0.582 GB, free: 13.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.4208, allocations: 55.41 kB / 0.582 GB, free: 13.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.4211, allocations: 254.7 kB / 0.5823 GB, free: 13.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.4211, allocations: 29.7 kB / 0.5823 GB, free: 13.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.923e-05/0.4212, allocations: 155.7 kB / 0.5824 GB, free: 13.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.4212, allocations: 32.38 kB / 0.5825 GB, free: 13.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.936e-06/0.4213, allocations: 4 kB / 0.5825 GB, free: 13.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4214, allocations: 326.8 kB / 0.5828 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.4215, allocations: 43.97 kB / 0.5828 GB, free: 12.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.4217, allocations: 142.1 kB / 0.583 GB, free: 12.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.422, allocations: 196.7 kB / 0.5832 GB, free: 12.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.422, allocations: 0 / 0.5832 GB, free: 12.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003991/0.4224, allocations: 213 kB / 0.5834 GB, free: 12.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.4225, allocations: 11.94 kB / 0.5834 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.863e-05/0.4225, allocations: 8 kB / 0.5834 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.4225, allocations: 8.438 kB / 0.5834 GB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.4227, allocations: 39.92 kB / 0.5834 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.4227, allocations: 7.984 kB / 0.5834 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.4228, allocations: 31.69 kB / 0.5835 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.4228, allocations: 12 kB / 0.5835 GB, free: 12.15 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 () * Number of clocked 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.0001158/0.423, allocations: 133.6 kB / 0.5836 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.423, allocations: 19.72 kB / 0.5836 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003816/0.4234, allocations: 154.8 kB / 0.5838 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4234, allocations: 0 / 0.5838 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.4234, allocations: 0 / 0.5838 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.4234, allocations: 0 / 0.5838 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.4237, allocations: 229.4 kB / 0.584 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/0.4237, allocations: 8 kB / 0.584 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.393e-05/0.4238, allocations: 11.98 kB / 0.584 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4238, allocations: 0 / 0.584 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.4238, allocations: 4 kB / 0.584 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.4238, allocations: 0.7344 kB / 0.584 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4238, allocations: 8 kB / 0.584 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.4241, allocations: 207.3 kB / 0.5842 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.4242, allocations: 100.8 kB / 0.5843 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.4242, allocations: 4 kB / 0.5843 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.9e-05/0.4243, allocations: 11.94 kB / 0.5843 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.4244, allocations: 7.984 kB / 0.5843 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-06/0.4244, allocations: 4 kB / 0.5843 GB, free: 11.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001613/0.4245, allocations: 182 kB / 0.5845 GB, free: 10.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4245, allocations: 0 / 0.5845 GB, free: 10.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004527/0.425, allocations: 75.94 kB / 0.5846 GB, free: 10.91 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 () * Number of clocked 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.0003542/0.4254, allocations: 205.2 kB / 0.5848 GB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004399/0.4258, allocations: 184.2 kB / 0.585 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4258, allocations: 4 kB / 0.585 GB, free: 10.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.426, allocations: 109.4 kB / 0.5851 GB, free: 10.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.4264, allocations: 28.89 kB / 0.5851 GB, free: 10.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006441/0.427, allocations: 445.2 kB / 0.5855 GB, free: 9.902 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.4273, allocations: 0.7323 MB / 0.5862 GB, free: 9.145 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.4273, allocations: 15.44 kB / 0.5862 GB, free: 9.129 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4273, allocations: 0 / 0.5862 GB, free: 9.129 MB / 410.7 MB Notification: Performance of Templates: time 0.006536/0.4339, allocations: 4.618 MB / 0.5908 GB, free: 4.535 MB / 410.7 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