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.001536/0.001536, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001738/0.001738, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.425/1.425, allocations: 222.9 MB / 243 MB, free: 15.15 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.2296/0.2296, allocations: 44.19 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 60.5 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1178, allocations: 60.82 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.004091/0.122, allocations: 2.012 MB / 472.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.1241, allocations: 1.067 MB / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.1242, allocations: 8 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.1246, allocations: 55.61 kB / 473.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002624/0.1249, allocations: 79.45 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007025/0.1256, allocations: 155.4 kB / 474.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.126, allocations: 326.5 kB / 474.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.938e-05/0.1261, allocations: 32.72 kB / 474.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003019/0.1264, allocations: 123.4 kB / 474.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.1267, allocations: 139.3 kB / 474.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.1267, allocations: 8 kB / 474.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003857/0.1271, allocations: 191.8 kB / 474.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.1272, allocations: 75.61 kB / 475 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.1274, allocations: 123.2 kB / 475.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005316/0.1279, allocations: 390.5 kB / 475.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1279, allocations: 4 kB / 475.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1279, allocations: 0 / 475.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.1279, allocations: 0 / 475.5 MB, free: 8.852 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.001246/0.1292, allocations: 0.6198 MB / 476.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.1292, allocations: 12.03 kB / 476.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.692e-05/0.1293, allocations: 32.55 kB / 476.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.1297, allocations: 251.8 kB / 476.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.1298, allocations: 24.5 kB / 476.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.1298, allocations: 27.98 kB / 476.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007571/0.1306, allocations: 429.9 kB / 476.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.1306, allocations: 4 kB / 476.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.1306, allocations: 8 kB / 476.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.345e-05/0.1307, allocations: 28.48 kB / 476.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006573/0.1314, allocations: 322 kB / 477.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.1328, allocations: 1.096 MB / 478.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.1333, allocations: 243.6 kB / 478.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.1335, allocations: 114.5 kB / 478.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.486e-05/0.1336, allocations: 0 / 478.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.1336, allocations: 42.48 kB / 478.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.1336, allocations: 0 / 478.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009016/0.1345, allocations: 349.1 kB / 479 MB, free: 5.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.1346, allocations: 110.8 kB / 479.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003863/0.135, allocations: 405.5 kB / 479.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.135, allocations: 29.7 kB / 479.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.1351, allocations: 203.8 kB / 479.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.1352, allocations: 47.36 kB / 479.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-05/0.1353, allocations: 65.83 kB / 479.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1354, allocations: 338.9 kB / 480.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.1357, allocations: 120 kB / 480.3 MB, free: 3.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/0.136, allocations: 233.7 kB / 480.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006111/0.1367, allocations: 367.2 kB / 480.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.1367, allocations: 8 kB / 480.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007543/0.1374, allocations: 396.7 kB / 481.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.1375, allocations: 8 kB / 481.3 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.384e-05/0.1375, allocations: 20.53 kB / 481.3 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.1376, allocations: 12 kB / 481.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.1378, allocations: 51.89 kB / 481.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.1378, allocations: 11.88 kB / 481.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.1381, allocations: 59.5 kB / 481.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.1381, allocations: 12 kB / 481.5 MB, free: 2.445 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.0001607/0.1383, allocations: 177.7 kB / 481.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.1384, allocations: 27.62 kB / 481.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006393/0.1391, allocations: 288.2 kB / 482 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.1391, allocations: 4 kB / 482 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.1391, allocations: 3.938 kB / 482 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1391, allocations: 4 kB / 482 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.1395, allocations: 305.4 kB / 482.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-05/0.1396, allocations: 19.98 kB / 482.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.1397, allocations: 31.95 kB / 482.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1397, allocations: 4 kB / 482.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.1398, allocations: 4 kB / 482.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1398, allocations: 0 / 482.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.1398, allocations: 3.938 kB / 482.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006447/0.1404, allocations: 0.5085 MB / 482.8 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.12e-05/0.1405, allocations: 104.8 kB / 482.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.595e-05/0.1406, allocations: 4 kB / 482.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.1408, allocations: 15.98 kB / 483 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.965e-05/0.1409, allocations: 27.91 kB / 483 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.141, allocations: 8 kB / 483 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002771/0.1412, allocations: 287.1 kB / 483.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1413, allocations: 0 / 483.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005321/0.1418, allocations: 103.8 kB / 483.4 MB, free: 452 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.0004587/0.1423, allocations: 147.2 kB / 483.5 MB, free: 296 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008072/0.1431, allocations: 438.4 kB / 484 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1431, allocations: 0 / 484 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003603/0.1435, allocations: 274 kB / 484.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/0.1441, allocations: 74.14 kB / 484.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.1452, allocations: 0.6043 MB / 484.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.1456, allocations: 0.7987 MB / 485.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001663/0.1458, allocations: 66.91 kB / 485.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.1458, allocations: 27.42 kB / 485.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1459, allocations: 0 / 485.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of Templates: time 0.0104/0.1563, allocations: 5.676 MB / 491.5 MB, free: 8.301 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 cvode -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