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.002178/0.002182, allocations: 185.3 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.159/2.159, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001114/0.001113, allocations: 92.12 kB / 270.9 MB, free: 8.387 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.5097/0.5097, allocations: 43.56 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004666, allocations: 12 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1427, allocations: 58.84 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.501/0.6437, allocations: 94.42 MB / 0.571 GB, free: 8.305 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000378/0.6442, allocations: 99.92 kB / 0.5711 GB, free: 8.207 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03561/0.6798, allocations: 7.885 MB / 0.5788 GB, free: 348 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.6798, allocations: 4 kB / 0.5788 GB, free: 344 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.6799, allocations: 4 kB / 0.5788 GB, free: 340 kB / 394.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.0007836/0.6807, allocations: 490.1 kB / 0.5792 GB, free: 15.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.6807, allocations: 8.031 kB / 0.5792 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/0.6808, allocations: 27.16 kB / 0.5793 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.6811, allocations: 206.8 kB / 0.5795 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.6811, allocations: 12 kB / 0.5795 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/0.6811, allocations: 20 kB / 0.5795 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005651/0.6817, allocations: 218.6 kB / 0.5797 GB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.6817, allocations: 0 / 0.5797 GB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.6818, allocations: 8 kB / 0.5797 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.6818, allocations: 5.031 kB / 0.5797 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005037/0.6823, allocations: 156.3 kB / 0.5799 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.6835, allocations: 0.5728 MB / 0.5804 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.6838, allocations: 66.55 kB / 0.5805 GB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.6839, allocations: 4 kB / 0.5805 GB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.6839, allocations: 34.5 kB / 0.5805 GB, free: 14.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 2.054e-06/0.6839, allocations: 0 / 0.5805 GB, free: 14.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008099/0.6848, allocations: 307.7 kB / 0.5808 GB, free: 14.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.6848, allocations: 55.41 kB / 0.5809 GB, free: 13.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.6851, allocations: 229.8 kB / 0.5811 GB, free: 13.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.6852, allocations: 25.7 kB / 0.5811 GB, free: 13.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.6853, allocations: 222.1 kB / 0.5813 GB, free: 13.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.6854, allocations: 23.66 kB / 0.5813 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/0.6854, allocations: 0 / 0.5813 GB, free: 13.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.6855, allocations: 322.8 kB / 0.5817 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.6858, allocations: 47.91 kB / 0.5817 GB, free: 13.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.6861, allocations: 125.6 kB / 0.5818 GB, free: 12.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.6863, allocations: 67.91 kB / 0.5819 GB, free: 12.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.6863, allocations: 0 / 0.5819 GB, free: 12.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006531/0.687, allocations: 197.2 kB / 0.5821 GB, free: 12.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.687, allocations: 10.81 kB / 0.5821 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.394e-05/0.6871, allocations: 12 kB / 0.5821 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.6871, allocations: 4 kB / 0.5821 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.6874, allocations: 35.92 kB / 0.5821 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.6874, allocations: 12.36 kB / 0.5821 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.6876, allocations: 39.59 kB / 0.5822 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.6877, allocations: 8 kB / 0.5822 GB, free: 12.54 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.000152/0.6878, allocations: 143.5 kB / 0.5823 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.6879, allocations: 19.81 kB / 0.5823 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006352/0.6886, allocations: 146.8 kB / 0.5825 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.6886, allocations: 0 / 0.5825 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6886, allocations: 4 kB / 0.5825 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.6886, allocations: 4.125 kB / 0.5825 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003491/0.689, allocations: 217.6 kB / 0.5827 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.341e-05/0.689, allocations: 15.97 kB / 0.5827 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.763e-05/0.6891, allocations: 16.12 kB / 0.5827 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.6891, allocations: 4 kB / 0.5827 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.6892, allocations: 7.984 kB / 0.5827 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.6892, allocations: 0 / 0.5827 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6892, allocations: 0 / 0.5827 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005061/0.6897, allocations: 211.3 kB / 0.5829 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.313e-05/0.6898, allocations: 100.8 kB / 0.583 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/0.6899, allocations: 0 / 0.583 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.69, allocations: 8 kB / 0.583 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.6901, allocations: 7.984 kB / 0.5831 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.6901, allocations: 4 kB / 0.5831 GB, free: 11.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002351/0.6904, allocations: 182 kB / 0.5832 GB, free: 11.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6904, allocations: 0 / 0.5832 GB, free: 11.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005985/0.691, allocations: 75.94 kB / 0.5833 GB, free: 11.3 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.0004721/0.6915, allocations: 199 kB / 0.5835 GB, free: 11.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007207/0.6922, allocations: 190.1 kB / 0.5837 GB, free: 10.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6922, allocations: 4 kB / 0.5837 GB, free: 10.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003412/0.6926, allocations: 103.4 kB / 0.5838 GB, free: 10.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.6929, allocations: 24.84 kB / 0.5838 GB, free: 10.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009428/0.6939, allocations: 449.2 kB / 0.5842 GB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.6942, allocations: 0.7362 MB / 0.5849 GB, free: 9.535 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.6943, allocations: 15.44 kB / 0.585 GB, free: 9.52 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.6943, allocations: 0 / 0.585 GB, free: 9.52 MB / 410.7 MB Notification: Performance of Templates: time 0.00998/0.7043, allocations: 4.556 MB / 0.5894 GB, free: 4.977 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