Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.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.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",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.001081/0.001082, allocations: 110.4 kB / 16.41 MB, free: 6.5 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.001158/0.001158, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.266/1.266, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.1937/0.1937, allocations: 43.53 MB / 314.1 MB, free: 456 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.001406/0.001406, allocations: 71.91 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1108, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003105/0.114, allocations: 1.819 MB / 0.4892 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.1164, allocations: 1.684 MB / 0.4908 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.1165, allocations: 4 kB / 0.4909 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.1168, allocations: 51.75 kB / 0.4909 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002909/0.1171, allocations: 75.58 kB / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008223/0.1179, allocations: 410.5 kB / 0.4914 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.1182, allocations: 242.7 kB / 0.4916 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.268e-05/0.1183, allocations: 28.38 kB / 0.4916 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.1185, allocations: 107.5 kB / 0.4917 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.1187, allocations: 119.4 kB / 0.4918 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.1187, allocations: 8 kB / 0.4918 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000984/0.1197, allocations: 0.6978 MB / 0.4925 GB, free: 7.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.46e-05/0.1198, allocations: 75.62 kB / 0.4926 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.1199, allocations: 111.2 kB / 0.4927 GB, free: 6.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008748/0.1208, allocations: 0.6188 MB / 0.4933 GB, free: 6.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1208, allocations: 8 kB / 0.4933 GB, free: 6.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1208, allocations: 0 / 0.4933 GB, free: 6.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.1208, allocations: 3.984 kB / 0.4933 GB, free: 6.199 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009869/0.1218, allocations: 0.6229 MB / 0.4939 GB, free: 5.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1219, allocations: 8.031 kB / 0.4939 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.865e-05/0.122, allocations: 78.72 kB / 0.494 GB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.264e-05/0.122, allocations: 28.75 kB / 0.494 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.1223, allocations: 247.1 kB / 0.4943 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.1223, allocations: 24.55 kB / 0.4943 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/0.1224, allocations: 31.94 kB / 0.4943 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006757/0.1231, allocations: 467.2 kB / 0.4948 GB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1231, allocations: 0 / 0.4948 GB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.1231, allocations: 12 kB / 0.4948 GB, free: 4.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.79e-05/0.1232, allocations: 48.95 kB / 0.4948 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007742/0.124, allocations: 0.5465 MB / 0.4954 GB, free: 4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.1258, allocations: 1.3 MB / 0.4966 GB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005043/0.1263, allocations: 278.3 kB / 0.4969 GB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.1265, allocations: 100.8 kB / 0.497 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.1265, allocations: 7.938 kB / 0.497 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.1266, allocations: 38.5 kB / 0.497 GB, free: 2.145 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.333e-06/0.1266, allocations: 0 / 0.497 GB, free: 2.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007461/0.1273, allocations: 333.3 kB / 0.4974 GB, free: 1.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.1274, allocations: 55.41 kB / 0.4974 GB, free: 1.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.1275, allocations: 134.1 kB / 0.4975 GB, free: 1.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.1276, allocations: 33.7 kB / 0.4976 GB, free: 1.566 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.1278, allocations: 204.2 kB / 0.4978 GB, free: 1.363 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.908e-05/0.1278, allocations: 91.61 kB / 0.4979 GB, free: 1.273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.128, allocations: 69.69 kB / 0.4979 GB, free: 1.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1281, allocations: 326.8 kB / 0.4982 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.1283, allocations: 91.78 kB / 0.4983 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.1286, allocations: 166.2 kB / 0.4985 GB, free: 0.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004994/0.1291, allocations: 302.7 kB / 0.4988 GB, free: 256 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.1291, allocations: 0 / 0.4988 GB, free: 256 kB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006598/0.1298, allocations: 333 kB / 0.4991 GB, free: 15.92 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.1298, allocations: 4 kB / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.1299, allocations: 4 kB / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.1299, allocations: 4 kB / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000518/0.1304, allocations: 120.2 kB / 0.4992 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/0.1319, allocations: 2.368 MB / 0.5015 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.1321, allocations: 39.64 kB / 0.5016 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.1322, allocations: 16 kB / 0.5016 GB, free: 13.27 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001833/0.1324, allocations: 181.5 kB / 0.5018 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.1324, allocations: 16.09 kB / 0.5018 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006995/0.1331, allocations: 362.7 kB / 0.5021 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1331, allocations: 4 kB / 0.5021 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1331, allocations: 3.938 kB / 0.5021 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1332, allocations: 3.938 kB / 0.5021 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.1335, allocations: 345.3 kB / 0.5025 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1336, allocations: 0 / 0.5025 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004029/0.134, allocations: 103.9 kB / 0.5026 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.134, allocations: 4 kB / 0.5026 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.134, allocations: 16 kB / 0.5026 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.1354, allocations: 2.364 MB / 0.5049 GB, free: 9.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1354, allocations: 0 / 0.5049 GB, free: 9.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005822/0.136, allocations: 384.3 kB / 0.5052 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.528e-05/0.1361, allocations: 105 kB / 0.5053 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.1361, allocations: 4 kB / 0.5054 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.1363, allocations: 15.98 kB / 0.5054 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.1363, allocations: 15.97 kB / 0.5054 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.1363, allocations: 12 kB / 0.5054 GB, free: 9.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.161e-05/0.1364, allocations: 103.3 kB / 0.5055 GB, free: 9.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1364, allocations: 0 / 0.5055 GB, free: 9.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005153/0.1369, allocations: 167.2 kB / 0.5057 GB, free: 8.906 MB / 398.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001133/0.1381, allocations: 1.02 MB / 0.5066 GB, free: 7.859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007447/0.1388, allocations: 299.6 kB / 0.5069 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1389, allocations: 0.6875 kB / 0.5069 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004287/0.1393, allocations: 184.3 kB / 0.5071 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.1396, allocations: 12 kB / 0.5071 GB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/0.1427, allocations: 2.551 MB / 0.5096 GB, free: 4.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.1431, allocations: 0.8025 MB / 0.5104 GB, free: 3.852 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002398/0.1433, allocations: 97.73 kB / 0.5105 GB, free: 3.758 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.1434, allocations: 91.39 kB / 0.5106 GB, free: 3.668 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1434, allocations: 0 / 0.5106 GB, free: 3.668 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.1695, allocations: 7.081 MB / 0.5175 GB, free: 12.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.25, allocations: 8.25 kB / 0.5175 GB, free: 12.58 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches