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.001638/0.001638, allocations: 110.9 kB / 17.33 MB, free: 6.016 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.002008/0.002008, allocations: 193.3 kB / 18.25 MB, free: 5.105 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.415/1.415, allocations: 222.9 MB / 241.9 MB, free: 13.73 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.2178/0.2178, allocations: 44.18 MB / 336.2 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.16 kB / 407.9 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1304, allocations: 60.83 MB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003618/0.1341, allocations: 2.253 MB / 471 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.1358, allocations: 1.114 MB / 472.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.502e-05/0.1359, allocations: 0 / 472.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.1362, allocations: 63.66 kB / 472.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.1364, allocations: 83.5 kB / 472.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.1369, allocations: 155.6 kB / 472.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004913/0.1374, allocations: 0.4937 MB / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.365e-05/0.1375, allocations: 53.06 kB / 472.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.1377, allocations: 171.1 kB / 473.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.138, allocations: 214.9 kB / 473.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.138, allocations: 16 kB / 473.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004328/0.1385, allocations: 323.5 kB / 473.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.1386, allocations: 95.52 kB / 473.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.1387, allocations: 190.8 kB / 473.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006137/0.1394, allocations: 0.5764 MB / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1394, allocations: 0 / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1394, allocations: 4 kB / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1394, allocations: 0 / 474.5 MB, free: 8.891 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.001184/0.1406, allocations: 0.7487 MB / 475.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.1406, allocations: 12.03 kB / 475.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.247e-05/0.1407, allocations: 48.38 kB / 475.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.1411, allocations: 304.1 kB / 475.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/0.1411, allocations: 41.31 kB / 475.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-05/0.1412, allocations: 44.12 kB / 475.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.1423, allocations: 0.6519 MB / 476.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.1423, allocations: 7.984 kB / 476.4 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.068e-05/0.1423, allocations: 19.94 kB / 476.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.193e-05/0.1424, allocations: 28.98 kB / 476.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008816/0.1433, allocations: 483.5 kB / 476.9 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001962/0.1452, allocations: 1.511 MB / 478.4 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005616/0.1458, allocations: 303.5 kB / 478.7 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003274/0.1462, allocations: 150.4 kB / 478.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.996e-05/0.1462, allocations: 8 kB / 478.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.1462, allocations: 34.56 kB / 478.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.844e-06/0.1463, allocations: 0 / 478.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.00121/0.1475, allocations: 0.4994 MB / 479.4 MB, free: 3.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.1475, allocations: 110.8 kB / 479.5 MB, free: 3.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005561/0.1481, allocations: 0.5369 MB / 480 MB, free: 3.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.1481, allocations: 29.7 kB / 480 MB, free: 3.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.1483, allocations: 231.9 kB / 480.3 MB, free: 2.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.958e-05/0.1484, allocations: 67 kB / 480.3 MB, free: 2.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.1485, allocations: 81.97 kB / 480.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1486, allocations: 358.8 kB / 480.8 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003625/0.149, allocations: 156.1 kB / 480.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004229/0.1494, allocations: 267.8 kB / 481.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007992/0.1503, allocations: 454.8 kB / 481.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1503, allocations: 0 / 481.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009971/0.1513, allocations: 0.501 MB / 482.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.1513, allocations: 8 kB / 482.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.905e-05/0.1514, allocations: 39.98 kB / 482.2 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.1514, allocations: 11.94 kB / 482.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.1516, allocations: 43.89 kB / 482.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.1517, allocations: 8.375 kB / 482.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.152, allocations: 71.27 kB / 482.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.152, allocations: 23.98 kB / 482.3 MB, free: 0.6758 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.000218/0.1522, allocations: 209.6 kB / 482.5 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.1524, allocations: 43.45 kB / 482.6 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008683/0.1532, allocations: 453.1 kB / 483 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/0.1533, allocations: 7.938 kB / 483 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1533, allocations: 0 / 483 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.1533, allocations: 4 kB / 483 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005842/0.1539, allocations: 381.2 kB / 483.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.405e-05/0.1539, allocations: 39.98 kB / 483.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.1541, allocations: 27.97 kB / 483.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1541, allocations: 0 / 483.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.1542, allocations: 15.98 kB / 483.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.1542, allocations: 11.94 kB / 483.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1542, allocations: 3.938 kB / 483.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008548/0.155, allocations: 0.6075 MB / 484.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.1551, allocations: 120.6 kB / 484.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.941e-05/0.1552, allocations: 8 kB / 484.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.1555, allocations: 19.91 kB / 484.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.999e-05/0.1556, allocations: 19.98 kB / 484.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.1557, allocations: 19.98 kB / 484.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004691/0.1561, allocations: 391 kB / 484.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1561, allocations: 0 / 484.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005828/0.1567, allocations: 139.8 kB / 484.8 MB, free: 14.09 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.0003155/0.157, allocations: 159.1 kB / 485 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.1581, allocations: 0.6883 MB / 485.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1582, allocations: 0 / 485.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004976/0.1587, allocations: 476.4 kB / 486.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007122/0.1594, allocations: 125.8 kB / 486.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.161, allocations: 1.015 MB / 487.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.1614, allocations: 0.8659 MB / 488.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002055/0.1616, allocations: 87.27 kB / 488.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.861e-05/0.1617, allocations: 35.44 kB / 488.2 MB, free: 10.44 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1617, allocations: 0 / 488.2 MB, free: 10.44 MB / 366.1 MB Notification: Performance of Templates: time 0.01401/0.1757, allocations: 8.379 MB / 496.6 MB, free: 2.18 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