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.001182/0.001182, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2147/0.2147, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 75.89 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1416, allocations: 62.45 MB / 481.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003581/0.1452, allocations: 2.017 MB / 483.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.1471, allocations: 1.157 MB / 484.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.1472, allocations: 4 kB / 484.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.1475, allocations: 51.67 kB / 484.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.1477, allocations: 83.41 kB / 484.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005923/0.1483, allocations: 179.2 kB / 485 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004001/0.1487, allocations: 330.5 kB / 485.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.88e-05/0.1488, allocations: 36.73 kB / 485.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.1491, allocations: 123.4 kB / 485.5 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.1493, allocations: 135.3 kB / 485.6 MB, free: 408 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.1493, allocations: 8 kB / 485.6 MB, free: 400 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003624/0.1497, allocations: 203.8 kB / 485.8 MB, free: 196 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.631e-05/0.1498, allocations: 83.59 kB / 485.9 MB, free: 112 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.15, allocations: 123.3 kB / 486 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005074/0.1505, allocations: 406.4 kB / 486.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1505, allocations: 4 kB / 486.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1505, allocations: 0 / 486.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.904e-06/0.1506, allocations: 0 / 486.4 MB, free: 15.59 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001368/0.1519, allocations: 0.6159 MB / 487 MB, free: 14.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.152, allocations: 12.03 kB / 487 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000487/0.1525, allocations: 72.52 kB / 487.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.1529, allocations: 259.7 kB / 487.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.153, allocations: 20.5 kB / 487.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.248e-05/0.153, allocations: 39.91 kB / 487.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008229/0.1539, allocations: 429.9 kB / 487.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.1539, allocations: 0 / 487.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.1539, allocations: 12 kB / 487.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.485e-05/0.154, allocations: 16.55 kB / 487.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006962/0.1547, allocations: 321.9 kB / 488.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.1564, allocations: 1.096 MB / 489.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.1569, allocations: 247.7 kB / 489.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.1572, allocations: 106.5 kB / 489.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.988e-05/0.1572, allocations: 4 kB / 489.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.1573, allocations: 46.5 kB / 489.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.1573, allocations: 0 / 489.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009397/0.1582, allocations: 345.3 kB / 490 MB, free: 11.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.1583, allocations: 106.8 kB / 490.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004241/0.1587, allocations: 413.3 kB / 490.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.1588, allocations: 33.7 kB / 490.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.1589, allocations: 195.7 kB / 490.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.1589, allocations: 43.36 kB / 490.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.1591, allocations: 73.77 kB / 490.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1592, allocations: 338.8 kB / 491.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.1595, allocations: 124.2 kB / 491.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/0.1599, allocations: 235.7 kB / 491.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006348/0.1605, allocations: 359 kB / 491.9 MB, free: 9.715 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1605, allocations: 8 kB / 491.9 MB, free: 9.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007973/0.1613, allocations: 397 kB / 492.3 MB, free: 9.312 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1614, allocations: 8 kB / 492.3 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.34e-05/0.1614, allocations: 20 kB / 492.3 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1614, allocations: 8 kB / 492.3 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.1617, allocations: 51.89 kB / 492.4 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.1617, allocations: 11.88 kB / 492.4 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.162, allocations: 63.72 kB / 492.4 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.162, allocations: 12 kB / 492.4 MB, free: 9.141 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001916/0.1622, allocations: 180.7 kB / 492.6 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.955e-05/0.1623, allocations: 31.62 kB / 492.7 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005896/0.1629, allocations: 288.4 kB / 492.9 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1629, allocations: 4 kB / 492.9 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.1629, allocations: 7.938 kB / 493 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1629, allocations: 0 / 493 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004644/0.1634, allocations: 305.4 kB / 493.2 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.584e-05/0.1634, allocations: 23.98 kB / 493.3 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.1636, allocations: 23.97 kB / 493.3 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1636, allocations: 0 / 493.3 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.1636, allocations: 8 kB / 493.3 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1636, allocations: 0 / 493.3 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1637, allocations: 11.94 kB / 493.3 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007037/0.1644, allocations: 0.5053 MB / 493.8 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.978e-05/0.1645, allocations: 116.7 kB / 493.9 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.1645, allocations: 0 / 493.9 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.1648, allocations: 23.97 kB / 494 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.457e-05/0.1649, allocations: 19.92 kB / 494 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.1649, allocations: 4 kB / 494 MB, free: 7.508 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003281/0.1652, allocations: 295.1 kB / 494.3 MB, free: 7.219 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1653, allocations: 0 / 494.3 MB, free: 7.219 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005444/0.1658, allocations: 95.92 kB / 494.4 MB, free: 7.125 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 (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.0003812/0.1662, allocations: 151.2 kB / 494.5 MB, free: 6.965 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008136/0.167, allocations: 433.7 kB / 494.9 MB, free: 6.504 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.167, allocations: 1.062 kB / 494.9 MB, free: 6.504 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004057/0.1674, allocations: 278 kB / 495.2 MB, free: 6.195 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000609/0.1681, allocations: 69.7 kB / 495.3 MB, free: 6.129 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.1692, allocations: 0.6083 MB / 495.9 MB, free: 5.488 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.1697, allocations: 0.7987 MB / 496.7 MB, free: 4.664 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000155/0.1699, allocations: 66.89 kB / 496.7 MB, free: 4.598 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.387e-05/0.1699, allocations: 23.44 kB / 496.8 MB, free: 4.574 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1699, allocations: 4 kB / 496.8 MB, free: 4.57 MB / 366.1 MB Notification: Performance of Templates: time 0.01026/0.1802, allocations: 5.729 MB / 0.4907 GB, free: 14.92 MB / 382.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 -s cvode -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/jenkins1/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/jenkins1/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