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.001107/0.001107, allocations: 105.9 kB / 18.3 MB, free: 4.887 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.001151/0.001151, allocations: 195.5 kB / 19.23 MB, free: 3.961 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.354/1.354, allocations: 222.9 MB / 242.9 MB, free: 15.23 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.2102/0.2102, allocations: 44.19 MB / 337.3 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 63.05 kB / 409.1 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1103, allocations: 60.82 MB / 470 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.004088/0.1145, allocations: 2.199 MB / 472.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.1166, allocations: 1.114 MB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.1168, allocations: 0 / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003519/0.1172, allocations: 67.58 kB / 473.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003605/0.1176, allocations: 103.3 kB / 473.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006513/0.1183, allocations: 171.4 kB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000626/0.1189, allocations: 0.4937 MB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.119, allocations: 57.05 kB / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003384/0.1194, allocations: 175.1 kB / 474.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003538/0.1197, allocations: 203 kB / 474.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.819e-05/0.1198, allocations: 15.94 kB / 474.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005892/0.1204, allocations: 323.5 kB / 474.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.1206, allocations: 99.52 kB / 474.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002649/0.1208, allocations: 182.8 kB / 475.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008152/0.1217, allocations: 0.5764 MB / 475.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1217, allocations: 0 / 475.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1217, allocations: 4 kB / 475.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.1217, allocations: 0 / 475.7 MB, free: 8.566 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.001463/0.1232, allocations: 0.7487 MB / 476.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1232, allocations: 12.03 kB / 476.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.1233, allocations: 44.38 kB / 476.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004508/0.1238, allocations: 299.5 kB / 476.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.1238, allocations: 45.31 kB / 476.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.428e-05/0.1239, allocations: 44.12 kB / 476.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.125, allocations: 0.6519 MB / 477.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.125, allocations: 0 / 477.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.233e-05/0.1251, allocations: 16 kB / 477.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.293e-05/0.1251, allocations: 28.98 kB / 477.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009231/0.126, allocations: 483.5 kB / 478.1 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/0.1283, allocations: 1.515 MB / 479.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006215/0.1289, allocations: 303.5 kB / 479.9 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003458/0.1293, allocations: 150.4 kB / 480 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.966e-05/0.1294, allocations: 8 kB / 480 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.1294, allocations: 38.56 kB / 480.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 4.258e-06/0.1294, allocations: 0 / 480.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001318/0.1307, allocations: 0.4929 MB / 480.6 MB, free: 3.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.1308, allocations: 111.1 kB / 480.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007065/0.1315, allocations: 0.5408 MB / 481.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.494e-05/0.1316, allocations: 33.7 kB / 481.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.1318, allocations: 223.9 kB / 481.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.862e-05/0.1319, allocations: 70.98 kB / 481.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.132, allocations: 81.97 kB / 481.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1322, allocations: 350.8 kB / 481.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.1326, allocations: 164.1 kB / 482.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/0.133, allocations: 275.8 kB / 482.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008298/0.1339, allocations: 448.7 kB / 482.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1339, allocations: 4 kB / 482.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001073/0.135, allocations: 0.4968 MB / 483.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.135, allocations: 10.81 kB / 483.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-05/0.1351, allocations: 39.98 kB / 483.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.1351, allocations: 11.94 kB / 483.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.1353, allocations: 43.83 kB / 483.4 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.1354, allocations: 11.98 kB / 483.4 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/0.1358, allocations: 71.42 kB / 483.5 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.475e-05/0.1358, allocations: 31.92 kB / 483.5 MB, free: 352 kB / 350.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.0002677/0.1361, allocations: 209.6 kB / 483.7 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.1362, allocations: 43.47 kB / 483.8 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009108/0.1372, allocations: 437.3 kB / 484.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.1372, allocations: 11.94 kB / 484.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1372, allocations: 0 / 484.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1372, allocations: 4 kB / 484.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006156/0.1378, allocations: 385.2 kB / 484.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.05e-05/0.1379, allocations: 35.98 kB / 484.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.1381, allocations: 23.97 kB / 484.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.1381, allocations: 4 kB / 484.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.1381, allocations: 15.98 kB / 484.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1381, allocations: 7.938 kB / 484.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.1381, allocations: 3.938 kB / 484.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009311/0.1391, allocations: 0.6058 MB / 485.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.1392, allocations: 124.6 kB / 485.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.249e-05/0.1393, allocations: 4 kB / 485.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/0.1396, allocations: 27.91 kB / 485.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.929e-05/0.1397, allocations: 19.98 kB / 485.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.1398, allocations: 15.98 kB / 485.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004559/0.1402, allocations: 395 kB / 485.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1402, allocations: 0 / 485.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006131/0.1409, allocations: 131.8 kB / 486 MB, free: 13.78 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.0003248/0.1412, allocations: 159.1 kB / 486.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.1423, allocations: 0.6951 MB / 486.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1423, allocations: 0 / 486.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005256/0.1428, allocations: 481.3 kB / 487.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007831/0.1436, allocations: 113.9 kB / 487.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.1453, allocations: 0.9305 MB / 488.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.1458, allocations: 0.8581 MB / 489.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.1459, allocations: 35.44 kB / 489.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1459, allocations: 0 / 489.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of Templates: time 0.01319/0.1591, allocations: 8.233 MB / 497.5 MB, free: 2.125 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 -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