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.001536/0.001536, allocations: 107.5 kB / 17.03 MB, free: 5.66 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.001617/0.001617, allocations: 190.9 kB / 17.96 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.564/1.564, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2284/0.2284, allocations: 43.52 MB / 314.7 MB, free: 480 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.001644/0.001645, allocations: 66.45 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1143, allocations: 57.79 MB / 442 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003384/0.1177, allocations: 2.191 MB / 444.2 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.1194, allocations: 1.154 MB / 445.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.1195, allocations: 4 kB / 445.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.1199, allocations: 71.58 kB / 445.4 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002781/0.1202, allocations: 95.36 kB / 445.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000533/0.1207, allocations: 179.3 kB / 445.7 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00042/0.1212, allocations: 0.49 MB / 446.2 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1213, allocations: 53.06 kB / 446.2 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.1215, allocations: 179 kB / 446.4 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.1217, allocations: 199 kB / 446.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.804e-05/0.1218, allocations: 16 kB / 446.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004041/0.1222, allocations: 323.5 kB / 446.9 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.752e-05/0.1223, allocations: 103.5 kB / 447 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.1225, allocations: 182.8 kB / 447.2 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005455/0.123, allocations: 0.58 MB / 447.8 MB, free: 292 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.123, allocations: 0 / 447.8 MB, free: 292 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.123, allocations: 0 / 447.8 MB, free: 292 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.1231, allocations: 0 / 447.8 MB, free: 292 kB / 318.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.001263/0.1243, allocations: 0.7605 MB / 448.5 MB, free: 15.47 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1244, allocations: 15.83 kB / 448.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.1245, allocations: 48.38 kB / 448.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.1249, allocations: 295.5 kB / 448.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.125, allocations: 37.36 kB / 448.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-05/0.125, allocations: 48.12 kB / 449 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.1261, allocations: 0.6558 MB / 449.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1261, allocations: 0 / 449.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.368e-05/0.1261, allocations: 20 kB / 449.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.485e-05/0.1262, allocations: 24.98 kB / 449.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000862/0.1271, allocations: 487.5 kB / 450.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00211/0.1292, allocations: 1.503 MB / 451.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005682/0.1298, allocations: 303.5 kB / 452 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/0.1301, allocations: 154.4 kB / 452.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.447e-05/0.1302, allocations: 11.98 kB / 452.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.1302, allocations: 34.56 kB / 452.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.1302, allocations: 0 / 452.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.001185/0.1314, allocations: 0.4981 MB / 452.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.1315, allocations: 110.8 kB / 452.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000591/0.1321, allocations: 0.5368 MB / 453.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.1321, allocations: 33.7 kB / 453.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.1323, allocations: 220 kB / 453.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.118e-05/0.1323, allocations: 78.92 kB / 453.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.1325, allocations: 81.94 kB / 453.7 MB, free: 10.1 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1326, allocations: 358.8 kB / 454 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003398/0.133, allocations: 156.1 kB / 454.2 MB, free: 9.586 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004179/0.1334, allocations: 271.8 kB / 454.5 MB, free: 9.266 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007439/0.1341, allocations: 454 kB / 454.9 MB, free: 8.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1342, allocations: 0 / 454.9 MB, free: 8.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009388/0.1351, allocations: 0.4887 MB / 455.4 MB, free: 8.273 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.1351, allocations: 8 kB / 455.4 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.856e-05/0.1352, allocations: 43.98 kB / 455.4 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.1352, allocations: 15.88 kB / 455.5 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.1355, allocations: 36.47 kB / 455.5 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.1355, allocations: 19.92 kB / 455.5 MB, free: 8.152 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.1358, allocations: 67.27 kB / 455.6 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.285e-05/0.1358, allocations: 23.98 kB / 455.6 MB, free: 8.062 MB / 334.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.0002247/0.1361, allocations: 209.6 kB / 455.8 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.1362, allocations: 39.44 kB / 455.8 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008217/0.137, allocations: 453 kB / 456.3 MB, free: 7.352 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/0.137, allocations: 11.94 kB / 456.3 MB, free: 7.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.137, allocations: 0 / 456.3 MB, free: 7.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.137, allocations: 4 kB / 456.3 MB, free: 7.336 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005656/0.1376, allocations: 381.3 kB / 456.7 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.65e-05/0.1377, allocations: 35.98 kB / 456.7 MB, free: 6.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.1378, allocations: 27.97 kB / 456.7 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1379, allocations: 0 / 456.7 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.1379, allocations: 11.98 kB / 456.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.1379, allocations: 11.92 kB / 456.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1379, allocations: 4 kB / 456.8 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008178/0.1387, allocations: 0.607 MB / 457.4 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.1389, allocations: 128.5 kB / 457.5 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/0.1389, allocations: 8 kB / 457.5 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/0.1392, allocations: 19.91 kB / 457.5 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/0.1393, allocations: 27.92 kB / 457.6 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.1394, allocations: 12 kB / 457.6 MB, free: 5.996 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004096/0.1398, allocations: 395 kB / 458 MB, free: 5.617 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1398, allocations: 0 / 458 MB, free: 5.617 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005498/0.1403, allocations: 135.8 kB / 458.1 MB, free: 5.484 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 (17): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.000288/0.1406, allocations: 167 kB / 458.2 MB, free: 5.312 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000931/0.1416, allocations: 0.6634 MB / 458.9 MB, free: 4.578 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1416, allocations: 1.062 kB / 458.9 MB, free: 4.578 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005096/0.1421, allocations: 484.2 kB / 459.4 MB, free: 4.031 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006562/0.1428, allocations: 121.9 kB / 459.5 MB, free: 3.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.1443, allocations: 0.8937 MB / 460.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005476/0.1449, allocations: 0.8659 MB / 461.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001768/0.145, allocations: 87.3 kB / 461.4 MB, free: 2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.1451, allocations: 35.42 kB / 461.4 MB, free: 1.965 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1451, allocations: 0 / 461.4 MB, free: 1.965 MB / 334.1 MB Notification: Performance of Templates: time 0.01423/0.1594, allocations: 8.503 MB / 469.9 MB, free: 9.504 MB / 350.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 -s cvode -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