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.001274/0.001274, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001353/0.001353, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.367/1.367, allocations: 222.9 MB / 243 MB, free: 15.07 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.2178/0.2178, allocations: 44.19 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 69.11 kB / 409.9 MB, free: 26.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1251, allocations: 60.83 MB / 470.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003493/0.1287, allocations: 2.001 MB / 472.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.1306, allocations: 1.071 MB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.1307, allocations: 3.938 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.131, allocations: 55.66 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.1313, allocations: 71.53 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006255/0.132, allocations: 163.4 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004538/0.1324, allocations: 330.4 kB / 474.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.418e-05/0.1325, allocations: 32.73 kB / 474.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002403/0.1328, allocations: 119.4 kB / 474.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.133, allocations: 135.3 kB / 474.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.98e-05/0.1331, allocations: 12 kB / 474.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004071/0.1335, allocations: 191.8 kB / 474.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.89e-05/0.1336, allocations: 71.67 kB / 475 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.1337, allocations: 127.2 kB / 475.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005166/0.1342, allocations: 390.5 kB / 475.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1343, allocations: 0 / 475.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1343, allocations: 0 / 475.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.1343, allocations: 0 / 475.5 MB, free: 8.848 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.001177/0.1355, allocations: 0.6237 MB / 476.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1355, allocations: 12.03 kB / 476.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.041e-05/0.1356, allocations: 32.56 kB / 476.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.136, allocations: 259.8 kB / 476.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.136, allocations: 20.5 kB / 476.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/0.136, allocations: 28 kB / 476.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000728/0.1368, allocations: 433.8 kB / 476.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1368, allocations: 4 kB / 476.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.1368, allocations: 12 kB / 476.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.099e-05/0.1369, allocations: 12.56 kB / 476.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006826/0.1376, allocations: 329.9 kB / 477.2 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.1392, allocations: 1.104 MB / 478.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004733/0.1397, allocations: 239.7 kB / 478.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/0.1399, allocations: 110.4 kB / 478.7 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-05/0.14, allocations: 4 kB / 478.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.14, allocations: 42.56 kB / 478.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.14, allocations: 0 / 478.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009728/0.141, allocations: 352.9 kB / 479 MB, free: 5.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.1411, allocations: 111.1 kB / 479.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000469/0.1416, allocations: 405.5 kB / 479.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.1416, allocations: 25.7 kB / 479.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.1418, allocations: 199.7 kB / 479.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.1418, allocations: 47.34 kB / 479.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.142, allocations: 65.94 kB / 479.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1421, allocations: 346.7 kB / 480.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.1424, allocations: 112.1 kB / 480.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/0.1428, allocations: 237.6 kB / 480.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006687/0.1435, allocations: 366.9 kB / 480.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1435, allocations: 4 kB / 480.9 MB, free: 3 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000855/0.1444, allocations: 397.1 kB / 481.3 MB, free: 2.605 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.1444, allocations: 8 kB / 481.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.763e-05/0.1445, allocations: 23.98 kB / 481.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.1445, allocations: 8 kB / 481.3 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.1448, allocations: 51.89 kB / 481.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.1448, allocations: 11.88 kB / 481.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.1451, allocations: 55.67 kB / 481.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.1451, allocations: 19.98 kB / 481.5 MB, free: 2.43 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.0002306/0.1454, allocations: 181.3 kB / 481.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.59e-05/0.1455, allocations: 27.62 kB / 481.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006013/0.1461, allocations: 276.6 kB / 482 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.1461, allocations: 8 kB / 482 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.1461, allocations: 3.938 kB / 482 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1461, allocations: 0 / 482 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004913/0.1466, allocations: 305.4 kB / 482.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.393e-05/0.1466, allocations: 16 kB / 482.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.1468, allocations: 31.91 kB / 482.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.1468, allocations: 0 / 482.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.1468, allocations: 8 kB / 482.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.1469, allocations: 4 kB / 482.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.1469, allocations: 7.922 kB / 482.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007138/0.1476, allocations: 0.5046 MB / 482.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.1477, allocations: 104.8 kB / 482.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.285e-05/0.1478, allocations: 8 kB / 482.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.1481, allocations: 19.97 kB / 483 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.249e-05/0.1482, allocations: 19.86 kB / 483 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.1482, allocations: 12 kB / 483 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003217/0.1485, allocations: 287.1 kB / 483.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1485, allocations: 0 / 483.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005626/0.1491, allocations: 103.8 kB / 483.4 MB, free: 444 kB / 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.0003499/0.1495, allocations: 151.2 kB / 483.5 MB, free: 284 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000757/0.1502, allocations: 433.7 kB / 484 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1502, allocations: 0 / 484 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003619/0.1506, allocations: 279.1 kB / 484.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006065/0.1512, allocations: 69.69 kB / 484.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.1525, allocations: 0.6123 MB / 484.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.1529, allocations: 0.7909 MB / 485.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001698/0.1531, allocations: 70.84 kB / 485.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.604e-05/0.1531, allocations: 19.44 kB / 485.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1531, allocations: 4 kB / 485.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of Templates: time 0.01034/0.1635, allocations: 5.678 MB / 491.5 MB, free: 8.293 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 -s gbode -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/jenkins1/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/jenkins1/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