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_laminar.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_laminar,tolerance=1e-07,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_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,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_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 112.6 kB / 17.09 MB, free: 5.988 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.001043/0.001043, allocations: 199.3 kB / 18.02 MB, free: 5.066 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.482/1.482, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2295/0.2295, allocations: 43.53 MB / 314.8 MB, free: 452 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.001424/0.001424, allocations: 67.89 kB / 442.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1286, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003814/0.1325, allocations: 2.196 MB / 0.4907 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.1346, allocations: 1.154 MB / 0.4919 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.1348, allocations: 7.938 kB / 0.4919 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.1351, allocations: 67.59 kB / 0.4919 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.1354, allocations: 95.34 kB / 0.492 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000577/0.136, allocations: 187.3 kB / 0.4922 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005593/0.1366, allocations: 0.4899 MB / 0.4927 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.551e-05/0.1367, allocations: 65.02 kB / 0.4927 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002885/0.137, allocations: 171.2 kB / 0.4929 GB, free: 7.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.1373, allocations: 199 kB / 0.4931 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.657e-05/0.1374, allocations: 12 kB / 0.4931 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00058/0.138, allocations: 323.5 kB / 0.4934 GB, free: 6.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.1381, allocations: 111.5 kB / 0.4935 GB, free: 6.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.1383, allocations: 182.8 kB / 0.4937 GB, free: 6.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008288/0.1392, allocations: 0.5838 MB / 0.4943 GB, free: 5.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1392, allocations: 0 / 0.4943 GB, free: 5.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.115e-06/0.1392, allocations: 0 / 0.4943 GB, free: 5.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.672e-05/0.1393, allocations: 0 / 0.4943 GB, free: 5.902 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001444/0.1407, allocations: 0.756 MB / 0.495 GB, free: 5.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.1408, allocations: 11.89 kB / 0.495 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.1409, allocations: 44.38 kB / 0.4951 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.1413, allocations: 299.5 kB / 0.4953 GB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/0.1414, allocations: 37.36 kB / 0.4954 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.795e-05/0.1414, allocations: 48.12 kB / 0.4954 GB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.1425, allocations: 0.6597 MB / 0.4961 GB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.1425, allocations: 0 / 0.4961 GB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.418e-05/0.1426, allocations: 20 kB / 0.4961 GB, free: 3.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.112e-05/0.1426, allocations: 21 kB / 0.4961 GB, free: 3.914 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008958/0.1435, allocations: 487.5 kB / 0.4966 GB, free: 3.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.1456, allocations: 1.507 MB / 0.498 GB, free: 1.867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005853/0.1462, allocations: 303.5 kB / 0.4983 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/0.1466, allocations: 142.5 kB / 0.4985 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.742e-05/0.1467, allocations: 19.91 kB / 0.4985 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.1467, allocations: 34.56 kB / 0.4985 GB, free: 1.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 3.387e-06/0.1467, allocations: 3.984 kB / 0.4985 GB, free: 1.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001233/0.1479, allocations: 0.496 MB / 0.499 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.148, allocations: 110.8 kB / 0.4991 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006091/0.1486, allocations: 0.5329 MB / 0.4996 GB, free: 148 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.1487, allocations: 29.7 kB / 0.4997 GB, free: 112 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.1489, allocations: 228 kB / 0.4999 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.623e-05/0.1489, allocations: 78.91 kB / 0.5 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.1491, allocations: 73.89 kB / 0.5 GB, free: 15.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1492, allocations: 366.7 kB / 0.5004 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.1496, allocations: 156 kB / 0.5005 GB, free: 15.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/0.1501, allocations: 275.8 kB / 0.5008 GB, free: 14.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008067/0.1509, allocations: 446.9 kB / 0.5012 GB, free: 14.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.1509, allocations: 8 kB / 0.5012 GB, free: 14.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009969/0.1519, allocations: 0.4917 MB / 0.5017 GB, free: 13.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.1519, allocations: 11.98 kB / 0.5017 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.002e-05/0.152, allocations: 36 kB / 0.5017 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.152, allocations: 4 kB / 0.5018 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.1523, allocations: 51.83 kB / 0.5018 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.1523, allocations: 7.938 kB / 0.5018 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.1526, allocations: 79.47 kB / 0.5019 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.585e-05/0.1527, allocations: 20 kB / 0.5019 GB, free: 13.68 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,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 (33): * Single equations (assignments): 21 * 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.0002412/0.1529, allocations: 209.6 kB / 0.5021 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.1531, allocations: 43.44 kB / 0.5021 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008573/0.1539, allocations: 441.1 kB / 0.5026 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1539, allocations: 3.938 kB / 0.5026 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.938e-05/0.154, allocations: 39.98 kB / 0.5026 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.1541, allocations: 120.6 kB / 0.5027 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.407e-05/0.1542, allocations: 15.92 kB / 0.5027 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/0.1545, allocations: 11.98 kB / 0.5027 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.1546, allocations: 31.84 kB / 0.5028 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009111/0.1556, allocations: 0.5811 MB / 0.5033 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008849/0.1564, allocations: 0.6724 MB / 0.504 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003427/0.1568, allocations: 147.8 kB / 0.5041 GB, free: 11.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000426/0.1572, allocations: 399 kB / 0.5045 GB, free: 10.94 MB / 398.1 MB Notification: Performance of Backend: time 6.71e-07/0.1572, allocations: 0 / 0.5045 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.1587, allocations: 0.6713 MB / 0.5052 GB, free: 10.19 MB / 398.1 MB Notification: Performance of SimCode: time 0.001738/0.1604, allocations: 1.562 MB / 0.5067 GB, free: 8.496 MB / 398.1 MB Notification: Performance of Templates: time 0.01603/0.1765, allocations: 9.266 MB / 0.5158 GB, free: 15.24 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_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_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches