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.001222/0.001222, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.001339/0.00134, allocations: 189.4 kB / 17.19 MB, free: 5.602 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.54/1.54, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2454/0.2454, allocations: 43.52 MB / 313.9 MB, free: 0.5391 MB / 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.001484/0.001484, allocations: 72.7 kB / 382.8 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1323, allocations: 57.79 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003098/0.1355, allocations: 2.177 MB / 442.7 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.1368, allocations: 1.103 MB / 443.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.914e-05/0.1369, allocations: 0 / 443.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.1372, allocations: 83.44 kB / 443.9 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.1375, allocations: 91.27 kB / 444 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.1378, allocations: 115.5 kB / 444.1 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.1379, allocations: 178.9 kB / 444.3 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.587e-05/0.138, allocations: 20.39 kB / 444.3 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.1382, allocations: 63.55 kB / 444.4 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.1383, allocations: 87.48 kB / 444.4 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.1383, allocations: 8 kB / 444.5 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003751/0.1387, allocations: 267.5 kB / 444.7 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.837e-05/0.1388, allocations: 23.8 kB / 444.7 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.842e-05/0.1389, allocations: 91.39 kB / 444.8 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.1392, allocations: 326.6 kB / 445.1 MB, free: 2.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1392, allocations: 0 / 445.1 MB, free: 2.254 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1393, allocations: 0 / 445.1 MB, free: 2.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1393, allocations: 0 / 445.1 MB, free: 2.254 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.0005609/0.1398, allocations: 0.4912 MB / 445.6 MB, free: 1.715 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1399, allocations: 15.89 kB / 445.7 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.023e-05/0.1399, allocations: 28.66 kB / 445.7 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.1401, allocations: 217.9 kB / 445.9 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.1402, allocations: 24.8 kB / 445.9 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.1402, allocations: 24.12 kB / 445.9 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/0.1406, allocations: 223.3 kB / 446.2 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1406, allocations: 0 / 446.2 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.1406, allocations: 7.938 kB / 446.2 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.1407, allocations: 8 kB / 446.2 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000363/0.141, allocations: 249.6 kB / 446.4 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008474/0.1419, allocations: 0.6157 MB / 447 MB, free: 232 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.1421, allocations: 98.55 kB / 447.1 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.1423, allocations: 52.88 kB / 447.2 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.1423, allocations: 0 / 447.2 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.1423, allocations: 38.56 kB / 447.2 MB, free: 20 kB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 8.01e-07/0.1423, allocations: 0 / 447.2 MB, free: 20 kB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006244/0.143, allocations: 157.3 kB / 447.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.143, allocations: 63.39 kB / 447.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.1433, allocations: 267 kB / 447.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.1434, allocations: 29.7 kB / 447.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.1435, allocations: 175.3 kB / 447.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.1435, allocations: 27.56 kB / 447.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.58e-05/0.1436, allocations: 49.61 kB / 448 MB, free: 15.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1437, allocations: 339.1 kB / 448.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.1439, allocations: 51.95 kB / 448.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.1441, allocations: 149.4 kB / 448.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.1445, allocations: 208.6 kB / 448.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1445, allocations: 3.938 kB / 448.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000462/0.145, allocations: 241 kB / 448.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/0.145, allocations: 4.438 kB / 448.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.145, allocations: 8 kB / 449 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.145, allocations: 12 kB / 449 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003999/0.1454, allocations: 83.91 kB / 449 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007662/0.1462, allocations: 1.211 MB / 450.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.1464, allocations: 43.78 kB / 450.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.1464, allocations: 8 kB / 450.3 MB, free: 12.73 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.0001295/0.1466, allocations: 146 kB / 450.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.776e-05/0.1467, allocations: 23.72 kB / 450.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004379/0.1471, allocations: 167.2 kB / 450.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1471, allocations: 0 / 450.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1471, allocations: 0 / 450.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1471, allocations: 3.984 kB / 450.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006433/0.1478, allocations: 452 kB / 451.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1478, allocations: 0 / 451.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.1481, allocations: 59.91 kB / 451.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.1481, allocations: 0 / 451.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.853e-05/0.1481, allocations: 8 kB / 451.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006721/0.1488, allocations: 1.215 MB / 452.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1488, allocations: 0 / 452.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.1492, allocations: 248.8 kB / 452.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.843e-05/0.1493, allocations: 100.9 kB / 452.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.1493, allocations: 3.984 kB / 452.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.1495, allocations: 12 kB / 452.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.1495, allocations: 7.984 kB / 452.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.1496, allocations: 4 kB / 452.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.1497, allocations: 186 kB / 452.9 MB, free: 9.961 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.633e-06/0.1497, allocations: 0 / 452.9 MB, free: 9.961 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003827/0.1501, allocations: 67.94 kB / 453 MB, free: 9.895 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.0002821/0.1504, allocations: 147.3 kB / 453.1 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005854/0.151, allocations: 175.7 kB / 453.3 MB, free: 9.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.151, allocations: 0 / 453.3 MB, free: 9.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000296/0.1513, allocations: 84.89 kB / 453.4 MB, free: 9.488 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.1518, allocations: 32.89 kB / 453.4 MB, free: 9.457 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008127/0.1526, allocations: 406.7 kB / 453.8 MB, free: 9.027 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.1529, allocations: 0.7323 MB / 454.5 MB, free: 8.27 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.801e-05/0.153, allocations: 17.95 kB / 454.6 MB, free: 8.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.153, allocations: 19.38 kB / 454.6 MB, free: 8.23 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.153, allocations: 8 kB / 454.6 MB, free: 8.223 MB / 334.1 MB Notification: Performance of Templates: time 0.007255/0.1603, allocations: 3.49 MB / 458.1 MB, free: 4.766 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 -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/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","/var/lib/jenkins/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