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.00135/0.00135, allocations: 105 kB / 17.21 MB, free: 6.273 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.001272/0.001272, allocations: 194 kB / 18.12 MB, free: 5.363 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.412/1.412, allocations: 222.9 MB / 241.8 MB, free: 15.42 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.2452/0.2452, allocations: 44.17 MB / 336.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 68.11 kB / 407.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1272, allocations: 60.83 MB / 468.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003792/0.1311, allocations: 2.249 MB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.1329, allocations: 1.126 MB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.652e-05/0.133, allocations: 0 / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.1333, allocations: 63.7 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.1335, allocations: 95.42 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.134, allocations: 143.6 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005795/0.1346, allocations: 0.5912 MB / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.613e-05/0.1347, allocations: 57.06 kB / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.1349, allocations: 171 kB / 473 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.1352, allocations: 199 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.1352, allocations: 12 kB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004907/0.1357, allocations: 319.5 kB / 473.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.1358, allocations: 107.4 kB / 473.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001833/0.136, allocations: 178.8 kB / 473.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007311/0.1368, allocations: 0.5802 MB / 474.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1368, allocations: 0 / 474.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1368, allocations: 0 / 474.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1368, allocations: 0 / 474.4 MB, free: 8.902 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.001261/0.1381, allocations: 0.7526 MB / 475.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1381, allocations: 11.97 kB / 475.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.874e-05/0.1382, allocations: 48.38 kB / 475.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.1386, allocations: 300.1 kB / 475.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.1386, allocations: 37.36 kB / 475.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.065e-05/0.1387, allocations: 44.12 kB / 475.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.1397, allocations: 0.6674 MB / 476.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1397, allocations: 0 / 476.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.951e-05/0.1398, allocations: 16 kB / 476.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-05/0.1398, allocations: 32.97 kB / 476.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000895/0.1407, allocations: 479.5 kB / 476.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.1429, allocations: 1.511 MB / 478.3 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006787/0.1436, allocations: 295.5 kB / 478.6 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003485/0.144, allocations: 158.4 kB / 478.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.37e-05/0.1441, allocations: 7.984 kB / 478.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/0.1441, allocations: 42.55 kB / 478.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.884e-06/0.1441, allocations: 0 / 478.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001316/0.1454, allocations: 497 kB / 479.3 MB, free: 3.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/0.1455, allocations: 110.8 kB / 479.4 MB, free: 3.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006702/0.1462, allocations: 0.5447 MB / 479.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.1463, allocations: 25.7 kB / 479.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.1465, allocations: 231.9 kB / 480.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.9e-05/0.1465, allocations: 67 kB / 480.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.1467, allocations: 86.03 kB / 480.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1469, allocations: 354.8 kB / 480.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.1473, allocations: 156.1 kB / 480.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004568/0.1477, allocations: 271.8 kB / 481.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008242/0.1485, allocations: 457.5 kB / 481.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1486, allocations: 0 / 481.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001028/0.1496, allocations: 0.5003 MB / 482 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.1496, allocations: 4 kB / 482 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.465e-05/0.1497, allocations: 43.98 kB / 482.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.1498, allocations: 7.938 kB / 482.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.15, allocations: 48.42 kB / 482.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.15, allocations: 7.938 kB / 482.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/0.1504, allocations: 71.25 kB / 482.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/0.1504, allocations: 24 kB / 482.2 MB, free: 0.6797 MB / 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.0002665/0.1507, allocations: 209.6 kB / 482.4 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.1508, allocations: 39.53 kB / 482.5 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008948/0.1517, allocations: 442.8 kB / 482.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.1517, allocations: 15.86 kB / 482.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1518, allocations: 4 kB / 482.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1518, allocations: 0 / 482.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005987/0.1524, allocations: 393.2 kB / 483.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.517e-05/0.1524, allocations: 35.98 kB / 483.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.1526, allocations: 27.97 kB / 483.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.1526, allocations: 4 kB / 483.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.1526, allocations: 12 kB / 483.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.1527, allocations: 3.938 kB / 483.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1527, allocations: 0 / 483.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008785/0.1535, allocations: 0.6032 MB / 484 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.1537, allocations: 128.6 kB / 484.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.782e-05/0.1538, allocations: 3.984 kB / 484.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.154, allocations: 27.92 kB / 484.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.811e-05/0.1542, allocations: 23.97 kB / 484.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.1542, allocations: 8 kB / 484.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004698/0.1547, allocations: 403 kB / 484.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1547, allocations: 0 / 484.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006786/0.1554, allocations: 131.8 kB / 484.7 MB, free: 14.1 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.0004133/0.1558, allocations: 151.3 kB / 484.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.1569, allocations: 0.6727 MB / 485.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1569, allocations: 0 / 485.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006318/0.1576, allocations: 480.2 kB / 486 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007729/0.1584, allocations: 117.6 kB / 486.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.1602, allocations: 1.013 MB / 487.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/0.1608, allocations: 0.8662 MB / 488 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002246/0.161, allocations: 95.27 kB / 488.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/0.1611, allocations: 27.44 kB / 488.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1611, allocations: 0 / 488.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of Templates: time 0.01535/0.1764, allocations: 8.09 MB / 496.2 MB, free: 2.504 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/jenkins/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/jenkins/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