Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 108.1 kB / 17.03 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 194.9 kB / 17.96 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2161/0.2161, allocations: 43.51 MB / 314.7 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 63.62 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1183, allocations: 57.79 MB / 442 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003827/0.1222, allocations: 2.177 MB / 444.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.1239, allocations: 1.095 MB / 445.3 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.1241, allocations: 4 kB / 445.3 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.1245, allocations: 91.36 kB / 445.3 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.1248, allocations: 91.27 kB / 445.4 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.1251, allocations: 119.5 kB / 445.6 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.1253, allocations: 178.9 kB / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.525e-05/0.1254, allocations: 12.41 kB / 445.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.1255, allocations: 71.58 kB / 445.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.1256, allocations: 87.44 kB / 445.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1256, allocations: 7.938 kB / 445.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003192/0.126, allocations: 271.6 kB / 446.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.856e-05/0.126, allocations: 23.84 kB / 446.2 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.382e-05/0.1261, allocations: 79.42 kB / 446.3 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.1264, allocations: 338.6 kB / 446.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1264, allocations: 0 / 446.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1265, allocations: 0 / 446.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.1265, allocations: 0 / 446.6 MB, free: 1.453 MB / 318.1 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.0004888/0.127, allocations: 0.4912 MB / 447.1 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.127, allocations: 11.89 kB / 447.1 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.1271, allocations: 28.66 kB / 447.1 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.1272, allocations: 217.9 kB / 447.3 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.1272, allocations: 16.81 kB / 447.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.1273, allocations: 24.12 kB / 447.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.1276, allocations: 227.2 kB / 447.6 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.1276, allocations: 0 / 447.6 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.1276, allocations: 8 kB / 447.6 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1276, allocations: 4 kB / 447.6 MB, free: 356 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003343/0.128, allocations: 249.6 kB / 447.9 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009777/0.129, allocations: 0.6195 MB / 448.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.1292, allocations: 98.5 kB / 448.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.1294, allocations: 48.98 kB / 448.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/0.1294, allocations: 7.984 kB / 448.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.1295, allocations: 34.56 kB / 448.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.1295, allocations: 3.938 kB / 448.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004855/0.13, allocations: 161.3 kB / 448.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.13, allocations: 59.34 kB / 448.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.1303, allocations: 271 kB / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.1303, allocations: 29.7 kB / 449.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.1304, allocations: 167.3 kB / 449.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.1305, allocations: 35.55 kB / 449.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.976e-05/0.1305, allocations: 45.98 kB / 449.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1307, allocations: 342.8 kB / 449.8 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.1308, allocations: 43.97 kB / 449.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.131, allocations: 145.7 kB / 449.9 MB, free: 13.85 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.1314, allocations: 216.5 kB / 450.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1314, allocations: 0 / 450.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004639/0.1319, allocations: 237 kB / 450.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1319, allocations: 8 kB / 450.4 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.1319, allocations: 4.438 kB / 450.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1319, allocations: 4 kB / 450.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/0.1323, allocations: 91.89 kB / 450.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007623/0.1331, allocations: 1.211 MB / 451.7 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.1333, allocations: 39.77 kB / 451.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.1334, allocations: 12 kB / 451.7 MB, free: 11.94 MB / 334.1 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.1335, allocations: 146 kB / 451.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.547e-05/0.1335, allocations: 19.72 kB / 451.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000428/0.134, allocations: 171.2 kB / 452.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.134, allocations: 0 / 452.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.134, allocations: 0 / 452.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.134, allocations: 4 kB / 452.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000679/0.1347, allocations: 456 kB / 452.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1347, allocations: 4.062 kB / 452.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.135, allocations: 55.97 kB / 452.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.628e-05/0.135, allocations: 4 kB / 452.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.135, allocations: 4 kB / 452.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006996/0.1357, allocations: 1.211 MB / 453.8 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1358, allocations: 0 / 453.8 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.1361, allocations: 252.8 kB / 454.1 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.219e-05/0.1362, allocations: 96.77 kB / 454.1 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.454e-05/0.1363, allocations: 8.094 kB / 454.2 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.1364, allocations: 11.98 kB / 454.2 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.1365, allocations: 11.92 kB / 454.2 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.1365, allocations: 4 kB / 454.2 MB, free: 9.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.1367, allocations: 186 kB / 454.4 MB, free: 9.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.482e-06/0.1367, allocations: 0 / 454.4 MB, free: 9.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003994/0.1371, allocations: 71.94 kB / 454.4 MB, free: 9.09 MB / 334.1 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002831/0.1374, allocations: 139.3 kB / 454.6 MB, free: 8.945 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005338/0.1379, allocations: 175.7 kB / 454.7 MB, free: 8.773 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.138, allocations: 0 / 454.7 MB, free: 8.773 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00028/0.1382, allocations: 83.89 kB / 454.8 MB, free: 8.691 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.1387, allocations: 29.88 kB / 454.9 MB, free: 8.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007724/0.1394, allocations: 410.7 kB / 455.3 MB, free: 8.227 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.1397, allocations: 0.7245 MB / 456 MB, free: 7.477 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.794e-05/0.1398, allocations: 25.94 kB / 456 MB, free: 7.449 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.1399, allocations: 15.44 kB / 456 MB, free: 7.434 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1399, allocations: 0 / 456 MB, free: 7.434 MB / 334.1 MB Notification: Performance of Templates: time 0.007656/0.1476, allocations: 3.508 MB / 459.5 MB, free: 3.961 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches