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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008629/0.0008678, allocations: 174.4 kB / 16.72 MB, free: 5.082 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.212/1.212, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007178/0.0007179, allocations: 82.42 kB / 271.2 MB, free: 8.258 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.2843/0.2843, allocations: 43.55 MB / 363.1 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003879, allocations: 16 kB / 432 MB, free: 5.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1049, allocations: 58.85 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.002324/0.1073, allocations: 2.242 MB / 493.1 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.1093, allocations: 1.669 MB / 494.8 MB, free: 6.941 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.874e-05/0.1094, allocations: 0 / 494.8 MB, free: 6.941 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.1096, allocations: 87.42 kB / 494.8 MB, free: 6.855 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.1098, allocations: 103.1 kB / 494.9 MB, free: 6.754 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005652/0.1104, allocations: 279.1 kB / 495.2 MB, free: 6.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.1106, allocations: 258.2 kB / 495.5 MB, free: 6.227 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.973e-05/0.1107, allocations: 28.72 kB / 495.5 MB, free: 6.199 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.142e-05/0.1108, allocations: 87.45 kB / 495.6 MB, free: 6.113 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.1109, allocations: 103.3 kB / 495.7 MB, free: 6.012 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.1109, allocations: 8 kB / 495.7 MB, free: 6.004 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009552/0.1119, allocations: 0.7333 MB / 496.4 MB, free: 5.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.719e-05/0.1119, allocations: 39.72 kB / 496.5 MB, free: 5.23 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.1121, allocations: 148.8 kB / 496.6 MB, free: 5.078 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004631/0.1125, allocations: 474.4 kB / 497.1 MB, free: 4.613 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1125, allocations: 0 / 497.1 MB, free: 4.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1126, allocations: 0 / 497.1 MB, free: 4.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1126, allocations: 0 / 497.1 MB, free: 4.613 MB / 378.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.0007255/0.1133, allocations: 0.5889 MB / 497.7 MB, free: 3.973 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1133, allocations: 12.03 kB / 497.7 MB, free: 3.961 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.1134, allocations: 36.47 kB / 497.7 MB, free: 3.926 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.1136, allocations: 247.4 kB / 497.9 MB, free: 3.645 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.1137, allocations: 21.38 kB / 498 MB, free: 3.625 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.1137, allocations: 40.12 kB / 498 MB, free: 3.586 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004668/0.1142, allocations: 374.4 kB / 498.4 MB, free: 3.215 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1142, allocations: 0 / 498.4 MB, free: 3.215 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.1142, allocations: 15.98 kB / 498.4 MB, free: 3.199 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.1142, allocations: 12 kB / 498.4 MB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000384/0.1146, allocations: 267.9 kB / 498.7 MB, free: 2.922 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.1156, allocations: 0.8844 MB / 499.5 MB, free: 1.984 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.1159, allocations: 90.48 kB / 499.6 MB, free: 1.887 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.116, allocations: 52.89 kB / 499.7 MB, free: 1.832 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.116, allocations: 7.984 kB / 499.7 MB, free: 1.824 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.1161, allocations: 30.56 kB / 499.7 MB, free: 1.785 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.535e-06/0.1161, allocations: 96 / 499.7 MB, free: 1.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004849/0.1166, allocations: 213.1 kB / 499.9 MB, free: 1.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.1166, allocations: 51.41 kB / 500 MB, free: 1.508 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.1169, allocations: 398 kB / 0.4886 GB, free: 1.109 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.117, allocations: 25.7 kB / 0.4887 GB, free: 1.078 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.1171, allocations: 251.1 kB / 0.4889 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.1171, allocations: 39.42 kB / 0.4889 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.268e-05/0.1171, allocations: 8 kB / 0.489 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1173, allocations: 350.7 kB / 0.4893 GB, free: 440 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.1174, allocations: 64.23 kB / 0.4893 GB, free: 376 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.1177, allocations: 246.3 kB / 0.4896 GB, free: 36 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1771/0.2948, allocations: 348.9 kB / 0.4899 GB, free: 42.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.2949, allocations: 1.812 kB / 0.4899 GB, free: 42.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006235/0.2955, allocations: 345.5 kB / 0.4902 GB, free: 42.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.2955, allocations: 13.27 kB / 0.4903 GB, free: 42.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.782e-05/0.2956, allocations: 27.3 kB / 0.4903 GB, free: 42.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.2956, allocations: 8.312 kB / 0.4903 GB, free: 42.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.2958, allocations: 58.61 kB / 0.4904 GB, free: 42.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.2958, allocations: 16.86 kB / 0.4904 GB, free: 42.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.296, allocations: 64.39 kB / 0.4904 GB, free: 42.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.2961, allocations: 21.56 kB / 0.4904 GB, free: 42.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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_3.geometry,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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001171/0.2962, allocations: 152.1 kB / 0.4906 GB, free: 42.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.2963, allocations: 35.17 kB / 0.4906 GB, free: 42.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000494/0.2968, allocations: 224.7 kB / 0.4908 GB, free: 42.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.2968, allocations: 1.188 kB / 0.4908 GB, free: 42.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2968, allocations: 6.188 kB / 0.4908 GB, free: 42.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2968, allocations: 0 / 0.4908 GB, free: 42.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.2971, allocations: 279.8 kB / 0.4911 GB, free: 42.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-05/0.2971, allocations: 19.38 kB / 0.4911 GB, free: 42.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.397e-05/0.2972, allocations: 10.44 kB / 0.4911 GB, free: 42.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2972, allocations: 1.094 kB / 0.4911 GB, free: 42.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.2972, allocations: 9.797 kB / 0.4912 GB, free: 42.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2972, allocations: 0.9688 kB / 0.4912 GB, free: 42.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2972, allocations: 3.938 kB / 0.4912 GB, free: 42.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.2976, allocations: 261.7 kB / 0.4914 GB, free: 42.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.2976, allocations: 110.5 kB / 0.4915 GB, free: 41.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.2977, allocations: 0.6562 kB / 0.4915 GB, free: 41.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.2978, allocations: 14 kB / 0.4915 GB, free: 41.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.2979, allocations: 8.125 kB / 0.4915 GB, free: 41.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.2979, allocations: 12.22 kB / 0.4915 GB, free: 41.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002325/0.2981, allocations: 273.2 kB / 0.4918 GB, free: 41.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2981, allocations: 0 / 0.4918 GB, free: 41.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005045/0.2986, allocations: 120.6 kB / 0.4919 GB, free: 41.82 MB / 378.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 (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003649/0.299, allocations: 191.6 kB / 0.4921 GB, free: 41.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005759/0.2996, allocations: 327.4 kB / 0.4924 GB, free: 41.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2996, allocations: 0 / 0.4924 GB, free: 41.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.2999, allocations: 193 kB / 0.4926 GB, free: 41.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.3003, allocations: 34.83 kB / 0.4926 GB, free: 41.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008285/0.3011, allocations: 0.6459 MB / 0.4933 GB, free: 41.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.3013, allocations: 0.7833 MB / 0.494 GB, free: 40.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.3014, allocations: 26.94 kB / 0.4941 GB, free: 40.36 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3014, allocations: 0 / 0.4941 GB, free: 40.36 MB / 378.7 MB Notification: Performance of Templates: time 0.01024/0.3116, allocations: 9.702 MB / 0.5035 GB, free: 39.63 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches