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.001069/0.001068, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.00102/0.00102, allocations: 188 kB / 19.34 MB, free: 3.641 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.381/1.381, allocations: 222.9 MB / 243 MB, free: 15.08 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.2001/0.2001, allocations: 44.17 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.67 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.127, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003289/0.1304, allocations: 2.202 MB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.132, allocations: 1.106 MB / 474 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.56e-05/0.1321, allocations: 4 kB / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.1323, allocations: 67.58 kB / 474.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.1325, allocations: 103.3 kB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004378/0.133, allocations: 183.3 kB / 474.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004573/0.1334, allocations: 0.4899 MB / 474.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.64e-05/0.1335, allocations: 53.06 kB / 474.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.1337, allocations: 175 kB / 475.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.134, allocations: 207 kB / 475.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.134, allocations: 12 kB / 475.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004484/0.1345, allocations: 327.5 kB / 475.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1346, allocations: 103.5 kB / 475.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.1347, allocations: 182.8 kB / 475.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005731/0.1353, allocations: 0.5761 MB / 476.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1353, allocations: 3.938 kB / 476.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1353, allocations: 0 / 476.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1354, allocations: 0 / 476.5 MB, free: 7.836 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.001092/0.1365, allocations: 0.7604 MB / 477.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.1365, allocations: 11.97 kB / 477.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.577e-05/0.1366, allocations: 48.38 kB / 477.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.137, allocations: 291.6 kB / 477.6 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.137, allocations: 37.38 kB / 477.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.919e-05/0.1371, allocations: 44.12 kB / 477.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009324/0.138, allocations: 0.6636 MB / 478.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.138, allocations: 0 / 478.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.077e-05/0.1381, allocations: 16 kB / 478.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.702e-05/0.1381, allocations: 28.98 kB / 478.4 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008264/0.1389, allocations: 483.5 kB / 478.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.1409, allocations: 1.511 MB / 480.4 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005235/0.1415, allocations: 299.5 kB / 480.7 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.1418, allocations: 150.4 kB / 480.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.361e-05/0.1418, allocations: 11.98 kB / 480.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.1419, allocations: 38.56 kB / 480.9 MB, free: 3.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.844e-06/0.1419, allocations: 0 / 480.9 MB, free: 3.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001134/0.143, allocations: 0.4892 MB / 481.3 MB, free: 2.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.1431, allocations: 110.8 kB / 481.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005475/0.1436, allocations: 0.5408 MB / 482 MB, free: 2.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.1437, allocations: 29.7 kB / 482 MB, free: 2.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.1438, allocations: 227.9 kB / 482.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.09e-05/0.1439, allocations: 70.98 kB / 482.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.144, allocations: 89.97 kB / 482.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1442, allocations: 350.8 kB / 482.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/0.1446, allocations: 160.1 kB / 482.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004053/0.145, allocations: 278.5 kB / 483.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007462/0.1457, allocations: 446.9 kB / 483.6 MB, free: 336 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1457, allocations: 0 / 483.6 MB, free: 336 kB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009565/0.1467, allocations: 0.4927 MB / 484.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1467, allocations: 10.03 kB / 484.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.057e-05/0.1468, allocations: 39.98 kB / 484.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1468, allocations: 15.88 kB / 484.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.147, allocations: 36.5 kB / 484.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.1471, allocations: 15.92 kB / 484.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/0.1474, allocations: 71.05 kB / 484.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.065e-05/0.1474, allocations: 23.98 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.0002064/0.1476, allocations: 213.6 kB / 484.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.1477, allocations: 43.47 kB / 484.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000818/0.1486, allocations: 445.1 kB / 485 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.1486, allocations: 7.938 kB / 485 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1486, allocations: 0 / 485 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1486, allocations: 4 kB / 485 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.1491, allocations: 389.2 kB / 485.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.839e-05/0.1492, allocations: 35.98 kB / 485.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.1494, allocations: 23.97 kB / 485.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.1494, allocations: 4 kB / 485.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.1494, allocations: 11.98 kB / 485.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1494, allocations: 11.94 kB / 485.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1494, allocations: 0 / 485.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008151/0.1502, allocations: 0.6032 MB / 486.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.1504, allocations: 128.5 kB / 486.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.871e-05/0.1504, allocations: 4 kB / 486.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.1508, allocations: 27.91 kB / 486.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.878e-05/0.1508, allocations: 19.98 kB / 486.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/0.1509, allocations: 15.98 kB / 486.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003943/0.1513, allocations: 395 kB / 486.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1513, allocations: 0 / 486.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005515/0.1518, allocations: 127.9 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.0002897/0.1521, allocations: 159 kB / 486.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.1532, allocations: 0.6688 MB / 487.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1532, allocations: 3.938 kB / 487.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005504/0.1537, allocations: 484.3 kB / 488.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007239/0.1545, allocations: 121.9 kB / 488.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.1561, allocations: 0.8937 MB / 489.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.1565, allocations: 0.8698 MB / 490 MB, free: 9.648 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002144/0.1567, allocations: 83.36 kB / 490 MB, free: 9.566 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.462e-05/0.1568, allocations: 31.42 kB / 490.1 MB, free: 9.535 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1568, allocations: 0 / 490.1 MB, free: 9.535 MB / 366.1 MB Notification: Performance of Templates: time 0.01368/0.1705, allocations: 8.524 MB / 498.6 MB, free: 1.133 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 gbode -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