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.001126/0.001126, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001235/0.001235, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.304/1.304, allocations: 222.9 MB / 242.2 MB, free: 15.2 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.1985/0.1985, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 68.3 kB / 408.5 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.124, allocations: 60.82 MB / 469.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.00417/0.1282, allocations: 1.849 MB / 471.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.1299, allocations: 0.8061 MB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.13, allocations: 4 kB / 471.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003205/0.1304, allocations: 59.66 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004007/0.1308, allocations: 83.58 kB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.1312, allocations: 83.22 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003744/0.1315, allocations: 262.7 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.065e-05/0.1316, allocations: 32.39 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.1318, allocations: 99.48 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.132, allocations: 115.4 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.264e-05/0.1321, allocations: 8 kB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.1324, allocations: 119.8 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.1325, allocations: 59.69 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.1326, allocations: 107.3 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004236/0.1331, allocations: 303.1 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1331, allocations: 0 / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1331, allocations: 0 / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.1331, allocations: 0 / 473.2 MB, free: 10.34 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.0008689/0.134, allocations: 0.5497 MB / 473.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.134, allocations: 8.031 kB / 473.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.817e-05/0.1341, allocations: 28.56 kB / 473.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.1344, allocations: 239.9 kB / 474.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.1344, allocations: 24.92 kB / 474.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.1345, allocations: 24.12 kB / 474.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005805/0.135, allocations: 377.2 kB / 474.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1351, allocations: 0 / 474.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/0.1351, allocations: 11.98 kB / 474.5 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-05/0.1352, allocations: 24.64 kB / 474.5 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005918/0.1358, allocations: 374.3 kB / 474.9 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.1371, allocations: 0.8423 MB / 475.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.1375, allocations: 258.3 kB / 476 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.1377, allocations: 96.83 kB / 476.1 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/0.1378, allocations: 11.94 kB / 476.1 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1378, allocations: 34.55 kB / 476.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.572e-06/0.1378, allocations: 0 / 476.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007525/0.1386, allocations: 325.2 kB / 476.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.1386, allocations: 59.41 kB / 476.5 MB, free: 6.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.139, allocations: 342.8 kB / 476.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.139, allocations: 25.7 kB / 476.8 MB, free: 6.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.1391, allocations: 179.9 kB / 477 MB, free: 6.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/0.1392, allocations: 55.2 kB / 477.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-05/0.1393, allocations: 57.88 kB / 477.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1394, allocations: 342.8 kB / 477.5 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.1396, allocations: 92.38 kB / 477.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.1399, allocations: 193.8 kB / 477.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/0.1404, allocations: 305.5 kB / 478 MB, free: 5.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1404, allocations: 0 / 478 MB, free: 5.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006126/0.141, allocations: 352.7 kB / 478.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.141, allocations: 4 kB / 478.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.141, allocations: 4 kB / 478.4 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.1411, allocations: 4 kB / 478.4 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005763/0.1417, allocations: 123.9 kB / 478.5 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/0.1435, allocations: 3.649 MB / 482.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.1437, allocations: 43.53 kB / 482.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.1438, allocations: 15.98 kB / 482.2 MB, free: 0.9062 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 (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.0002813/0.144, allocations: 181.9 kB / 482.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.597e-05/0.1441, allocations: 27.62 kB / 482.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006893/0.1448, allocations: 326.5 kB / 482.8 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.1448, allocations: 4 kB / 482.8 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1448, allocations: 4 kB / 482.8 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1448, allocations: 0 / 482.8 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.1452, allocations: 305.3 kB / 483.1 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1452, allocations: 0 / 483.1 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004683/0.1457, allocations: 104 kB / 483.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.1457, allocations: 4 kB / 483.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.1457, allocations: 7.984 kB / 483.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/0.1478, allocations: 3.649 MB / 486.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.1478, allocations: 7.875 kB / 486.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005487/0.1484, allocations: 351.2 kB / 487.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.928e-05/0.1485, allocations: 104.8 kB / 487.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/0.1486, allocations: 0 / 487.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.1487, allocations: 15.92 kB / 487.3 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.1488, allocations: 11.98 kB / 487.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.1488, allocations: 11.98 kB / 487.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002443/0.1491, allocations: 241.9 kB / 487.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1491, allocations: 0 / 487.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003878/0.1495, allocations: 75.94 kB / 487.6 MB, free: 11.27 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 (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.0002461/0.1497, allocations: 139 kB / 487.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009293/0.1507, allocations: 335.8 kB / 488.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1507, allocations: 0 / 488.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005618/0.1513, allocations: 191.8 kB / 488.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.1517, allocations: 69 kB / 488.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.1528, allocations: 0.5807 MB / 488.9 MB, free: 9.945 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.1532, allocations: 0.7912 MB / 489.7 MB, free: 9.125 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002271/0.1535, allocations: 82.89 kB / 489.8 MB, free: 9.043 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.424e-05/0.1535, allocations: 27.42 kB / 489.8 MB, free: 9.016 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1535, allocations: 0 / 489.8 MB, free: 9.016 MB / 366.1 MB Notification: Performance of Templates: time 0.01033/0.1639, allocations: 5.341 MB / 495.2 MB, free: 3.75 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