Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.StraightPipe.kc_overall,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001132, allocations: 104.5 kB / 17.08 MB, free: 6.008 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.001041/0.001041, allocations: 198.2 kB / 18.02 MB, free: 5.09 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.458/1.458, 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.2362/0.2362, 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.001579/0.001579, allocations: 68.36 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1207, allocations: 57.8 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003976/0.1247, allocations: 2.251 MB / 0.4908 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003226/0.128, allocations: 2.084 MB / 0.4928 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001937/0.1282, allocations: 4 kB / 0.4928 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.1285, allocations: 79.5 kB / 0.4929 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000441/0.129, allocations: 107.3 kB / 0.493 GB, free: 7.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.1302, allocations: 418.4 kB / 0.4934 GB, free: 6.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006554/0.1309, allocations: 0.5248 MB / 0.4939 GB, free: 6.289 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.131, allocations: 69.03 kB / 0.494 GB, free: 6.219 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002754/0.1313, allocations: 187 kB / 0.4942 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003113/0.1316, allocations: 210.8 kB / 0.4944 GB, free: 5.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.611e-05/0.1317, allocations: 12 kB / 0.4944 GB, free: 5.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.1328, allocations: 0.6591 MB / 0.495 GB, free: 5.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.1329, allocations: 111.4 kB / 0.4951 GB, free: 5.047 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002054/0.1331, allocations: 198.6 kB / 0.4953 GB, free: 4.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.1343, allocations: 0.837 MB / 0.4961 GB, free: 4.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1343, allocations: 0 / 0.4961 GB, free: 4.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1343, allocations: 0 / 0.4961 GB, free: 4.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.1343, allocations: 0 / 0.4961 GB, free: 4.012 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001439/0.1357, allocations: 0.838 MB / 0.4969 GB, free: 3.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.1358, allocations: 15.83 kB / 0.497 GB, free: 3.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.1359, allocations: 60.22 kB / 0.497 GB, free: 3.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.1363, allocations: 319.4 kB / 0.4973 GB, free: 2.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.066e-05/0.1363, allocations: 41.69 kB / 0.4974 GB, free: 2.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.258e-05/0.1364, allocations: 56.12 kB / 0.4974 GB, free: 2.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.1376, allocations: 0.7657 MB / 0.4982 GB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.1376, allocations: 0 / 0.4982 GB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.544e-05/0.1377, allocations: 24 kB / 0.4982 GB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.114e-05/0.1377, allocations: 29.3 kB / 0.4982 GB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.1388, allocations: 0.5515 MB / 0.4988 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.1412, allocations: 1.68 MB / 0.5004 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006431/0.1418, allocations: 303.6 kB / 0.5007 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004435/0.1423, allocations: 154.4 kB / 0.5008 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.107e-05/0.1424, allocations: 7.984 kB / 0.5008 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.1424, allocations: 42.55 kB / 0.5009 GB, free: 14.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/0.1424, allocations: 4 kB / 0.5009 GB, free: 14.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001247/0.1437, allocations: 0.4954 MB / 0.5014 GB, free: 14.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.1438, allocations: 107.1 kB / 0.5015 GB, free: 14.29 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007474/0.1445, allocations: 0.6469 MB / 0.5021 GB, free: 13.63 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.1446, allocations: 33.7 kB / 0.5021 GB, free: 13.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.1448, allocations: 279.5 kB / 0.5024 GB, free: 13.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.421e-05/0.1448, allocations: 74.98 kB / 0.5025 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/0.145, allocations: 122.1 kB / 0.5026 GB, free: 13.11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1452, allocations: 362.8 kB / 0.5029 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.1456, allocations: 196.9 kB / 0.5031 GB, free: 12.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005425/0.1462, allocations: 457.4 kB / 0.5036 GB, free: 11.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009736/0.1471, allocations: 0.671 MB / 0.5042 GB, free: 11.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.1472, allocations: 8 kB / 0.5042 GB, free: 11.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001324/0.1485, allocations: 0.6891 MB / 0.5049 GB, free: 10.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.1485, allocations: 11.98 kB / 0.5049 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-05/0.1486, allocations: 47.94 kB / 0.505 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.424e-05/0.1487, allocations: 19.98 kB / 0.505 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.149, allocations: 75.77 kB / 0.505 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/0.149, allocations: 19.92 kB / 0.5051 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000415/0.1494, allocations: 98.94 kB / 0.5052 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.1495, allocations: 40.12 kB / 0.5052 GB, free: 10.17 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002812/0.1498, allocations: 253.5 kB / 0.5054 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.1499, allocations: 47.44 kB / 0.5055 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008951/0.1508, allocations: 476.4 kB / 0.5059 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.1508, allocations: 0 / 0.5059 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.298e-05/0.1509, allocations: 39.98 kB / 0.506 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.1511, allocations: 136.4 kB / 0.5061 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.861e-05/0.1511, allocations: 8 kB / 0.5061 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.1515, allocations: 15.97 kB / 0.5061 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.486e-05/0.1516, allocations: 23.97 kB / 0.5061 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009343/0.1525, allocations: 0.5889 MB / 0.5067 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008601/0.1534, allocations: 0.6841 MB / 0.5074 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003308/0.1537, allocations: 147.9 kB / 0.5075 GB, free: 7.711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004493/0.1542, allocations: 450.7 kB / 0.508 GB, free: 7.273 MB / 398.1 MB Notification: Performance of Backend: time 2.3e-07/0.1542, allocations: 0 / 0.508 GB, free: 7.273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.156, allocations: 0.8313 MB / 0.5088 GB, free: 6.363 MB / 398.1 MB Notification: Performance of SimCode: time 0.001818/0.1578, allocations: 1.682 MB / 0.5104 GB, free: 4.555 MB / 398.1 MB Notification: Performance of Templates: time 0.02002/0.1778, allocations: 11.4 MB / 0.5216 GB, free: 9.168 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches