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.001462/0.001462, allocations: 182 kB / 13.66 MB, free: 1.664 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.974/1.974, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001072/0.001072, allocations: 86.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2959/0.2959, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.321e-05/3.33e-05, allocations: 0 / 425.3 MB, free: 23.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1135, allocations: 58.85 MB / 484.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.506/0.6195, allocations: 98.63 MB / 0.5691 GB, free: 5.016 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003748/0.62, allocations: 98.91 kB / 0.5692 GB, free: 4.961 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05683/0.6768, allocations: 11.3 MB / 0.5803 GB, free: 11.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6769, allocations: 0 / 0.5803 GB, free: 11.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.882e-05/0.6769, allocations: 4 kB / 0.5803 GB, free: 11.08 MB / 394.7 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.001049/0.6779, allocations: 0.5662 MB / 0.5808 GB, free: 10.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.678, allocations: 12.03 kB / 0.5808 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.6781, allocations: 43.52 kB / 0.5809 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.6786, allocations: 233.7 kB / 0.5811 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/0.6786, allocations: 31.09 kB / 0.5811 GB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.748e-05/0.6787, allocations: 34.81 kB / 0.5812 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009088/0.6796, allocations: 0.5517 MB / 0.5817 GB, free: 9.555 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.6797, allocations: 7.938 kB / 0.5817 GB, free: 9.547 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.627e-05/0.6797, allocations: 22.38 kB / 0.5817 GB, free: 9.535 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.6798, allocations: 11.98 kB / 0.5817 GB, free: 9.523 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000601/0.6804, allocations: 301.5 kB / 0.582 GB, free: 9.312 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003688/0.6841, allocations: 4.044 MB / 0.586 GB, free: 5.238 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004747/0.6846, allocations: 89.03 kB / 0.5861 GB, free: 5.152 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.6847, allocations: 32.61 kB / 0.5861 GB, free: 5.125 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.6848, allocations: 0 / 0.5861 GB, free: 5.125 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.6848, allocations: 38.56 kB / 0.5861 GB, free: 5.078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.914e-06/0.6848, allocations: 0 / 0.5861 GB, free: 5.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004358/0.6853, allocations: 118.1 kB / 0.5862 GB, free: 4.965 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.6853, allocations: 55.34 kB / 0.5863 GB, free: 4.898 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005657/0.6859, allocations: 356.2 kB / 0.5866 GB, free: 4.609 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.686, allocations: 25.7 kB / 0.5867 GB, free: 4.578 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.6862, allocations: 289.8 kB / 0.5869 GB, free: 4.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.6862, allocations: 34.31 kB / 0.587 GB, free: 4.312 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.787e-05/0.6863, allocations: 3.5 kB / 0.587 GB, free: 4.312 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.6864, allocations: 325.5 kB / 0.5873 GB, free: 3.992 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.6866, allocations: 47.27 kB / 0.5873 GB, free: 3.953 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.6869, allocations: 243.9 kB / 0.5876 GB, free: 3.629 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.6872, allocations: 94.16 kB / 0.5876 GB, free: 3.551 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.6872, allocations: 4 kB / 0.5876 GB, free: 3.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007692/0.688, allocations: 299.3 kB / 0.5879 GB, free: 3.285 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.688, allocations: 8 kB / 0.5879 GB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.6881, allocations: 8 kB / 0.5879 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.139e-05/0.6881, allocations: 12 kB / 0.588 GB, free: 3.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007899/0.6889, allocations: 115.8 kB / 0.5881 GB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.69, allocations: 1.216 MB / 0.5893 GB, free: 1.902 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005873/0.6906, allocations: 66.95 kB / 0.5893 GB, free: 1.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/0.6907, allocations: 23.81 kB / 0.5893 GB, free: 1.82 MB / 394.7 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.0001464/0.6908, allocations: 131.3 kB / 0.5895 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.83e-05/0.6909, allocations: 31.62 kB / 0.5895 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000612/0.6915, allocations: 151.6 kB / 0.5896 GB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.6916, allocations: 7.891 kB / 0.5897 GB, free: 1.527 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6916, allocations: 0 / 0.5897 GB, free: 1.527 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6916, allocations: 4 kB / 0.5897 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.6921, allocations: 275.6 kB / 0.5899 GB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.6921, allocations: 0 / 0.5899 GB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/0.6926, allocations: 55.97 kB / 0.59 GB, free: 1.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.6927, allocations: 3.938 kB / 0.59 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.6927, allocations: 7.984 kB / 0.59 GB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009438/0.6937, allocations: 1.2 MB / 0.5912 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6937, allocations: 4.188 kB / 0.5912 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003901/0.6941, allocations: 213 kB / 0.5914 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.6943, allocations: 112.6 kB / 0.5915 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.737e-05/0.6943, allocations: 4 kB / 0.5915 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/0.6946, allocations: 4 kB / 0.5915 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/0.6947, allocations: 11.97 kB / 0.5915 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.6948, allocations: 11.25 kB / 0.5915 GB, free: 15.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004407/0.6952, allocations: 265.8 kB / 0.5918 GB, free: 15.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.6952, allocations: 0 / 0.5918 GB, free: 15.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00091/0.6961, allocations: 130.6 kB / 0.5919 GB, free: 15.25 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 () * 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.0007185/0.6969, allocations: 245.4 kB / 0.5921 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008287/0.6977, allocations: 166.2 kB / 0.5923 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.6978, allocations: 0 / 0.5923 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003609/0.6981, allocations: 62.92 kB / 0.5923 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.6986, allocations: 48.75 kB / 0.5924 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.6997, allocations: 323.3 kB / 0.5927 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.7001, allocations: 0.7797 MB / 0.5934 GB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.7003, allocations: 23.44 kB / 0.5935 GB, free: 13.62 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.7003, allocations: 0 / 0.5935 GB, free: 13.62 MB / 410.7 MB Notification: Performance of Templates: time 0.01581/0.7161, allocations: 6.987 MB / 0.6003 GB, free: 6.668 MB / 410.7 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