Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001156/0.001156, allocations: 102.7 kB / 16.64 MB, free: 6.82 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.001227/0.001227, allocations: 194.5 kB / 17.56 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2034/0.2034, allocations: 43.51 MB / 314.3 MB, free: 0.7148 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 67.25 kB / 382.9 MB, free: 56.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1217, allocations: 57.79 MB / 440.7 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003705/0.1254, allocations: 1.932 MB / 442.6 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.1267, allocations: 0.8267 MB / 443.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.907e-05/0.1268, allocations: 0 / 443.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.1271, allocations: 59.72 kB / 443.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.1274, allocations: 75.64 kB / 443.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.1276, allocations: 79.78 kB / 443.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.1279, allocations: 258.7 kB / 443.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.394e-05/0.1279, allocations: 28.39 kB / 443.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.1281, allocations: 95.5 kB / 444 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.1282, allocations: 131.4 kB / 444.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.1283, allocations: 8 kB / 444.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.1285, allocations: 119.8 kB / 444.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.561e-05/0.1285, allocations: 63.69 kB / 444.3 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.137e-05/0.1286, allocations: 99.3 kB / 444.4 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.1288, allocations: 211.4 kB / 444.6 MB, free: 3.367 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1288, allocations: 0 / 444.6 MB, free: 3.367 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1288, allocations: 0 / 444.6 MB, free: 3.367 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.1289, allocations: 7.938 kB / 444.7 MB, free: 3.359 MB / 318.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.0007089/0.1296, allocations: 0.5575 MB / 445.2 MB, free: 2.754 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1296, allocations: 11.89 kB / 445.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.1297, allocations: 28.56 kB / 445.3 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.1299, allocations: 239.1 kB / 445.5 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.1299, allocations: 20.94 kB / 445.5 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.1299, allocations: 32.11 kB / 445.5 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004823/0.1304, allocations: 373.2 kB / 445.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1304, allocations: 0 / 445.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.1305, allocations: 15.98 kB / 445.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/0.1305, allocations: 24.64 kB / 445.9 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004664/0.131, allocations: 374.3 kB / 446.3 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.132, allocations: 0.8424 MB / 447.2 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.1324, allocations: 250.3 kB / 447.4 MB, free: 480 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.1326, allocations: 92.98 kB / 447.5 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.1326, allocations: 11.86 kB / 447.5 MB, free: 372 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.1326, allocations: 50.5 kB / 447.5 MB, free: 312 kB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.1326, allocations: 3.984 kB / 447.6 MB, free: 308 kB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006607/0.1333, allocations: 325.1 kB / 447.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.1333, allocations: 55.41 kB / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.1337, allocations: 334.9 kB / 448.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.1337, allocations: 29.7 kB / 448.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.1338, allocations: 175.9 kB / 448.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.1339, allocations: 51.27 kB / 448.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.253e-05/0.134, allocations: 69.83 kB / 448.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1341, allocations: 334.8 kB / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.1343, allocations: 92.38 kB / 449 MB, free: 14.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.1346, allocations: 191.9 kB / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004856/0.1351, allocations: 314 kB / 449.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1351, allocations: 0 / 449.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005946/0.1357, allocations: 337.2 kB / 449.8 MB, free: 13.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.1357, allocations: 12 kB / 449.8 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.1358, allocations: 4 kB / 449.8 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1358, allocations: 7.938 kB / 449.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005592/0.1363, allocations: 119.9 kB / 450 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/0.1383, allocations: 3.657 MB / 453.6 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.1386, allocations: 43.52 kB / 453.6 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.1386, allocations: 16 kB / 453.7 MB, free: 9.906 MB / 334.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.0003159/0.1389, allocations: 183.6 kB / 453.8 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.139, allocations: 23.72 kB / 453.9 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006759/0.1397, allocations: 327.6 kB / 454.2 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1397, allocations: 4 kB / 454.2 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1397, allocations: 0 / 454.2 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1397, allocations: 0 / 454.2 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.1401, allocations: 305.4 kB / 454.5 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1401, allocations: 0 / 454.5 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000488/0.1406, allocations: 111.9 kB / 454.6 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.1406, allocations: 0 / 454.6 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.1407, allocations: 8 kB / 454.6 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/0.1428, allocations: 3.645 MB / 458.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.1428, allocations: 3.938 kB / 458.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005282/0.1434, allocations: 354.5 kB / 458.6 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.1435, allocations: 96.83 kB / 458.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/0.1435, allocations: 11.98 kB / 458.7 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.1437, allocations: 12.03 kB / 458.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.442e-05/0.1438, allocations: 15.98 kB / 458.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.1438, allocations: 7.984 kB / 458.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002466/0.1441, allocations: 245.9 kB / 459 MB, free: 4.352 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1441, allocations: 0 / 459 MB, free: 4.352 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004017/0.1445, allocations: 83.84 kB / 459.1 MB, free: 4.27 MB / 334.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.0002779/0.1448, allocations: 127.2 kB / 459.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009314/0.1457, allocations: 340.2 kB / 459.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1457, allocations: 7.938 kB / 459.5 MB, free: 3.797 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005383/0.1463, allocations: 187.8 kB / 459.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.1467, allocations: 68.77 kB / 459.8 MB, free: 3.547 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.1478, allocations: 0.661 MB / 460.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.1482, allocations: 0.7911 MB / 461.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.856e-05/0.1483, allocations: 27.42 kB / 461.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1483, allocations: 0 / 461.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of Templates: time 0.01348/0.1618, allocations: 10.78 MB / 472 MB, free: 7.234 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches