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.001168/0.001168, allocations: 95.2 kB / 16.99 MB, free: 5.941 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.00138/0.00138, allocations: 181.6 kB / 17.87 MB, free: 5.609 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.392/1.392, allocations: 223.2 MB / 241.8 MB, free: 384 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2033/0.2033, allocations: 44.23 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003444, allocations: 8 kB / 409.6 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1487, allocations: 61.93 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002759/0.1515, allocations: 1.778 MB / 473.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.1535, allocations: 0.9904 MB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.1536, allocations: 4 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.1539, allocations: 47.72 kB / 474.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.1541, allocations: 79.78 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004549/0.1545, allocations: 143.6 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004204/0.155, allocations: 331.1 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1551, allocations: 57.05 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.1554, allocations: 151.3 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.1556, allocations: 167.3 kB / 475.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/0.1557, allocations: 16 kB / 475.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005257/0.1562, allocations: 323.6 kB / 475.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.891e-05/0.1563, allocations: 83.64 kB / 475.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.458e-05/0.1564, allocations: 93.45 kB / 475.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004412/0.1569, allocations: 367.3 kB / 476.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1569, allocations: 0 / 476.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1569, allocations: 0 / 476.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1569, allocations: 0 / 476.1 MB, free: 9.109 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.001348/0.1583, allocations: 0.6901 MB / 476.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1583, allocations: 8.031 kB / 476.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.1585, allocations: 51.34 kB / 476.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.1589, allocations: 306.8 kB / 477.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.159, allocations: 33 kB / 477.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.275e-05/0.159, allocations: 44 kB / 477.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.16, allocations: 0.6636 MB / 477.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1601, allocations: 3.938 kB / 477.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.356e-05/0.1601, allocations: 19.98 kB / 477.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001138/0.1602, allocations: 25 kB / 477.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009393/0.1612, allocations: 0.4956 MB / 478.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/0.1633, allocations: 1.527 MB / 479.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005791/0.1639, allocations: 315.5 kB / 480.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.346e-05/0.1639, allocations: 15.94 kB / 480.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.164, allocations: 46.48 kB / 480.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.004e-06/0.164, allocations: 0 / 480.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001573/0.1656, allocations: 0.7523 MB / 481.1 MB, free: 3.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.789e-05/0.1657, allocations: 106.8 kB / 481.2 MB, free: 3.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008913/0.1666, allocations: 0.533 MB / 481.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.1666, allocations: 25.7 kB / 481.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.1668, allocations: 232 kB / 481.9 MB, free: 2.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.997e-05/0.1669, allocations: 71.03 kB / 482 MB, free: 2.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-05/0.167, allocations: 4 kB / 482 MB, free: 2.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003383/0.1673, allocations: 358.8 kB / 482.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.1677, allocations: 168.1 kB / 482.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/0.1681, allocations: 283.8 kB / 482.8 MB, free: 2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/0.1685, allocations: 203.8 kB / 483 MB, free: 1.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1685, allocations: 0 / 483 MB, free: 1.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009593/0.1695, allocations: 0.5183 MB / 483.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.1695, allocations: 8 kB / 483.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.422e-05/0.1696, allocations: 39.97 kB / 483.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.1697, allocations: 8 kB / 483.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.1699, allocations: 52.08 kB / 483.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.1699, allocations: 8 kB / 483.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/0.1703, allocations: 79.19 kB / 483.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.1703, allocations: 24 kB / 483.7 MB, free: 1.062 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002925/0.1706, allocations: 209.6 kB / 483.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.1707, allocations: 47.39 kB / 484 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.1717, allocations: 464.9 kB / 484.4 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.1718, allocations: 7.984 kB / 484.4 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.1718, allocations: 4 kB / 484.5 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.1718, allocations: 7.938 kB / 484.5 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006705/0.1725, allocations: 377.3 kB / 484.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.179e-05/0.1725, allocations: 39.95 kB / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.1727, allocations: 35.91 kB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1727, allocations: 4 kB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.1728, allocations: 15.95 kB / 484.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.1728, allocations: 7.922 kB / 484.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1728, allocations: 4 kB / 484.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.1738, allocations: 0.6475 MB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.174, allocations: 128.5 kB / 485.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.032e-05/0.1741, allocations: 8 kB / 485.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.1744, allocations: 23.97 kB / 485.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.668e-05/0.1745, allocations: 31.86 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.1745, allocations: 8 kB / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004946/0.175, allocations: 391 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.175, allocations: 4 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000638/0.1757, allocations: 135.9 kB / 486.3 MB, free: 14.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000361/0.176, allocations: 143.2 kB / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001694/0.1777, allocations: 0.6897 MB / 487.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1778, allocations: 0 / 487.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005697/0.1783, allocations: 497 kB / 487.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005829/0.1789, allocations: 113.9 kB / 487.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.1811, allocations: 0.9795 MB / 488.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000797/0.1819, allocations: 0.8701 MB / 489.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002232/0.1821, allocations: 95.27 kB / 489.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.533e-05/0.1822, allocations: 27.44 kB / 489.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of SimCode: time 3.697e-06/0.1822, allocations: 0 / 489.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of Templates: time 0.01477/0.197, allocations: 7.661 MB / 497.4 MB, free: 3.219 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","../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