Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0011/0.0011, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.001081/0.001081, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 241.8 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2257/0.2257, allocations: 44.18 MB / 336.1 MB, free: 3.031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.75 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1443, allocations: 60.82 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003687/0.148, allocations: 2.233 MB / 470.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.1496, allocations: 1.071 MB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.682e-05/0.1497, allocations: 7.938 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.15, allocations: 79.5 kB / 471.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.1503, allocations: 75.47 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.1505, allocations: 99.64 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.1507, allocations: 182.9 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.691e-05/0.1508, allocations: 16.39 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.1509, allocations: 63.61 kB / 472.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.1511, allocations: 91.48 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.1511, allocations: 4 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004022/0.1515, allocations: 267.6 kB / 472.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/0.1516, allocations: 27.8 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.696e-05/0.1517, allocations: 87.33 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003945/0.1521, allocations: 322.7 kB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1521, allocations: 0 / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1521, allocations: 0 / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1521, allocations: 0 / 473.1 MB, free: 10.22 MB / 350.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.0006629/0.1528, allocations: 0.4912 MB / 473.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1528, allocations: 16.03 kB / 473.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.1529, allocations: 20.66 kB / 473.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.1531, allocations: 216 kB / 473.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.1531, allocations: 16.81 kB / 473.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.1531, allocations: 28.12 kB / 473.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004067/0.1535, allocations: 223.3 kB / 474.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1536, allocations: 3.938 kB / 474.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.1536, allocations: 4 kB / 474.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.1536, allocations: 11.94 kB / 474.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004376/0.1541, allocations: 249.6 kB / 474.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000921/0.155, allocations: 0.6196 MB / 475 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.1553, allocations: 98.61 kB / 475.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.1554, allocations: 48.88 kB / 475.2 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.1554, allocations: 0 / 475.2 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.1555, allocations: 30.56 kB / 475.2 MB, free: 8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.1555, allocations: 4 kB / 475.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005074/0.156, allocations: 165.3 kB / 475.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.156, allocations: 59.39 kB / 475.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.1563, allocations: 266.9 kB / 475.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.1563, allocations: 29.7 kB / 475.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1564, allocations: 171.4 kB / 475.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.1565, allocations: 31.5 kB / 475.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.273e-05/0.1566, allocations: 49.61 kB / 476 MB, free: 7.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1567, allocations: 338.8 kB / 476.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.1568, allocations: 55.95 kB / 476.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.1571, allocations: 148.8 kB / 476.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.1574, allocations: 212.5 kB / 476.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1574, allocations: 4 kB / 476.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004773/0.1579, allocations: 229.5 kB / 476.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1579, allocations: 8 kB / 476.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.158, allocations: 8 kB / 476.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.158, allocations: 4 kB / 476.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/0.1584, allocations: 83.91 kB / 477 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006989/0.1591, allocations: 1.223 MB / 478.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.1593, allocations: 31.69 kB / 478.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.1593, allocations: 15.98 kB / 478.3 MB, free: 4.707 MB / 350.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.0001365/0.1595, allocations: 133.7 kB / 478.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.1595, allocations: 27.72 kB / 478.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004333/0.16, allocations: 167.6 kB / 478.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.16, allocations: 8.078 kB / 478.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.16, allocations: 7.875 kB / 478.6 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.16, allocations: 0 / 478.6 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006014/0.1606, allocations: 452 kB / 479.1 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1606, allocations: 3.984 kB / 479.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.1609, allocations: 55.92 kB / 479.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.1609, allocations: 0 / 479.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.1609, allocations: 8 kB / 479.1 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006487/0.1616, allocations: 1.215 MB / 480.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1616, allocations: 0 / 480.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.162, allocations: 249 kB / 480.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.107e-05/0.1621, allocations: 100.8 kB / 480.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.1621, allocations: 0 / 480.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.1623, allocations: 4 kB / 480.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.1623, allocations: 15.98 kB / 480.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.1623, allocations: 4 kB / 480.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001665/0.1625, allocations: 186 kB / 480.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1625, allocations: 0 / 480.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003618/0.1629, allocations: 67.94 kB / 481 MB, free: 1.863 MB / 350.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.0002733/0.1632, allocations: 143.7 kB / 481.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005451/0.1637, allocations: 167.7 kB / 481.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1637, allocations: 0 / 481.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003115/0.1641, allocations: 88.77 kB / 481.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.1645, allocations: 24.47 kB / 481.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000773/0.1652, allocations: 465.7 kB / 481.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.1656, allocations: 0.7365 MB / 482.6 MB, free: 200 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.348e-05/0.1657, allocations: 17.95 kB / 482.6 MB, free: 180 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.1657, allocations: 19.44 kB / 482.6 MB, free: 160 kB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1657, allocations: 0 / 482.6 MB, free: 160 kB / 350.1 MB Notification: Performance of Templates: time 0.00678/0.1725, allocations: 3.323 MB / 485.9 MB, free: 12.87 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches