Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.00154/0.001541, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001767/0.001767, allocations: 182.9 kB / 19.32 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 243 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2213/0.2213, allocations: 44.16 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 60.06 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1229, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003652/0.1266, allocations: 2.203 MB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.1284, allocations: 1.11 MB / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.293e-05/0.1285, allocations: 4 kB / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.1288, allocations: 63.59 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.129, allocations: 99.34 kB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.1295, allocations: 171.4 kB / 474.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005159/0.13, allocations: 0.5015 MB / 474.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.856e-05/0.1301, allocations: 57.05 kB / 474.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.1304, allocations: 175 kB / 475.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.1307, allocations: 195 kB / 475.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.1307, allocations: 15.94 kB / 475.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004575/0.1312, allocations: 327.5 kB / 475.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.1313, allocations: 107.5 kB / 475.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.1315, allocations: 182.8 kB / 475.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006055/0.1321, allocations: 0.5761 MB / 476.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1321, allocations: 0 / 476.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1321, allocations: 0 / 476.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1321, allocations: 0 / 476.5 MB, free: 7.84 MB / 350.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.001138/0.1332, allocations: 0.7526 MB / 477.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.1333, allocations: 8.031 kB / 477.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.401e-05/0.1334, allocations: 52.38 kB / 477.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.1338, allocations: 299.5 kB / 477.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.1338, allocations: 33.38 kB / 477.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.1339, allocations: 48.12 kB / 477.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009546/0.1348, allocations: 0.6597 MB / 478.3 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1349, allocations: 0 / 478.3 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/0.1349, allocations: 23.98 kB / 478.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/0.135, allocations: 21 kB / 478.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008804/0.1358, allocations: 487.5 kB / 478.8 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.1379, allocations: 1.511 MB / 480.4 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005302/0.1384, allocations: 299.5 kB / 480.7 MB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/0.1387, allocations: 154.4 kB / 480.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.079e-05/0.1388, allocations: 11.97 kB / 480.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.1389, allocations: 38.56 kB / 480.9 MB, free: 3.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.874e-06/0.1389, allocations: 4 kB / 480.9 MB, free: 3.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001158/0.14, allocations: 499.5 kB / 481.3 MB, free: 2.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.1401, allocations: 110.8 kB / 481.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005566/0.1407, allocations: 0.5369 MB / 482 MB, free: 2.086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.1407, allocations: 33.7 kB / 482 MB, free: 2.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.1408, allocations: 227.9 kB / 482.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.579e-05/0.1409, allocations: 67.02 kB / 482.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.141, allocations: 77.97 kB / 482.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1412, allocations: 358.8 kB / 482.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.1415, allocations: 156.1 kB / 482.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.142, allocations: 279.8 kB / 483.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007886/0.1428, allocations: 450.9 kB / 483.6 MB, free: 340 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1428, allocations: 0 / 483.6 MB, free: 340 kB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009702/0.1437, allocations: 0.4944 MB / 484.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.1438, allocations: 11.94 kB / 484.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.926e-05/0.1439, allocations: 39.98 kB / 484.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.1439, allocations: 11.94 kB / 484.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.1441, allocations: 39.89 kB / 484.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1441, allocations: 8 kB / 484.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.1444, allocations: 75.47 kB / 484.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.1445, allocations: 23.94 kB / 484.3 MB, free: 15.62 MB / 366.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.0002106/0.1447, allocations: 213.6 kB / 484.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.1448, allocations: 39.52 kB / 484.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007875/0.1456, allocations: 441.1 kB / 485 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.1456, allocations: 7.938 kB / 485 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1456, allocations: 4 kB / 485 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1457, allocations: 8 kB / 485 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005279/0.1462, allocations: 397.2 kB / 485.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.887e-05/0.1463, allocations: 35.98 kB / 485.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.1464, allocations: 23.97 kB / 485.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1464, allocations: 0 / 485.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.1465, allocations: 12 kB / 485.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.1465, allocations: 7.938 kB / 485.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1465, allocations: 0 / 485.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008338/0.1473, allocations: 0.606 MB / 486.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.1475, allocations: 124.5 kB / 486.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.445e-05/0.1475, allocations: 8 kB / 486.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.1478, allocations: 23.92 kB / 486.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.023e-05/0.1479, allocations: 23.97 kB / 486.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.148, allocations: 12 kB / 486.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003896/0.1484, allocations: 395 kB / 486.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1484, allocations: 0 / 486.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005303/0.1489, allocations: 131.8 kB / 486.8 MB, free: 13.05 MB / 366.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.0002676/0.1492, allocations: 159.1 kB / 486.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009158/0.1501, allocations: 0.6718 MB / 487.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1501, allocations: 0 / 487.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005052/0.1506, allocations: 481.2 kB / 488.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006785/0.1513, allocations: 121.9 kB / 488.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.1528, allocations: 0.8937 MB / 489.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.1531, allocations: 0.8659 MB / 490 MB, free: 9.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001867/0.1533, allocations: 95.27 kB / 490 MB, free: 9.566 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/0.1534, allocations: 27.44 kB / 490.1 MB, free: 9.539 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1534, allocations: 0 / 490.1 MB, free: 9.539 MB / 366.1 MB Notification: Performance of Templates: time 0.0128/0.1662, allocations: 8.521 MB / 498.6 MB, free: 1.137 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches