Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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_turbulent,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.|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_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,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.|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_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009255/0.0009254, allocations: 101.8 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001236/0.001236, allocations: 191.2 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.7 MB / 246.4 MB, free: 9.812 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2337/0.2337, allocations: 46.19 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002776/0.0002776, allocations: 4 kB / 418.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1513, allocations: 63.56 MB / 482.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002632/0.154, allocations: 1.69 MB / 484.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.1559, allocations: 1.06 MB / 485.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.156, allocations: 4 kB / 485.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.1563, allocations: 39.73 kB / 485.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.1565, allocations: 71.59 kB / 485.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.157, allocations: 147 kB / 485.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003953/0.1574, allocations: 362.5 kB / 485.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.648e-05/0.1575, allocations: 36.72 kB / 485.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.1577, allocations: 115.4 kB / 485.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.1579, allocations: 139.4 kB / 486.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.1579, allocations: 8 kB / 486.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003664/0.1583, allocations: 191.8 kB / 486.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.545e-05/0.1584, allocations: 75.66 kB / 486.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.759e-05/0.1584, allocations: 61.58 kB / 486.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.1588, allocations: 279.4 kB / 486.7 MB, free: 228 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1588, allocations: 0 / 486.7 MB, free: 228 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1588, allocations: 4 kB / 486.7 MB, free: 224 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1588, allocations: 0 / 486.7 MB, free: 224 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001016/0.1599, allocations: 0.6001 MB / 487.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.1599, allocations: 8.031 kB / 487.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005591/0.1605, allocations: 75.58 kB / 487.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.1608, allocations: 259 kB / 487.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.1609, allocations: 24.56 kB / 487.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.1609, allocations: 24 kB / 487.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009763/0.1619, allocations: 445.8 kB / 488.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1619, allocations: 4 kB / 488.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/0.1619, allocations: 12 kB / 488.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.5e-05/0.162, allocations: 20.55 kB / 488.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006895/0.1627, allocations: 345.9 kB / 488.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.1644, allocations: 1.089 MB / 489.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00053/0.165, allocations: 259.7 kB / 489.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.1653, allocations: 122.4 kB / 489.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.967e-05/0.1653, allocations: 11.94 kB / 489.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.1653, allocations: 38.56 kB / 490 MB, free: 12.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.1654, allocations: 0 / 490 MB, free: 12.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001077/0.1664, allocations: 393.1 kB / 490.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.242e-05/0.1665, allocations: 110.8 kB / 490.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005753/0.1671, allocations: 397.5 kB / 490.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/0.1672, allocations: 33.7 kB / 490.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.1674, allocations: 195.7 kB / 491.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/0.1674, allocations: 47.36 kB / 491.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.554e-05/0.1674, allocations: 4 kB / 491.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.1676, allocations: 342.8 kB / 491.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/0.168, allocations: 132.1 kB / 491.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005572/0.1686, allocations: 249.6 kB / 491.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003957/0.169, allocations: 163.8 kB / 492 MB, free: 10.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.169, allocations: 7.938 kB / 492 MB, free: 10.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009268/0.1699, allocations: 421.2 kB / 492.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.17, allocations: 11.94 kB / 492.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-05/0.17, allocations: 24 kB / 492.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.142e-05/0.1701, allocations: 4 kB / 492.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.1704, allocations: 55.89 kB / 492.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.1704, allocations: 4 kB / 492.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/0.1707, allocations: 67.5 kB / 492.6 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.1708, allocations: 16 kB / 492.6 MB, free: 9.957 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: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.000267/0.171, allocations: 184.6 kB / 492.8 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.1711, allocations: 27.81 kB / 492.8 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007639/0.1719, allocations: 304.2 kB / 493.1 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.1719, allocations: 4 kB / 493.1 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1719, allocations: 0 / 493.1 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.172, allocations: 0 / 493.1 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005475/0.1725, allocations: 305.5 kB / 493.4 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.749e-05/0.1726, allocations: 23.95 kB / 493.4 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.1727, allocations: 31.97 kB / 493.5 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1727, allocations: 0 / 493.5 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.1728, allocations: 11.98 kB / 493.5 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1728, allocations: 0 / 493.5 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1728, allocations: 4 kB / 493.5 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008877/0.1737, allocations: 0.5287 MB / 494 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.1739, allocations: 112.7 kB / 494.1 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.1739, allocations: 8 kB / 494.1 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.1742, allocations: 23.98 kB / 494.1 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/0.1742, allocations: 15.98 kB / 494.2 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.1743, allocations: 11.98 kB / 494.2 MB, free: 8.281 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003096/0.1746, allocations: 287.1 kB / 494.5 MB, free: 8.004 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1746, allocations: 0 / 494.5 MB, free: 8.004 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006073/0.1752, allocations: 99.92 kB / 494.5 MB, free: 7.906 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.000323/0.1755, allocations: 151.1 kB / 494.7 MB, free: 7.746 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008162/0.1764, allocations: 450.8 kB / 495.1 MB, free: 7.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.1764, allocations: 0 / 495.1 MB, free: 7.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005207/0.1769, allocations: 286.3 kB / 495.4 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006609/0.1776, allocations: 77.69 kB / 495.5 MB, free: 6.879 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.1788, allocations: 0.6861 MB / 496.2 MB, free: 6.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.1794, allocations: 0.795 MB / 497 MB, free: 5.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001942/0.1796, allocations: 74.89 kB / 497 MB, free: 5.266 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.292e-05/0.1797, allocations: 19.44 kB / 497.1 MB, free: 5.246 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1797, allocations: 0 / 497.1 MB, free: 5.246 MB / 366.1 MB Notification: Performance of Templates: time 0.0115/0.1912, allocations: 5.252 MB / 0.4905 GB, free: 72 kB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches