Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 108.9 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 222.9 MB / 241.8 MB, free: 13.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2288/0.2288, allocations: 44.16 MB / 336.1 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 64.34 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1308, allocations: 60.83 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003697/0.1345, allocations: 2.062 MB / 470.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.1362, allocations: 1.071 MB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.566e-05/0.1363, allocations: 11.88 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.1366, allocations: 59.72 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.1368, allocations: 63.64 kB / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.1372, allocations: 139.6 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004754/0.1377, allocations: 406.4 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.289e-05/0.1378, allocations: 28.73 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.1379, allocations: 115.4 kB / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.1381, allocations: 147.4 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.1381, allocations: 8 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003093/0.1385, allocations: 187.6 kB / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.843e-05/0.1386, allocations: 67.73 kB / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.1387, allocations: 123.1 kB / 473 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004014/0.1391, allocations: 382.8 kB / 473.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1391, allocations: 4 kB / 473.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1391, allocations: 0 / 473.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1391, allocations: 0 / 473.4 MB, free: 9.945 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.001025/0.1402, allocations: 0.6199 MB / 474 MB, free: 9.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1402, allocations: 11.97 kB / 474 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.972e-05/0.1403, allocations: 32.56 kB / 474 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.1406, allocations: 264.2 kB / 474.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.1406, allocations: 24.5 kB / 474.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.1407, allocations: 24 kB / 474.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006905/0.1414, allocations: 437.8 kB / 474.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1414, allocations: 0 / 474.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.1414, allocations: 15.94 kB / 474.8 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-05/0.1415, allocations: 16.55 kB / 474.8 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000657/0.1421, allocations: 325.9 kB / 475.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.1435, allocations: 1.096 MB / 476.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000512/0.144, allocations: 247.7 kB / 476.5 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.1443, allocations: 114.4 kB / 476.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.1444, allocations: 4 kB / 476.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.1444, allocations: 34.56 kB / 476.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.1444, allocations: 0 / 476.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009586/0.1454, allocations: 357.2 kB / 477 MB, free: 6.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.1454, allocations: 106.8 kB / 477.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003855/0.1458, allocations: 405.5 kB / 477.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.1458, allocations: 33.95 kB / 477.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.146, allocations: 195.7 kB / 477.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.146, allocations: 47.34 kB / 477.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.759e-05/0.1461, allocations: 61.84 kB / 477.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1462, allocations: 342.8 kB / 478.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.1466, allocations: 116.1 kB / 478.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003858/0.147, allocations: 235.7 kB / 478.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007193/0.1477, allocations: 378.9 kB / 478.8 MB, free: 4.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1477, allocations: 0 / 478.8 MB, free: 4.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008166/0.1485, allocations: 396.7 kB / 479.2 MB, free: 3.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1486, allocations: 4.531 kB / 479.2 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.406e-05/0.1486, allocations: 31.98 kB / 479.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1486, allocations: 4 kB / 479.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.1489, allocations: 47.89 kB / 479.3 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.1489, allocations: 11.94 kB / 479.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.1492, allocations: 51.52 kB / 479.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.1492, allocations: 19.98 kB / 479.4 MB, free: 3.527 MB / 350.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.0001719/0.1494, allocations: 185.7 kB / 479.6 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.108e-05/0.1495, allocations: 27.62 kB / 479.6 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006284/0.1501, allocations: 276.3 kB / 479.9 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.1501, allocations: 4 kB / 479.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1502, allocations: 3.938 kB / 479.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1502, allocations: 4 kB / 479.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.1506, allocations: 305.4 kB / 480.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.594e-05/0.1507, allocations: 24.08 kB / 480.2 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.1508, allocations: 27.91 kB / 480.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1508, allocations: 0 / 480.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.1509, allocations: 8 kB / 480.2 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.1509, allocations: 7.984 kB / 480.3 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.1509, allocations: 7.875 kB / 480.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006927/0.1516, allocations: 0.5014 MB / 480.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.019e-05/0.1517, allocations: 100.8 kB / 480.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.1517, allocations: 4 kB / 480.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.152, allocations: 27.97 kB / 480.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.871e-05/0.1521, allocations: 19.92 kB / 480.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.1521, allocations: 4 kB / 480.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000283/0.1524, allocations: 295.1 kB / 481.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1524, allocations: 0 / 481.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005264/0.153, allocations: 91.84 kB / 481.3 MB, free: 1.531 MB / 350.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.0002566/0.1532, allocations: 155.1 kB / 481.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007644/0.154, allocations: 429.8 kB / 481.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.154, allocations: 0 / 481.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003647/0.1544, allocations: 271.1 kB / 482.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006305/0.155, allocations: 78.03 kB / 482.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.1561, allocations: 0.6803 MB / 482.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.1564, allocations: 0.795 MB / 483.7 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001724/0.1566, allocations: 70.89 kB / 483.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.1567, allocations: 27.38 kB / 483.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1567, allocations: 0 / 483.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of Templates: time 0.008601/0.1653, allocations: 5.363 MB / 489.1 MB, free: 9.629 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches