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_roundTube.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_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 118.1 kB / 17.08 MB, free: 6.012 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.001144/0.001144, allocations: 194.4 kB / 18.01 MB, free: 5.094 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.31/1.31, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2051/0.2051, allocations: 43.53 MB / 314.8 MB, free: 468 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.001439/0.001439, allocations: 67.83 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1197, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003824/0.1236, allocations: 2.657 MB / 0.4912 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.1262, allocations: 1.768 MB / 0.4929 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.1263, allocations: 4 kB / 0.4929 GB, free: 7.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.1267, allocations: 119.2 kB / 0.493 GB, free: 7.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002302/0.127, allocations: 110.9 kB / 0.4931 GB, free: 7.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007818/0.1277, allocations: 350.7 kB / 0.4935 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.128, allocations: 262.2 kB / 0.4937 GB, free: 6.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.184e-05/0.1281, allocations: 28.72 kB / 0.4937 GB, free: 6.457 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.1282, allocations: 99.28 kB / 0.4938 GB, free: 6.359 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.1284, allocations: 115.2 kB / 0.4939 GB, free: 6.246 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.1284, allocations: 11.94 kB / 0.494 GB, free: 6.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.1295, allocations: 0.7606 MB / 0.4947 GB, free: 5.473 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.217e-05/0.1296, allocations: 43.7 kB / 0.4947 GB, free: 5.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.1298, allocations: 131 kB / 0.4949 GB, free: 5.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000813/0.1306, allocations: 0.7085 MB / 0.4956 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1306, allocations: 0 / 0.4956 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1306, allocations: 0 / 0.4956 GB, free: 4.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1306, allocations: 0 / 0.4956 GB, free: 4.59 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008488/0.1315, allocations: 0.6356 MB / 0.4962 GB, free: 3.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1315, allocations: 15.89 kB / 0.4962 GB, free: 3.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.968e-05/0.1316, allocations: 40.47 kB / 0.4962 GB, free: 3.848 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.1319, allocations: 251.4 kB / 0.4965 GB, free: 3.562 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.1319, allocations: 29.31 kB / 0.4965 GB, free: 3.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.1319, allocations: 40.12 kB / 0.4965 GB, free: 3.496 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005326/0.1325, allocations: 362.5 kB / 0.4969 GB, free: 3.137 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1325, allocations: 4 kB / 0.4969 GB, free: 3.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.1325, allocations: 16 kB / 0.4969 GB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.1325, allocations: 8 kB / 0.4969 GB, free: 3.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004198/0.133, allocations: 259.9 kB / 0.4972 GB, free: 2.855 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.1341, allocations: 0.8883 MB / 0.498 GB, free: 1.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.1344, allocations: 94.48 kB / 0.4981 GB, free: 1.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.1345, allocations: 40.89 kB / 0.4982 GB, free: 1.766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.1345, allocations: 8.031 kB / 0.4982 GB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.1346, allocations: 38.55 kB / 0.4982 GB, free: 1.711 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.1346, allocations: 0 / 0.4982 GB, free: 1.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005364/0.1351, allocations: 193.1 kB / 0.4984 GB, free: 1.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.1352, allocations: 51.41 kB / 0.4984 GB, free: 1.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/0.1355, allocations: 397.8 kB / 0.4988 GB, free: 1.059 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1356, allocations: 25.7 kB / 0.4988 GB, free: 1.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.1357, allocations: 251.1 kB / 0.4991 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.1358, allocations: 35.55 kB / 0.4991 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-05/0.1358, allocations: 65.89 kB / 0.4992 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.136, allocations: 351 kB / 0.4995 GB, free: 328 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.1362, allocations: 68.23 kB / 0.4996 GB, free: 260 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.1364, allocations: 238.2 kB / 0.4998 GB, free: 15.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/0.1369, allocations: 341.3 kB / 0.5001 GB, free: 15.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1369, allocations: 4 kB / 0.5001 GB, free: 15.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005697/0.1375, allocations: 349.1 kB / 0.5005 GB, free: 15.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.1375, allocations: 15.92 kB / 0.5005 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.224e-05/0.1376, allocations: 24 kB / 0.5005 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.1376, allocations: 12 kB / 0.5005 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.1378, allocations: 51.91 kB / 0.5006 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.1378, allocations: 11.94 kB / 0.5006 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.138, allocations: 59.36 kB / 0.5006 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.138, allocations: 24 kB / 0.5007 GB, free: 14.96 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_3.geometry,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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.1382, allocations: 153.8 kB / 0.5008 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.1382, allocations: 35.53 kB / 0.5008 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004881/0.1387, allocations: 212.7 kB / 0.501 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1387, allocations: 0 / 0.501 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.1387, allocations: 0 / 0.501 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1387, allocations: 0 / 0.501 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.139, allocations: 289.3 kB / 0.5013 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-05/0.1391, allocations: 20.19 kB / 0.5013 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.1391, allocations: 19.92 kB / 0.5013 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1391, allocations: 0 / 0.5013 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1392, allocations: 4 kB / 0.5014 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1392, allocations: 0 / 0.5014 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1392, allocations: 4 kB / 0.5014 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.1395, allocations: 254.9 kB / 0.5016 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.3e-05/0.1396, allocations: 112.7 kB / 0.5017 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.1397, allocations: 0 / 0.5017 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.1398, allocations: 11.92 kB / 0.5017 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.1399, allocations: 8 kB / 0.5017 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.1399, allocations: 4 kB / 0.5017 GB, free: 13.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002344/0.1401, allocations: 271.1 kB / 0.502 GB, free: 13.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1401, allocations: 0 / 0.502 GB, free: 13.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004863/0.1406, allocations: 127.8 kB / 0.5021 GB, free: 13.36 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004161/0.141, allocations: 203 kB / 0.5023 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006217/0.1417, allocations: 320.2 kB / 0.5026 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1417, allocations: 0 / 0.5026 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002919/0.142, allocations: 178.7 kB / 0.5028 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.1424, allocations: 45.53 kB / 0.5028 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008732/0.1433, allocations: 0.561 MB / 0.5034 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/0.1437, allocations: 0.7756 MB / 0.5041 GB, free: 11.17 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.1438, allocations: 27.44 kB / 0.5042 GB, free: 11.14 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1438, allocations: 4 kB / 0.5042 GB, free: 11.14 MB / 398.1 MB Notification: Performance of Templates: time 0.01155/0.1553, allocations: 9.776 MB / 0.5137 GB, free: 1.363 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube/kc_roundTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches