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.001218/0.001218, allocations: 179.2 kB / 16.41 MB, free: 5.707 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.374/1.374, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0007383/0.0007383, allocations: 95.89 kB / 270.9 MB, free: 8.355 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.3131/0.3131, allocations: 43.56 MB / 362.7 MB, free: 52.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003663, allocations: 8 kB / 431.4 MB, free: 6.129 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1021, allocations: 58.85 MB / 490.3 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002301/0.1044, allocations: 1.832 MB / 492.1 MB, free: 9.352 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1057, allocations: 1.022 MB / 493.1 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.319e-05/0.1058, allocations: 0 / 493.1 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.106, allocations: 67.59 kB / 493.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.1063, allocations: 79.45 kB / 493.3 MB, free: 8.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.1065, allocations: 95.62 kB / 493.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.1067, allocations: 174.9 kB / 493.5 MB, free: 7.914 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.124e-05/0.1067, allocations: 20.38 kB / 493.5 MB, free: 7.895 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.1068, allocations: 63.66 kB / 493.6 MB, free: 7.832 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.107, allocations: 91.48 kB / 493.7 MB, free: 7.742 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.107, allocations: 4 kB / 493.7 MB, free: 7.738 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003423/0.1073, allocations: 251.6 kB / 493.9 MB, free: 7.492 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.238e-05/0.1074, allocations: 27.78 kB / 494 MB, free: 7.465 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.1074, allocations: 53.58 kB / 494 MB, free: 7.406 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.1077, allocations: 215.2 kB / 494.2 MB, free: 7.195 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1077, allocations: 0 / 494.2 MB, free: 7.195 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1077, allocations: 0 / 494.2 MB, free: 7.195 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.1077, allocations: 0 / 494.2 MB, free: 7.195 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.0006011/0.1083, allocations: 479 kB / 494.7 MB, free: 6.676 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1084, allocations: 8.031 kB / 494.7 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/0.1084, allocations: 27.67 kB / 494.7 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.1087, allocations: 210.7 kB / 494.9 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.1087, allocations: 16.44 kB / 495 MB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.1088, allocations: 20 kB / 495 MB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000438/0.1092, allocations: 231.3 kB / 495.2 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1092, allocations: 3.938 kB / 495.2 MB, free: 6.121 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.1093, allocations: 4 kB / 495.2 MB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.1093, allocations: 11.94 kB / 495.2 MB, free: 6.105 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004452/0.1097, allocations: 261.6 kB / 495.5 MB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009045/0.1106, allocations: 0.6157 MB / 496.1 MB, free: 5.184 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.1109, allocations: 102.6 kB / 496.2 MB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.1111, allocations: 52.92 kB / 496.2 MB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.1111, allocations: 0 / 496.2 MB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.1112, allocations: 34.56 kB / 496.3 MB, free: 4.977 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 8.62e-07/0.1112, allocations: 0 / 496.3 MB, free: 4.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005523/0.1117, allocations: 185.3 kB / 496.5 MB, free: 4.789 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.1118, allocations: 55.36 kB / 496.5 MB, free: 4.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.112, allocations: 267 kB / 496.8 MB, free: 4.453 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.1121, allocations: 29.64 kB / 496.8 MB, free: 4.418 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.1122, allocations: 167.3 kB / 497 MB, free: 4.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.1122, allocations: 39.55 kB / 497 MB, free: 4.211 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-06/0.1122, allocations: 0 / 497 MB, free: 4.211 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1124, allocations: 334.8 kB / 497.3 MB, free: 3.875 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.1126, allocations: 47.97 kB / 497.4 MB, free: 3.828 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.1128, allocations: 156.7 kB / 497.5 MB, free: 3.629 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.113, allocations: 75.97 kB / 497.6 MB, free: 3.555 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.113, allocations: 0 / 497.6 MB, free: 3.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004876/0.1135, allocations: 245 kB / 497.8 MB, free: 3.309 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1135, allocations: 8 kB / 497.8 MB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.1135, allocations: 0 / 497.8 MB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1136, allocations: 11.94 kB / 497.9 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/0.114, allocations: 92.3 kB / 498 MB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007306/0.1147, allocations: 1.223 MB / 499.2 MB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.1149, allocations: 39.86 kB / 499.2 MB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.1149, allocations: 20 kB / 499.2 MB, free: 1.871 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.0001385/0.1151, allocations: 137.7 kB / 499.4 MB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.1151, allocations: 20.09 kB / 499.4 MB, free: 1.707 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004405/0.1156, allocations: 183.2 kB / 499.6 MB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1156, allocations: 11.92 kB / 499.6 MB, free: 1.512 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.1156, allocations: 0 / 499.6 MB, free: 1.512 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1156, allocations: 0 / 499.6 MB, free: 1.512 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006326/0.1163, allocations: 460 kB / 0.4883 GB, free: 1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1163, allocations: 0 / 0.4883 GB, free: 1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002735/0.1166, allocations: 63.97 kB / 0.4884 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.1166, allocations: 4.062 kB / 0.4884 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.1166, allocations: 8 kB / 0.4884 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1792/0.2958, allocations: 1.208 MB / 0.4896 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.2958, allocations: 1.75 kB / 0.4896 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/0.2962, allocations: 258.7 kB / 0.4898 GB, free: 42.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.447e-05/0.2963, allocations: 96.53 kB / 0.4899 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.2963, allocations: 8.344 kB / 0.4899 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.2965, allocations: 12.03 kB / 0.4899 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/0.2966, allocations: 11.88 kB / 0.4899 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.2966, allocations: 5.062 kB / 0.4899 GB, free: 42.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001489/0.2967, allocations: 186.1 kB / 0.4901 GB, free: 42.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2967, allocations: 0 / 0.4901 GB, free: 42.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000379/0.2971, allocations: 67.7 kB / 0.4902 GB, free: 42.65 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.0002176/0.2973, allocations: 141.4 kB / 0.4903 GB, free: 42.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005517/0.2979, allocations: 178.2 kB / 0.4905 GB, free: 42.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2979, allocations: 4.75 kB / 0.4905 GB, free: 42.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002875/0.2982, allocations: 89.56 kB / 0.4906 GB, free: 42.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.2986, allocations: 27.23 kB / 0.4906 GB, free: 42.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006632/0.2992, allocations: 493.1 kB / 0.4911 GB, free: 42.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.2994, allocations: 0.7315 MB / 0.4918 GB, free: 41.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.2994, allocations: 23.12 kB / 0.4918 GB, free: 41.58 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2994, allocations: 0 / 0.4918 GB, free: 41.58 MB / 378.7 MB Notification: Performance of Templates: time 0.005822/0.3053, allocations: 4.328 MB / 0.496 GB, free: 41.35 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