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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009282/0.0009283, allocations: 103.9 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3325/0.3325, allocations: 43.5 MB / 360.7 MB, free: 51.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001047, allocations: 51.92 kB / 429.3 MB, free: 6.363 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1251, allocations: 57.78 MB / 487 MB, free: 12.51 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002891/0.128, allocations: 1.929 MB / 489 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1293, allocations: 0.8499 MB / 489.8 MB, free: 9.707 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.337e-05/0.1293, allocations: 0 / 489.8 MB, free: 9.707 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.1296, allocations: 39.8 kB / 489.9 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.1298, allocations: 75.64 kB / 489.9 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.1301, allocations: 75.78 kB / 490 MB, free: 9.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003261/0.1304, allocations: 362.6 kB / 490.4 MB, free: 9.164 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.275e-05/0.1305, allocations: 32.66 kB / 490.4 MB, free: 9.133 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.1306, allocations: 95.44 kB / 490.5 MB, free: 9.039 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.1308, allocations: 131.4 kB / 490.6 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.1309, allocations: 8 kB / 490.6 MB, free: 8.902 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.1311, allocations: 111.8 kB / 490.7 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.289e-05/0.1312, allocations: 63.73 kB / 490.8 MB, free: 8.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.1313, allocations: 103.2 kB / 490.9 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003267/0.1316, allocations: 298.8 kB / 491.2 MB, free: 8.336 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1316, allocations: 0 / 491.2 MB, free: 8.336 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1316, allocations: 0 / 491.2 MB, free: 8.336 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1316, allocations: 0 / 491.2 MB, free: 8.336 MB / 378.7 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.0007772/0.1324, allocations: 0.5575 MB / 491.7 MB, free: 7.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1325, allocations: 12.03 kB / 491.8 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.697e-05/0.1325, allocations: 28.56 kB / 491.8 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.1328, allocations: 239.8 kB / 492 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.1328, allocations: 20.88 kB / 492 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.1329, allocations: 28.12 kB / 492.1 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005447/0.1334, allocations: 377.2 kB / 492.4 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1334, allocations: 0 / 492.4 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.1335, allocations: 16 kB / 492.4 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.142e-05/0.1335, allocations: 20.64 kB / 492.5 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005449/0.1341, allocations: 378.3 kB / 492.8 MB, free: 6.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.1353, allocations: 0.8346 MB / 493.7 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.1357, allocations: 258.3 kB / 493.9 MB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.1359, allocations: 92.83 kB / 494 MB, free: 5.348 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.136, allocations: 11.92 kB / 494 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.136, allocations: 34.56 kB / 494.1 MB, free: 5.293 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.136, allocations: 0 / 494.1 MB, free: 5.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007009/0.1367, allocations: 348.4 kB / 494.4 MB, free: 4.949 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.1367, allocations: 51.41 kB / 494.4 MB, free: 4.887 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.137, allocations: 342.8 kB / 494.8 MB, free: 4.543 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1371, allocations: 25.7 kB / 494.8 MB, free: 4.512 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.664e-05/0.1372, allocations: 164 kB / 495 MB, free: 4.344 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.1372, allocations: 59.19 kB / 495 MB, free: 4.285 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.198e-05/0.1373, allocations: 65.84 kB / 495.1 MB, free: 4.215 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1374, allocations: 334.8 kB / 495.4 MB, free: 3.879 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.1376, allocations: 100.4 kB / 495.5 MB, free: 3.781 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.1379, allocations: 192 kB / 495.7 MB, free: 3.555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004731/0.1384, allocations: 306.7 kB / 496 MB, free: 3.215 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.1384, allocations: 4 kB / 496 MB, free: 3.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006071/0.139, allocations: 344.5 kB / 496.3 MB, free: 2.871 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.139, allocations: 8.375 kB / 496.4 MB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1391, allocations: 4 kB / 496.4 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1391, allocations: 4 kB / 496.4 MB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005711/0.1397, allocations: 127.9 kB / 496.5 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/0.1415, allocations: 3.653 MB / 0.4884 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.1417, allocations: 43.47 kB / 0.4885 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.1418, allocations: 19.98 kB / 0.4885 GB, free: 14.88 MB / 394.7 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.0002839/0.142, allocations: 173.7 kB / 0.4886 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.031e-05/0.1421, allocations: 23.72 kB / 0.4887 GB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006794/0.1428, allocations: 331.5 kB / 0.489 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1428, allocations: 3.938 kB / 0.489 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1428, allocations: 0 / 0.489 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1428, allocations: 4 kB / 0.489 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00033/0.1432, allocations: 305.3 kB / 0.4893 GB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1432, allocations: 0 / 0.4893 GB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004355/0.1436, allocations: 99.95 kB / 0.4894 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1436, allocations: 0 / 0.4894 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.1437, allocations: 15.98 kB / 0.4894 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.1454, allocations: 3.641 MB / 0.4929 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1454, allocations: 8.031 kB / 0.493 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009377/0.1463, allocations: 1.047 MB / 0.494 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.595e-05/0.1464, allocations: 104.8 kB / 0.4941 GB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.1465, allocations: 4 kB / 0.4941 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.1466, allocations: 11.98 kB / 0.4941 GB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/0.1467, allocations: 15.98 kB / 0.4941 GB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/0.1467, allocations: 4 kB / 0.4941 GB, free: 8.824 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002236/0.147, allocations: 245.9 kB / 0.4943 GB, free: 8.582 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.147, allocations: 0 / 0.4943 GB, free: 8.582 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004627/0.1474, allocations: 71.94 kB / 0.4944 GB, free: 8.512 MB / 394.7 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.0002405/0.1477, allocations: 143 kB / 0.4945 GB, free: 8.359 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008365/0.1485, allocations: 328.2 kB / 0.4949 GB, free: 8.039 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1486, allocations: 0 / 0.4949 GB, free: 8.039 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005321/0.1491, allocations: 191.7 kB / 0.495 GB, free: 7.852 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.1495, allocations: 72.5 kB / 0.4951 GB, free: 7.785 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.1506, allocations: 0.7874 MB / 0.4959 GB, free: 6.957 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.151, allocations: 0.7912 MB / 0.4967 GB, free: 6.141 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002012/0.1512, allocations: 82.88 kB / 0.4967 GB, free: 6.062 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.885e-05/0.1512, allocations: 27.44 kB / 0.4968 GB, free: 6.039 MB / 394.7 MB Notification: Performance of SimCode: time 3.1e-07/0.1512, allocations: 0 / 0.4968 GB, free: 6.039 MB / 394.7 MB Notification: Performance of Templates: time 0.008694/0.1599, allocations: 5.217 MB / 0.5019 GB, free: 0.8438 MB / 394.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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