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_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_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001431/0.001431, allocations: 175.2 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.29/1.29, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0006847/0.0006848, allocations: 94.39 kB / 271.2 MB, free: 8.25 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.2764/0.2764, allocations: 43.55 MB / 363.1 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003486, allocations: 19.98 kB / 432 MB, free: 5.582 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1016, allocations: 58.85 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002457/0.1041, allocations: 1.847 MB / 492.7 MB, free: 8.789 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.1057, allocations: 1.014 MB / 493.7 MB, free: 7.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.1059, allocations: 4 kB / 493.7 MB, free: 7.766 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.1062, allocations: 83.5 kB / 493.8 MB, free: 7.684 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.1065, allocations: 67.47 kB / 493.8 MB, free: 7.617 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.1068, allocations: 99.64 kB / 493.9 MB, free: 7.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.107, allocations: 162.9 kB / 494.1 MB, free: 7.359 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.089e-05/0.1071, allocations: 20.39 kB / 494.1 MB, free: 7.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.1072, allocations: 71.58 kB / 494.2 MB, free: 7.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.1074, allocations: 75.56 kB / 494.3 MB, free: 7.195 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.1074, allocations: 8 kB / 494.3 MB, free: 7.188 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003716/0.1078, allocations: 255.5 kB / 494.5 MB, free: 6.938 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.216e-05/0.1078, allocations: 35.72 kB / 494.6 MB, free: 6.902 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.562e-05/0.1079, allocations: 105.2 kB / 494.7 MB, free: 6.793 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.1082, allocations: 203.2 kB / 494.9 MB, free: 6.594 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1082, allocations: 0 / 494.9 MB, free: 6.594 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1082, allocations: 0 / 494.9 MB, free: 6.594 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1082, allocations: 4 kB / 494.9 MB, free: 6.59 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005609/0.1088, allocations: 471.1 kB / 495.3 MB, free: 6.082 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1088, allocations: 16.03 kB / 495.3 MB, free: 6.066 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.1089, allocations: 28.59 kB / 495.4 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.1091, allocations: 211.9 kB / 495.6 MB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.1091, allocations: 20.81 kB / 495.6 MB, free: 5.773 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.1091, allocations: 20.12 kB / 495.6 MB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.1095, allocations: 231.2 kB / 495.8 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1096, allocations: 0 / 495.8 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.1096, allocations: 8 kB / 495.9 MB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1096, allocations: 12 kB / 495.9 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004096/0.11, allocations: 257.5 kB / 496.1 MB, free: 5.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008978/0.1109, allocations: 0.6195 MB / 496.7 MB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.1112, allocations: 102.6 kB / 496.8 MB, free: 4.469 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.1113, allocations: 52.92 kB / 496.9 MB, free: 4.414 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.1114, allocations: 0 / 496.9 MB, free: 4.414 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.1114, allocations: 38.5 kB / 496.9 MB, free: 4.367 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.1114, allocations: 0 / 496.9 MB, free: 4.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005085/0.1119, allocations: 185.3 kB / 497.1 MB, free: 4.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.112, allocations: 51.41 kB / 497.2 MB, free: 4.117 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.1122, allocations: 259 kB / 497.4 MB, free: 3.855 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1122, allocations: 25.7 kB / 497.4 MB, free: 3.824 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.1123, allocations: 179.2 kB / 497.6 MB, free: 3.645 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.1124, allocations: 31.55 kB / 497.6 MB, free: 3.613 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.355e-05/0.1124, allocations: 12 kB / 497.6 MB, free: 3.602 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1125, allocations: 335.1 kB / 498 MB, free: 3.266 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.1127, allocations: 51.95 kB / 498 MB, free: 3.215 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.1129, allocations: 152.8 kB / 498.2 MB, free: 3.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.1132, allocations: 220.6 kB / 498.4 MB, free: 2.758 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1133, allocations: 11.94 kB / 498.4 MB, free: 2.746 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004387/0.1137, allocations: 245.5 kB / 498.6 MB, free: 2.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1137, allocations: 4 kB / 498.6 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1137, allocations: 4 kB / 498.7 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1138, allocations: 7.938 kB / 498.7 MB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.1141, allocations: 87.91 kB / 498.7 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007095/0.1149, allocations: 1.226 MB / 500 MB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.1151, allocations: 39.67 kB / 0.4883 GB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.1151, allocations: 8 kB / 0.4883 GB, free: 1.078 MB / 378.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 (25): * Single equations (assignments): 23 * 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.000116/0.1152, allocations: 137.8 kB / 0.4884 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.1152, allocations: 23.72 kB / 0.4885 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004275/0.1157, allocations: 183.2 kB / 0.4886 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1157, allocations: 4 kB / 0.4886 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1157, allocations: 0 / 0.4886 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1157, allocations: 0 / 0.4886 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005843/0.1163, allocations: 464 kB / 0.4891 GB, free: 212 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1163, allocations: 0 / 0.4891 GB, free: 212 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.1166, allocations: 55.98 kB / 0.4891 GB, free: 156 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1166, allocations: 3.984 kB / 0.4891 GB, free: 152 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.1166, allocations: 4 kB / 0.4891 GB, free: 148 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2085/0.3252, allocations: 1.208 MB / 0.4903 GB, free: 42.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3252, allocations: 3.25 kB / 0.4903 GB, free: 42.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.3256, allocations: 255.3 kB / 0.4906 GB, free: 42.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.3257, allocations: 100.6 kB / 0.4907 GB, free: 41.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.3257, allocations: 9.781 kB / 0.4907 GB, free: 41.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.3259, allocations: 10.33 kB / 0.4907 GB, free: 41.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.723e-05/0.3259, allocations: 9.719 kB / 0.4907 GB, free: 41.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.326, allocations: 5.844 kB / 0.4907 GB, free: 41.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001659/0.3261, allocations: 188.3 kB / 0.4909 GB, free: 41.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3261, allocations: 0 / 0.4909 GB, free: 41.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003825/0.3265, allocations: 65.58 kB / 0.4909 GB, free: 41.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * 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.0002465/0.3268, allocations: 142.2 kB / 0.4911 GB, free: 41.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005484/0.3273, allocations: 178.6 kB / 0.4912 GB, free: 41.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3274, allocations: 3.719 kB / 0.4912 GB, free: 41.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.3276, allocations: 92.28 kB / 0.4913 GB, free: 41.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.328, allocations: 23.64 kB / 0.4914 GB, free: 41.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007124/0.3287, allocations: 494.8 kB / 0.4918 GB, free: 41.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.3289, allocations: 0.7329 MB / 0.4925 GB, free: 40.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.659e-05/0.329, allocations: 19.59 kB / 0.4926 GB, free: 40.78 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.329, allocations: 0 / 0.4926 GB, free: 40.78 MB / 378.7 MB Notification: Performance of Templates: time 0.0062/0.3352, allocations: 4.33 MB / 0.4968 GB, free: 40.54 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_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_flatTube_KC/kc_flatTube_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches