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.00123/0.00123, allocations: 114.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001342, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2227/0.2227, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 74.11 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1347, allocations: 62.45 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003475/0.1382, allocations: 1.88 MB / 483.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.1396, allocations: 0.8451 MB / 484.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.516e-05/0.1397, allocations: 0 / 484.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.14, allocations: 59.67 kB / 484.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.1404, allocations: 75.58 kB / 484.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.1406, allocations: 90.95 kB / 484.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.141, allocations: 258.7 kB / 484.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.064e-05/0.141, allocations: 28.39 kB / 484.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.1413, allocations: 107.5 kB / 484.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.1414, allocations: 123.3 kB / 484.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.1415, allocations: 4 kB / 485 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.1417, allocations: 119.8 kB / 485.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.159e-05/0.1418, allocations: 67.72 kB / 485.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.1419, allocations: 99.3 kB / 485.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.1424, allocations: 306.8 kB / 485.5 MB, free: 484 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1424, allocations: 0 / 485.5 MB, free: 484 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.1424, allocations: 8 kB / 485.5 MB, free: 476 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.1424, allocations: 0 / 485.5 MB, free: 476 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0008839/0.1433, allocations: 0.5536 MB / 486.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1433, allocations: 8.031 kB / 486.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.657e-05/0.1434, allocations: 32.5 kB / 486.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.1437, allocations: 242.5 kB / 486.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.1438, allocations: 16.94 kB / 486.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.1438, allocations: 28.12 kB / 486.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005968/0.1444, allocations: 377.2 kB / 486.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1444, allocations: 0 / 486.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.1445, allocations: 8 kB / 486.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.643e-05/0.1445, allocations: 24.64 kB / 486.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005726/0.1451, allocations: 374.3 kB / 487.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.1465, allocations: 0.8501 MB / 488 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/0.147, allocations: 250.3 kB / 488.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.1472, allocations: 103.2 kB / 488.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.1472, allocations: 7.922 kB / 488.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.1472, allocations: 38.56 kB / 488.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.1473, allocations: 4 kB / 488.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.000757/0.148, allocations: 337.1 kB / 488.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.1481, allocations: 51.41 kB / 488.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.1484, allocations: 338.9 kB / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.1484, allocations: 29.7 kB / 489.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.1486, allocations: 164 kB / 489.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.342e-05/0.1486, allocations: 59.19 kB / 489.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.978e-05/0.1487, allocations: 65.94 kB / 489.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1489, allocations: 334.8 kB / 489.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.1491, allocations: 96.36 kB / 489.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.1493, allocations: 188 kB / 490 MB, free: 11.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004741/0.1498, allocations: 309 kB / 490.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1498, allocations: 0 / 490.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006538/0.1505, allocations: 348.7 kB / 490.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1505, allocations: 8.375 kB / 490.7 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.1505, allocations: 8 kB / 490.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.1506, allocations: 4 kB / 490.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007046/0.1513, allocations: 119.9 kB / 490.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/0.1532, allocations: 3.653 MB / 494.5 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.1534, allocations: 39.53 kB / 494.5 MB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.1534, allocations: 19.98 kB / 494.5 MB, free: 7.02 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002332/0.1537, allocations: 180.6 kB / 494.7 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.1537, allocations: 27.62 kB / 494.7 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006164/0.1544, allocations: 327.5 kB / 495.1 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1544, allocations: 4 kB / 495.1 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1544, allocations: 3.984 kB / 495.1 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1544, allocations: 0 / 495.1 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.1547, allocations: 301.3 kB / 495.4 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1547, allocations: 0 / 495.4 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004384/0.1552, allocations: 103.9 kB / 495.5 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1552, allocations: 0 / 495.5 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.1552, allocations: 15.98 kB / 495.5 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001771/0.157, allocations: 3.641 MB / 499.1 MB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.157, allocations: 11.97 kB / 499.1 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004802/0.1575, allocations: 345.3 kB / 499.5 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.218e-05/0.1576, allocations: 104.8 kB / 499.6 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.1576, allocations: 8 kB / 499.6 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.1578, allocations: 11.92 kB / 499.6 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/0.1579, allocations: 15.98 kB / 499.6 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.1579, allocations: 12 kB / 499.6 MB, free: 1.695 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002293/0.1581, allocations: 245.9 kB / 499.9 MB, free: 1.461 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1581, allocations: 3.938 kB / 499.9 MB, free: 1.457 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003823/0.1585, allocations: 79.94 kB / 499.9 MB, free: 1.379 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002684/0.1588, allocations: 123.2 kB / 0.4883 GB, free: 1.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008369/0.1596, allocations: 312.4 kB / 0.4886 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1597, allocations: 4 kB / 0.4886 GB, free: 0.9414 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005395/0.1602, allocations: 191.7 kB / 0.4888 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.1606, allocations: 74.25 kB / 0.4889 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000914/0.1615, allocations: 0.5744 MB / 0.4895 GB, free: 88 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.1619, allocations: 0.7911 MB / 0.4902 GB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001788/0.1621, allocations: 82.89 kB / 0.4903 GB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.584e-05/0.1622, allocations: 23.44 kB / 0.4903 GB, free: 15.16 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1622, allocations: 0 / 0.4903 GB, free: 15.16 MB / 382.1 MB Notification: Performance of Templates: time 0.009221/0.1714, allocations: 5.409 MB / 0.4956 GB, free: 9.824 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 -s cvode -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/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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