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_KC.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_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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000999/0.0009989, allocations: 99.03 kB / 17 MB, free: 6.398 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.001217/0.001217, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.506/1.506, allocations: 223.3 MB / 241.9 MB, free: 332 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2174/0.2174, allocations: 44.25 MB / 337.3 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004954/0.0004959, allocations: 12 kB / 409.7 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.129, allocations: 61.93 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002287/0.1313, allocations: 1.539 MB / 473.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.1327, allocations: 0.7174 MB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.1328, allocations: 7.938 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.1331, allocations: 43.73 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.1335, allocations: 83.62 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.1338, allocations: 71.8 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.1342, allocations: 310.6 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.929e-05/0.1342, allocations: 24.39 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.1344, allocations: 95.58 kB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.1346, allocations: 123.5 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.1347, allocations: 4 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/0.1349, allocations: 115.8 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.034e-05/0.135, allocations: 59.73 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.004e-05/0.1351, allocations: 69.52 kB / 474.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.1354, allocations: 203.7 kB / 475.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1354, allocations: 3.938 kB / 475.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1354, allocations: 0 / 475.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.1354, allocations: 4 kB / 475.1 MB, free: 10.2 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.000852/0.1363, allocations: 0.5128 MB / 475.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.1363, allocations: 8.031 kB / 475.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.112e-05/0.1364, allocations: 31.62 kB / 475.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.1367, allocations: 234.6 kB / 475.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.1368, allocations: 24.5 kB / 475.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.1368, allocations: 28 kB / 475.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006446/0.1375, allocations: 377.2 kB / 476.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1375, allocations: 0 / 476.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.1375, allocations: 8 kB / 476.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/0.1376, allocations: 28.64 kB / 476.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006269/0.1382, allocations: 386.2 kB / 476.7 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.1395, allocations: 0.8385 MB / 477.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.14, allocations: 258.3 kB / 477.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.1402, allocations: 96.83 kB / 477.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.1403, allocations: 11.98 kB / 477.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.1403, allocations: 42.48 kB / 477.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.1403, allocations: 0 / 477.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007389/0.1411, allocations: 352.1 kB / 478.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.1411, allocations: 55.39 kB / 478.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.1414, allocations: 338.9 kB / 478.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1415, allocations: 25.7 kB / 478.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.1416, allocations: 168 kB / 478.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/0.1416, allocations: 55.2 kB / 478.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.528e-05/0.1417, allocations: 4 kB / 478.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1418, allocations: 346.8 kB / 479.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.142, allocations: 100.4 kB / 479.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.1423, allocations: 203.9 kB / 479.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.1426, allocations: 127.9 kB / 479.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1426, allocations: 3.938 kB / 479.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006418/0.1432, allocations: 356.7 kB / 480 MB, free: 4.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.1433, allocations: 8 kB / 480 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.1433, allocations: 4 kB / 480 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1433, allocations: 4.375 kB / 480 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005684/0.1439, allocations: 127.8 kB / 480.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/0.1458, allocations: 3.653 MB / 483.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.1461, allocations: 47.52 kB / 483.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.1461, allocations: 12 kB / 483.9 MB, free: 1.004 MB / 350.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.0002291/0.1463, allocations: 174.2 kB / 484 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.1464, allocations: 31.56 kB / 484.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006707/0.1471, allocations: 338.6 kB / 484.4 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.1471, allocations: 7.953 kB / 484.4 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1471, allocations: 0 / 484.4 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1471, allocations: 0 / 484.4 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.1475, allocations: 301.3 kB / 484.7 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1475, allocations: 4 kB / 484.7 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005006/0.148, allocations: 111.9 kB / 484.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.148, allocations: 0 / 484.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.1481, allocations: 7.938 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/0.15, allocations: 3.645 MB / 488.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.1501, allocations: 3.984 kB / 488.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005152/0.1506, allocations: 355.6 kB / 488.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.543e-05/0.1507, allocations: 108.8 kB / 488.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.1507, allocations: 0 / 488.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.1509, allocations: 12 kB / 488.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.151, allocations: 27.86 kB / 489 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.151, allocations: 8 kB / 489 MB, free: 11.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002444/0.1512, allocations: 245.9 kB / 489.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1512, allocations: 4 kB / 489.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003908/0.1516, allocations: 64 kB / 489.3 MB, free: 11.36 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.000293/0.1519, allocations: 139.1 kB / 489.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000894/0.1528, allocations: 328.3 kB / 489.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1528, allocations: 0 / 489.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005273/0.1534, allocations: 194.9 kB / 489.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.1538, allocations: 64.84 kB / 490 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.1549, allocations: 0.6402 MB / 490.6 MB, free: 9.977 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.1552, allocations: 0.7911 MB / 491.4 MB, free: 9.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002217/0.1555, allocations: 86.88 kB / 491.5 MB, free: 9.074 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.679e-05/0.1555, allocations: 19.44 kB / 491.5 MB, free: 9.055 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1555, allocations: 0 / 491.5 MB, free: 9.055 MB / 366.1 MB Notification: Performance of Templates: time 0.009886/0.1654, allocations: 4.891 MB / 496.4 MB, free: 4.238 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches