Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.001329, allocations: 98.89 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00173/0.00173, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, 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.2159/0.2159, allocations: 45.9 MB / 344 MB, free: 12.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003047/0.0003048, allocations: 8 kB / 417.9 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.159, allocations: 63.47 MB / 481.4 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.00224/0.1612, allocations: 1.533 MB / 482.9 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.1624, allocations: 0.7525 MB / 483.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.044e-05/0.1625, allocations: 0 / 483.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.1627, allocations: 47.84 kB / 483.7 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.163, allocations: 63.77 kB / 483.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.1632, allocations: 63.83 kB / 483.9 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.1634, allocations: 167.6 kB / 484 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.802e-05/0.1635, allocations: 32.39 kB / 484.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.1637, allocations: 79.62 kB / 484.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.1638, allocations: 87.61 kB / 484.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.1639, allocations: 4 kB / 484.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/0.1641, allocations: 127.8 kB / 484.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.804e-05/0.1642, allocations: 55.75 kB / 484.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.333e-05/0.1643, allocations: 61.58 kB / 484.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.1645, allocations: 195.8 kB / 484.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1645, allocations: 0 / 484.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1645, allocations: 0 / 484.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1645, allocations: 0 / 484.7 MB, free: 2.121 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0007306/0.1653, allocations: 0.5106 MB / 485.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1653, allocations: 12.03 kB / 485.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.594e-05/0.1654, allocations: 27.62 kB / 485.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.1657, allocations: 242.6 kB / 485.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.1657, allocations: 16.56 kB / 485.5 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/0.1657, allocations: 20 kB / 485.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006009/0.1664, allocations: 381.2 kB / 485.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1664, allocations: 0 / 485.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.1664, allocations: 19.94 kB / 485.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.069e-05/0.1665, allocations: 24.64 kB / 485.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005862/0.167, allocations: 382.3 kB / 486.3 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.1684, allocations: 0.8543 MB / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004604/0.1689, allocations: 262.3 kB / 487.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.1689, allocations: 0 / 487.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.1689, allocations: 42.5 kB / 487.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.1689, allocations: 0 / 487.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007436/0.1697, allocations: 348.1 kB / 487.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.1697, allocations: 55.41 kB / 487.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/0.1701, allocations: 334.9 kB / 488.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.1701, allocations: 33.64 kB / 488.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.1703, allocations: 171.9 kB / 488.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.1703, allocations: 59.19 kB / 488.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.414e-05/0.1703, allocations: 4 kB / 488.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1705, allocations: 338.8 kB / 488.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.1707, allocations: 104.4 kB / 488.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.171, allocations: 191.9 kB / 489 MB, free: 13.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.1713, allocations: 127.9 kB / 489.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.1713, allocations: 0 / 489.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006093/0.1719, allocations: 360.7 kB / 489.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1719, allocations: 4 kB / 489.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/0.172, allocations: 7.984 kB / 489.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.172, allocations: 7.984 kB / 489.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005898/0.1726, allocations: 128.2 kB / 489.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/0.1747, allocations: 3.645 MB / 493.3 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.175, allocations: 51.61 kB / 493.3 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.175, allocations: 11.98 kB / 493.4 MB, free: 9.027 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002683/0.1753, allocations: 173.7 kB / 493.5 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-05/0.1754, allocations: 31.58 kB / 493.6 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000761/0.1761, allocations: 342.3 kB / 493.9 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.1761, allocations: 0 / 493.9 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.1762, allocations: 4 kB / 493.9 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.1762, allocations: 0 / 493.9 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004251/0.1766, allocations: 297.4 kB / 494.2 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1766, allocations: 4 kB / 494.2 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004785/0.1771, allocations: 103.8 kB / 494.3 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.1771, allocations: 7.953 kB / 494.3 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.1771, allocations: 7.984 kB / 494.3 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002278/0.1794, allocations: 3.649 MB / 498 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1794, allocations: 0 / 498 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005519/0.18, allocations: 359.5 kB / 498.3 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.1801, allocations: 104.7 kB / 498.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.1802, allocations: 11.94 kB / 498.4 MB, free: 3.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.1803, allocations: 8 kB / 498.4 MB, free: 3.711 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.1804, allocations: 15.97 kB / 498.4 MB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.1804, allocations: 8 kB / 498.4 MB, free: 3.688 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002445/0.1807, allocations: 249.8 kB / 498.7 MB, free: 3.445 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1807, allocations: 0 / 498.7 MB, free: 3.445 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004063/0.1811, allocations: 76 kB / 498.8 MB, free: 3.371 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002394/0.1813, allocations: 131.7 kB / 498.9 MB, free: 3.234 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009474/0.1823, allocations: 339 kB / 499.2 MB, free: 2.906 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1823, allocations: 0 / 499.2 MB, free: 2.906 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005717/0.1829, allocations: 187.8 kB / 499.4 MB, free: 2.723 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.1833, allocations: 64.78 kB / 499.5 MB, free: 2.656 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.1844, allocations: 0.6397 MB / 0.4884 GB, free: 1.996 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.1849, allocations: 0.7951 MB / 0.4892 GB, free: 1.172 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002146/0.1851, allocations: 86.83 kB / 0.4893 GB, free: 1.086 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.1852, allocations: 27.42 kB / 0.4893 GB, free: 1.059 MB / 366.1 MB Notification: Performance of SimCode: time 1.743e-06/0.1852, allocations: 0 / 0.4893 GB, free: 1.059 MB / 366.1 MB Notification: Performance of Templates: time 0.009043/0.1942, allocations: 4.811 MB / 0.494 GB, free: 12.32 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_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/kc_turbulent_KC.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches