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_roundTube_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_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002087/0.002086, allocations: 177.9 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.092/2.092, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001101/0.001102, allocations: 88.36 kB / 262.1 MB, free: 13.86 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.2942/0.2942, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.905e-05/1.929e-05, allocations: 4.219 kB / 418.3 MB, free: 41.01 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4475/0.4475, allocations: 58.84 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1847/0.6323, allocations: 97.98 MB / 0.5616 GB, free: 1.309 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/0.6327, allocations: 91.94 kB / 0.5617 GB, free: 1.219 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05914/0.6919, allocations: 11.07 MB / 0.5725 GB, free: 6.113 MB / 411.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.692, allocations: 0 / 0.5725 GB, free: 6.113 MB / 411.1 MB Notification: Performance of Transformations before backend: time 2.387e-05/0.692, allocations: 12 kB / 0.5725 GB, free: 6.102 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001252/0.6933, allocations: 0.5606 MB / 0.5731 GB, free: 5.496 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.6934, allocations: 8.031 kB / 0.5731 GB, free: 5.488 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.6935, allocations: 39.53 kB / 0.5731 GB, free: 5.449 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005171/0.694, allocations: 238.5 kB / 0.5733 GB, free: 5.176 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/0.6941, allocations: 12 kB / 0.5733 GB, free: 5.164 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-05/0.6942, allocations: 20 kB / 0.5734 GB, free: 5.145 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007925/0.695, allocations: 229.5 kB / 0.5736 GB, free: 4.918 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.6962, allocations: 0.5017 MB / 0.5741 GB, free: 4.285 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.222e-05/0.6962, allocations: 7.938 kB / 0.5741 GB, free: 4.277 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/0.6963, allocations: 4 kB / 0.5741 GB, free: 4.273 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.584e-05/0.6964, allocations: 12 kB / 0.5741 GB, free: 4.262 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004641/0.7011, allocations: 3.949 MB / 0.5779 GB, free: 124 kB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/0.7015, allocations: 82.5 kB / 0.578 GB, free: 32 kB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.7017, allocations: 32.97 kB / 0.5781 GB, free: 16 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.7017, allocations: 0 / 0.5781 GB, free: 16 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.7018, allocations: 34.56 kB / 0.5781 GB, free: 15.95 MB / 427.1 MB Notification: Performance of pre-optimization done (n=7): time 1.923e-06/0.7018, allocations: 0 / 0.5781 GB, free: 15.95 MB / 427.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003639/0.7021, allocations: 97.48 kB / 0.5782 GB, free: 15.85 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.7022, allocations: 51.41 kB / 0.5782 GB, free: 15.79 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.7025, allocations: 230.2 kB / 0.5784 GB, free: 15.56 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.7026, allocations: 29.64 kB / 0.5785 GB, free: 15.53 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.7028, allocations: 325.1 kB / 0.5788 GB, free: 15.21 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.009e-05/0.7029, allocations: 31.55 kB / 0.5788 GB, free: 15.18 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.449e-05/0.7029, allocations: 0 / 0.5788 GB, free: 15.18 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.703, allocations: 322.8 kB / 0.5791 GB, free: 14.85 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.7032, allocations: 36.66 kB / 0.5792 GB, free: 14.81 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.7035, allocations: 246 kB / 0.5794 GB, free: 14.47 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.7037, allocations: 75.84 kB / 0.5795 GB, free: 14.39 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.7037, allocations: 0 / 0.5795 GB, free: 14.39 MB / 427.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006936/0.7044, allocations: 249.9 kB / 0.5797 GB, free: 14.14 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.7045, allocations: 12.03 kB / 0.5797 GB, free: 14.13 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.7045, allocations: 8 kB / 0.5797 GB, free: 14.12 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.406e-05/0.7046, allocations: 12 kB / 0.5797 GB, free: 14.11 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007342/0.7053, allocations: 107.8 kB / 0.5798 GB, free: 14.01 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009705/0.7063, allocations: 1.223 MB / 0.581 GB, free: 12.74 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004292/0.7067, allocations: 43.58 kB / 0.5811 GB, free: 12.7 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.723e-05/0.7068, allocations: 20.16 kB / 0.5811 GB, free: 12.68 MB / 427.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0001445/0.707, allocations: 124.8 kB / 0.5812 GB, free: 12.55 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.083e-05/0.707, allocations: 19.72 kB / 0.5812 GB, free: 12.53 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004717/0.7075, allocations: 135.6 kB / 0.5814 GB, free: 12.39 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.7075, allocations: 0 / 0.5814 GB, free: 12.39 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.7075, allocations: 0 / 0.5814 GB, free: 12.39 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.7076, allocations: 11.94 kB / 0.5814 GB, free: 12.38 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004284/0.708, allocations: 246 kB / 0.5816 GB, free: 12.1 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.708, allocations: 0 / 0.5816 GB, free: 12.1 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000488/0.7085, allocations: 55.97 kB / 0.5817 GB, free: 12.04 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.7086, allocations: 3.938 kB / 0.5817 GB, free: 12.04 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.7086, allocations: 0 / 0.5817 GB, free: 12.04 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009333/0.7095, allocations: 1.219 MB / 0.5829 GB, free: 10.77 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.7095, allocations: 0 / 0.5829 GB, free: 10.77 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.7099, allocations: 187.2 kB / 0.583 GB, free: 10.57 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.989e-05/0.71, allocations: 104.7 kB / 0.5831 GB, free: 10.45 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.587e-05/0.71, allocations: 0 / 0.5831 GB, free: 10.45 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.7103, allocations: 16.17 kB / 0.5831 GB, free: 10.44 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.7104, allocations: 8 kB / 0.5832 GB, free: 10.43 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.7104, allocations: 11.92 kB / 0.5832 GB, free: 10.42 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0002059/0.7106, allocations: 158 kB / 0.5833 GB, free: 10.26 MB / 427.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.7106, allocations: 0 / 0.5833 GB, free: 10.26 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0008808/0.7115, allocations: 131.7 kB / 0.5834 GB, free: 10.13 MB / 427.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 (7): * Single equations (assignments): 5 * 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.0006672/0.7122, allocations: 253.6 kB / 0.5837 GB, free: 9.879 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0006929/0.7129, allocations: 145.3 kB / 0.5838 GB, free: 9.738 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.7129, allocations: 0 / 0.5838 GB, free: 9.738 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003395/0.7133, allocations: 64.28 kB / 0.5839 GB, free: 9.676 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.7136, allocations: 8.781 kB / 0.5839 GB, free: 9.664 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000877/0.7145, allocations: 315.5 kB / 0.5842 GB, free: 9.328 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004377/0.7149, allocations: 0.7789 MB / 0.585 GB, free: 8.523 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.878e-05/0.715, allocations: 15.44 kB / 0.585 GB, free: 8.508 MB / 427.1 MB Notification: Performance of SimCode: time 9.22e-07/0.7151, allocations: 4 kB / 0.585 GB, free: 8.504 MB / 427.1 MB Notification: Performance of Templates: time 0.01429/0.7293, allocations: 6.468 MB / 0.5913 GB, free: 2.035 MB / 427.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC/kc_roundTube_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches