Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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_overall,tolerance=1e-05,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_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,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_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009747/0.0009747, allocations: 94.95 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009452/0.0009455, allocations: 203.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.7 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2197/0.2197, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003232/0.0003232, allocations: 8.375 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1462, allocations: 63.57 MB / 483.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.00274/0.149, allocations: 1.969 MB / 485.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003104/0.1521, allocations: 2.134 MB / 487.2 MB, free: 0 / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.651e-05/0.1523, allocations: 112 / 487.2 MB, free: 16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.1525, allocations: 75.58 kB / 487.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.1528, allocations: 95.42 kB / 487.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009331/0.1537, allocations: 394.3 kB / 487.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006344/0.1544, allocations: 0.6146 MB / 488.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1545, allocations: 65.05 kB / 488.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002843/0.1548, allocations: 175 kB / 488.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.1551, allocations: 222.8 kB / 488.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.1551, allocations: 8 kB / 488.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000941/0.1561, allocations: 0.6864 MB / 489.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.1562, allocations: 103.5 kB / 489.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.1564, allocations: 232.2 kB / 489.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008793/0.1573, allocations: 0.8295 MB / 490.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1573, allocations: 4 kB / 490.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1573, allocations: 0 / 490.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.1573, allocations: 0 / 490.7 MB, free: 12.5 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001166/0.1585, allocations: 0.7645 MB / 491.5 MB, free: 11.69 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1585, allocations: 8.875 kB / 491.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004164/0.159, allocations: 108.1 kB / 491.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.1594, allocations: 316 kB / 491.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.501e-05/0.1594, allocations: 37.69 kB / 491.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.858e-05/0.1595, allocations: 56.12 kB / 492 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.1607, allocations: 0.7931 MB / 492.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.1607, allocations: 0 / 492.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/0.1608, allocations: 20 kB / 492.8 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.871e-05/0.1608, allocations: 25.31 kB / 492.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.1618, allocations: 0.5749 MB / 493.4 MB, free: 9.707 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002156/0.164, allocations: 1.672 MB / 495.1 MB, free: 7.969 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000582/0.1646, allocations: 319.5 kB / 495.4 MB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003639/0.165, allocations: 164.7 kB / 495.5 MB, free: 7.461 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.335e-05/0.165, allocations: 11.98 kB / 495.5 MB, free: 7.449 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.1651, allocations: 34.56 kB / 495.6 MB, free: 7.406 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.1651, allocations: 4 kB / 495.6 MB, free: 7.402 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001291/0.1664, allocations: 0.5399 MB / 496.1 MB, free: 6.855 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.354e-05/0.1665, allocations: 106.8 kB / 496.2 MB, free: 6.727 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007416/0.1672, allocations: 0.6392 MB / 496.9 MB, free: 6.078 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.1673, allocations: 29.7 kB / 496.9 MB, free: 6.043 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.1675, allocations: 299.3 kB / 497.2 MB, free: 5.746 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.759e-05/0.1676, allocations: 71.08 kB / 497.3 MB, free: 5.676 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-05/0.1677, allocations: 61.72 kB / 497.3 MB, free: 5.609 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1678, allocations: 362.8 kB / 497.7 MB, free: 5.246 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004365/0.1683, allocations: 200.9 kB / 497.9 MB, free: 5.051 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/0.1689, allocations: 477.4 kB / 498.3 MB, free: 4.457 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.17, allocations: 0.7002 MB / 499 MB, free: 3.629 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.17, allocations: 4 kB / 499 MB, free: 3.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001254/0.1713, allocations: 0.7112 MB / 499.7 MB, free: 2.906 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.1713, allocations: 16.72 kB / 499.8 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001293/0.1714, allocations: 47.98 kB / 499.8 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.1715, allocations: 16 kB / 499.8 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.1718, allocations: 79.83 kB / 499.9 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/0.1718, allocations: 19.92 kB / 499.9 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004153/0.1722, allocations: 106.9 kB / 0.4883 GB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.367e-05/0.1723, allocations: 36 kB / 0.4883 GB, free: 2.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,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 (57): * Single equations (assignments): 45 * 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.0002796/0.1726, allocations: 261.4 kB / 0.4886 GB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.1727, allocations: 51.36 kB / 0.4886 GB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009448/0.1736, allocations: 480.4 kB / 0.4891 GB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.1737, allocations: 7.984 kB / 0.4891 GB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1737, allocations: 0 / 0.4891 GB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1737, allocations: 4 kB / 0.4891 GB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005767/0.1743, allocations: 409.3 kB / 0.4895 GB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.035e-05/0.1743, allocations: 39.98 kB / 0.4895 GB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.1745, allocations: 31.97 kB / 0.4896 GB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1745, allocations: 7.875 kB / 0.4896 GB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.1745, allocations: 12 kB / 0.4896 GB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.161e-05/0.1746, allocations: 4 kB / 0.4896 GB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1746, allocations: 0 / 0.4896 GB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009563/0.1755, allocations: 0.6449 MB / 0.4902 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.1757, allocations: 132.5 kB / 0.4903 GB, free: 448 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.411e-05/0.1757, allocations: 3.938 kB / 0.4903 GB, free: 444 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/0.1761, allocations: 31.98 kB / 0.4904 GB, free: 412 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.147e-05/0.1762, allocations: 23.97 kB / 0.4904 GB, free: 388 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.1762, allocations: 15.94 kB / 0.4904 GB, free: 372 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004863/0.1767, allocations: 454.7 kB / 0.4909 GB, free: 15.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1767, allocations: 3.938 kB / 0.4909 GB, free: 15.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007696/0.1775, allocations: 187.8 kB / 0.491 GB, free: 15.73 MB / 382.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.0004338/0.1779, allocations: 231.1 kB / 0.4913 GB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.1793, allocations: 0.7833 MB / 0.492 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1794, allocations: 4 kB / 0.492 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005893/0.18, allocations: 491 kB / 0.4925 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000791/0.1808, allocations: 122.3 kB / 0.4926 GB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.1826, allocations: 1.152 MB / 0.4937 GB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/0.1831, allocations: 0.8935 MB / 0.4946 GB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003147/0.1835, allocations: 132.4 kB / 0.4947 GB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.452e-05/0.1835, allocations: 35.42 kB / 0.4948 GB, free: 11.69 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1835, allocations: 0 / 0.4948 GB, free: 11.69 MB / 382.1 MB Notification: Performance of Templates: time 0.01803/0.2016, allocations: 10.05 MB / 0.5046 GB, free: 1.75 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches