Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001019/0.001019, allocations: 96.23 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009759/0.0009761, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2253/0.2253, allocations: 45.91 MB / 344 MB, free: 12.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002922/0.0002922, allocations: 4 kB / 417.9 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.154, allocations: 63.46 MB / 481.4 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.00293/0.157, allocations: 1.811 MB / 483.2 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.1587, allocations: 1.022 MB / 484.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.1589, allocations: 4 kB / 484.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.1592, allocations: 51.66 kB / 484.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.1594, allocations: 83.72 kB / 484.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.1599, allocations: 143.7 kB / 484.5 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004617/0.1604, allocations: 331.2 kB / 484.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1605, allocations: 57.05 kB / 484.9 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002799/0.1608, allocations: 147.4 kB / 485 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.161, allocations: 171.2 kB / 485.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.1611, allocations: 16 kB / 485.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004933/0.1616, allocations: 327.6 kB / 485.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.669e-05/0.1617, allocations: 87.7 kB / 485.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.55e-05/0.1618, allocations: 89.45 kB / 485.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004562/0.1623, allocations: 371.4 kB / 486.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1623, allocations: 3.938 kB / 486.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1623, allocations: 0 / 486.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.1623, allocations: 0 / 486.1 MB, free: 0.6914 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.001291/0.1636, allocations: 0.6823 MB / 486.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.1637, allocations: 12.03 kB / 486.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000436/0.1641, allocations: 95.3 kB / 486.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004612/0.1646, allocations: 298.8 kB / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.28e-05/0.1646, allocations: 36.98 kB / 487.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.986e-05/0.1647, allocations: 40 kB / 487.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.1658, allocations: 0.6636 MB / 487.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1658, allocations: 4 kB / 487.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.1658, allocations: 16 kB / 487.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.213e-05/0.1659, allocations: 29 kB / 487.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008678/0.1668, allocations: 0.4956 MB / 488.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.169, allocations: 1.535 MB / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/0.1696, allocations: 315.5 kB / 490.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-05/0.1696, allocations: 7.953 kB / 490.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.1697, allocations: 42.55 kB / 490.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 2.615e-06/0.1697, allocations: 4 kB / 490.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001422/0.1711, allocations: 0.7485 MB / 491.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.465e-05/0.1712, allocations: 114.8 kB / 491.2 MB, free: 11.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006018/0.1718, allocations: 0.5369 MB / 491.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.1719, allocations: 29.7 kB / 491.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.1721, allocations: 231.9 kB / 492 MB, free: 10.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.627e-05/0.1721, allocations: 63.02 kB / 492 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/0.1722, allocations: 4 kB / 492.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.1724, allocations: 362.7 kB / 492.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.1727, allocations: 168.1 kB / 492.6 MB, free: 9.871 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004373/0.1732, allocations: 288.5 kB / 492.9 MB, free: 9.535 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004052/0.1736, allocations: 199.8 kB / 493 MB, free: 9.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1736, allocations: 0 / 493 MB, free: 9.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009938/0.1746, allocations: 0.5155 MB / 493.6 MB, free: 8.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.1746, allocations: 8 kB / 493.6 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.096e-05/0.1747, allocations: 47.98 kB / 493.6 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/0.1748, allocations: 8 kB / 493.6 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.175, allocations: 47.89 kB / 493.7 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.175, allocations: 7.938 kB / 493.7 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/0.1754, allocations: 87.19 kB / 493.8 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/0.1754, allocations: 24 kB / 493.8 MB, free: 8.594 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002397/0.1757, allocations: 213.6 kB / 494 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.1758, allocations: 43.44 kB / 494 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008824/0.1767, allocations: 460.9 kB / 494.5 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.1767, allocations: 15.92 kB / 494.5 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1767, allocations: 0 / 494.5 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1767, allocations: 0 / 494.5 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006138/0.1774, allocations: 389.3 kB / 494.9 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-05/0.1774, allocations: 35.97 kB / 494.9 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.1776, allocations: 31.97 kB / 495 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-06/0.1776, allocations: 4 kB / 495 MB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.1776, allocations: 12 kB / 495 MB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.1776, allocations: 3.984 kB / 495 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1776, allocations: 3.938 kB / 495 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009423/0.1786, allocations: 0.6534 MB / 495.6 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.1788, allocations: 128.4 kB / 495.8 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.038e-05/0.1788, allocations: 8 kB / 495.8 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.1791, allocations: 27.97 kB / 495.8 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.803e-05/0.1792, allocations: 23.97 kB / 495.8 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.1793, allocations: 8 kB / 495.8 MB, free: 6.441 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004467/0.1797, allocations: 395 kB / 496.2 MB, free: 6.059 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1797, allocations: 0 / 496.2 MB, free: 6.059 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006115/0.1803, allocations: 131.9 kB / 496.3 MB, free: 5.93 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.0003322/0.1807, allocations: 151.1 kB / 496.5 MB, free: 5.773 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.1817, allocations: 0.696 MB / 497.2 MB, free: 5.004 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.1817, allocations: 4 kB / 497.2 MB, free: 5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005053/0.1822, allocations: 490.8 kB / 497.7 MB, free: 4.449 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005602/0.1828, allocations: 120.5 kB / 497.8 MB, free: 4.336 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.1845, allocations: 0.9795 MB / 498.8 MB, free: 3.324 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.1849, allocations: 0.8743 MB / 499.6 MB, free: 2.422 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002133/0.1851, allocations: 91.33 kB / 499.7 MB, free: 2.328 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.1852, allocations: 27.44 kB / 499.7 MB, free: 2.301 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1852, allocations: 0 / 499.7 MB, free: 2.301 MB / 366.1 MB Notification: Performance of Templates: time 0.01319/0.1984, allocations: 7.663 MB / 0.4955 GB, free: 10.74 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches