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.001151/0.001151, allocations: 118 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2232/0.2232, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 77.69 kB / 417.1 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1402, allocations: 62.45 MB / 479.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.004098/0.1444, allocations: 2.071 MB / 481.6 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.1461, allocations: 1.153 MB / 482.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.1463, allocations: 3.938 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.1466, allocations: 47.73 kB / 482.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.1468, allocations: 75.58 kB / 482.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.1473, allocations: 154.8 kB / 483 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003713/0.1477, allocations: 326.5 kB / 483.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.345e-05/0.1478, allocations: 36.72 kB / 483.4 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.148, allocations: 127.4 kB / 483.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.1482, allocations: 151.2 kB / 483.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.1482, allocations: 8 kB / 483.7 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000333/0.1486, allocations: 203.8 kB / 483.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.219e-05/0.1487, allocations: 75.61 kB / 483.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.1488, allocations: 127.1 kB / 484 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004516/0.1493, allocations: 402.8 kB / 484.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1493, allocations: 8 kB / 484.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1493, allocations: 0 / 484.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.1493, allocations: 0 / 484.4 MB, free: 0.6445 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001091/0.1504, allocations: 0.6121 MB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.1505, allocations: 8.031 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003929/0.1509, allocations: 72.52 kB / 485.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.1512, allocations: 260.1 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.1512, allocations: 24.5 kB / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.1513, allocations: 24 kB / 485.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007553/0.152, allocations: 433.9 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.152, allocations: 0 / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.1521, allocations: 15.98 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.19e-05/0.1521, allocations: 16.55 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006804/0.1528, allocations: 321.9 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.1543, allocations: 1.096 MB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004812/0.1548, allocations: 247.7 kB / 487.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/0.1551, allocations: 106.5 kB / 487.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/0.1551, allocations: 8 kB / 487.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.1551, allocations: 34.5 kB / 487.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.1551, allocations: 4 kB / 487.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009879/0.1561, allocations: 353.2 kB / 488 MB, free: 12.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.1562, allocations: 102.8 kB / 488.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004229/0.1566, allocations: 413.4 kB / 488.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.1567, allocations: 37.64 kB / 488.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.1568, allocations: 191.8 kB / 488.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.614e-05/0.1569, allocations: 47.34 kB / 488.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.157, allocations: 77.89 kB / 488.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1571, allocations: 338.8 kB / 489.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.1574, allocations: 112.1 kB / 489.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/0.1578, allocations: 237.7 kB / 489.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000651/0.1585, allocations: 359.1 kB / 489.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1585, allocations: 7.938 kB / 489.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008142/0.1593, allocations: 400.9 kB / 490.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1593, allocations: 8 kB / 490.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.303e-05/0.1594, allocations: 20 kB / 490.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.1594, allocations: 8 kB / 490.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.1597, allocations: 52.42 kB / 490.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.1597, allocations: 15.86 kB / 490.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.16, allocations: 59.5 kB / 490.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.16, allocations: 16 kB / 490.5 MB, free: 10.21 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.000192/0.1602, allocations: 181.6 kB / 490.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.883e-05/0.1603, allocations: 31.62 kB / 490.7 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006008/0.1609, allocations: 288.1 kB / 491 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.1609, allocations: 4 kB / 491 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.1609, allocations: 7.938 kB / 491 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.1609, allocations: 11.92 kB / 491 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004493/0.1614, allocations: 293.5 kB / 491.3 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.444e-05/0.1614, allocations: 23.98 kB / 491.3 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.1616, allocations: 31.97 kB / 491.3 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1616, allocations: 0 / 491.3 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.1616, allocations: 4 kB / 491.4 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1616, allocations: 0 / 491.4 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1617, allocations: 7.938 kB / 491.4 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007058/0.1624, allocations: 0.5054 MB / 491.9 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.436e-05/0.1625, allocations: 108.7 kB / 492 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.7e-05/0.1625, allocations: 0 / 492 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.1628, allocations: 23.97 kB / 492 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.241e-05/0.1629, allocations: 15.92 kB / 492 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.1629, allocations: 12 kB / 492 MB, free: 8.574 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002778/0.1632, allocations: 287.1 kB / 492.3 MB, free: 8.297 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1632, allocations: 4 kB / 492.3 MB, free: 8.293 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005159/0.1637, allocations: 91.92 kB / 492.4 MB, free: 8.203 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.0003194/0.164, allocations: 163.3 kB / 492.6 MB, free: 8.031 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008101/0.1649, allocations: 442.6 kB / 493 MB, free: 7.562 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1649, allocations: 0 / 493 MB, free: 7.562 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000368/0.1652, allocations: 274 kB / 493.3 MB, free: 7.258 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006121/0.1659, allocations: 88.92 kB / 493.3 MB, free: 7.176 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.167, allocations: 0.6902 MB / 494 MB, free: 6.453 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.1674, allocations: 0.7987 MB / 494.8 MB, free: 5.629 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001835/0.1676, allocations: 62.92 kB / 494.9 MB, free: 5.566 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.891e-05/0.1676, allocations: 23.44 kB / 494.9 MB, free: 5.543 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1676, allocations: 0 / 494.9 MB, free: 5.543 MB / 366.1 MB Notification: Performance of Templates: time 0.01275/0.1804, allocations: 5.592 MB / 0.4888 GB, free: 28 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