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.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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 102.4 kB / 16.4 MB, free: 6.465 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.001212/0.001212, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.403/1.403, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2089/0.2089, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 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.002077/0.002077, allocations: 59.91 kB / 441.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1147, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003308/0.1181, allocations: 2.006 MB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.1198, allocations: 1.119 MB / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.601e-05/0.1199, allocations: 4 kB / 0.4905 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.1202, allocations: 55.66 kB / 0.4905 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.1204, allocations: 79.52 kB / 0.4906 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.121, allocations: 163.4 kB / 0.4908 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003871/0.1214, allocations: 330.5 kB / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.221e-05/0.1214, allocations: 36.7 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.1216, allocations: 111.4 kB / 0.4912 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.1219, allocations: 143.3 kB / 0.4914 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.199e-05/0.1219, allocations: 8 kB / 0.4914 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.1223, allocations: 187.8 kB / 0.4916 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.586e-05/0.1224, allocations: 75.67 kB / 0.4916 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.1226, allocations: 127.1 kB / 0.4918 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005225/0.1231, allocations: 390.3 kB / 0.4921 GB, free: 7.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1231, allocations: 0 / 0.4921 GB, free: 7.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1231, allocations: 0 / 0.4921 GB, free: 7.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1231, allocations: 0 / 0.4921 GB, free: 7.43 MB / 382.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.00117/0.1243, allocations: 0.6311 MB / 0.4927 GB, free: 6.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1243, allocations: 12.03 kB / 0.4928 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.96e-05/0.1244, allocations: 66.66 kB / 0.4928 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.639e-05/0.1245, allocations: 36.7 kB / 0.4928 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.1248, allocations: 255.5 kB / 0.4931 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.1249, allocations: 16.56 kB / 0.4931 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.96e-05/0.1249, allocations: 28 kB / 0.4931 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007653/0.1257, allocations: 437.8 kB / 0.4936 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1257, allocations: 0 / 0.4936 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.1258, allocations: 12 kB / 0.4936 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/0.1258, allocations: 12.56 kB / 0.4936 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007271/0.1265, allocations: 329.9 kB / 0.4939 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.1281, allocations: 1.104 MB / 0.495 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005775/0.1287, allocations: 243.7 kB / 0.4952 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/0.1291, allocations: 110.5 kB / 0.4953 GB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.987e-05/0.1291, allocations: 15.97 kB / 0.4953 GB, free: 3.938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.1292, allocations: 38.5 kB / 0.4954 GB, free: 3.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.1292, allocations: 0 / 0.4954 GB, free: 3.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001124/0.1303, allocations: 353.3 kB / 0.4957 GB, free: 3.539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/0.1304, allocations: 114.7 kB / 0.4958 GB, free: 3.402 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004472/0.1308, allocations: 397.6 kB / 0.4962 GB, free: 3.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.1309, allocations: 25.7 kB / 0.4962 GB, free: 2.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.131, allocations: 200 kB / 0.4964 GB, free: 2.773 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/0.1311, allocations: 51.58 kB / 0.4964 GB, free: 2.723 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.1312, allocations: 65.88 kB / 0.4965 GB, free: 2.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1314, allocations: 342.8 kB / 0.4968 GB, free: 2.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/0.1317, allocations: 120 kB / 0.497 GB, free: 2.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004019/0.1321, allocations: 227.8 kB / 0.4972 GB, free: 1.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007225/0.1328, allocations: 367 kB / 0.4975 GB, free: 1.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1329, allocations: 0 / 0.4975 GB, free: 1.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009994/0.1339, allocations: 405.2 kB / 0.4979 GB, free: 1.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.1339, allocations: 8 kB / 0.4979 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.992e-05/0.134, allocations: 23.98 kB / 0.4979 GB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.134, allocations: 8 kB / 0.4979 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.1342, allocations: 48.34 kB / 0.498 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.763e-05/0.1343, allocations: 15.92 kB / 0.498 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/0.1347, allocations: 55.61 kB / 0.4981 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.1347, allocations: 20 kB / 0.4981 GB, free: 0.9219 MB / 382.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.0002174/0.1349, allocations: 177.5 kB / 0.4982 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.537e-05/0.135, allocations: 27.81 kB / 0.4983 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006525/0.1357, allocations: 288.2 kB / 0.4985 GB, free: 436 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.1357, allocations: 7.938 kB / 0.4986 GB, free: 428 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.1357, allocations: 3.984 kB / 0.4986 GB, free: 424 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1357, allocations: 7.922 kB / 0.4986 GB, free: 416 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004791/0.1362, allocations: 309.5 kB / 0.4989 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-05/0.1363, allocations: 23.92 kB / 0.4989 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.1364, allocations: 23.97 kB / 0.4989 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.1364, allocations: 4.094 kB / 0.4989 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.1365, allocations: 12.11 kB / 0.4989 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.1365, allocations: 7.875 kB / 0.4989 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1365, allocations: 0 / 0.4989 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007962/0.1373, allocations: 0.5016 MB / 0.4994 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.1374, allocations: 112.8 kB / 0.4995 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.1375, allocations: 8 kB / 0.4995 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.1377, allocations: 19.91 kB / 0.4996 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/0.1378, allocations: 15.98 kB / 0.4996 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.1378, allocations: 8 kB / 0.4996 GB, free: 15.28 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003167/0.1382, allocations: 291.1 kB / 0.4999 GB, free: 15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1382, allocations: 4 kB / 0.4999 GB, free: 15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005094/0.1387, allocations: 95.83 kB / 0.5 GB, free: 14.9 MB / 398.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.001301/0.14, allocations: 1.086 MB / 0.501 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008498/0.1409, allocations: 434.7 kB / 0.5014 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1409, allocations: 0 / 0.5014 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004355/0.1413, allocations: 278.1 kB / 0.5017 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005894/0.1419, allocations: 69.7 kB / 0.5018 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005467/0.1474, allocations: 3.833 MB / 0.5055 GB, free: 8.922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.1479, allocations: 0.8064 MB / 0.5063 GB, free: 8.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002042/0.1481, allocations: 62.92 kB / 0.5063 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.1482, allocations: 83.41 kB / 0.5064 GB, free: 7.941 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1482, allocations: 0 / 0.5064 GB, free: 7.941 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03457/0.1828, allocations: 9.042 MB / 0.5153 GB, free: 14.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.322/8.505, allocations: 12.08 kB / 0.5153 GB, free: 14.9 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.csv","/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_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches