Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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.001111/0.001111, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001095/0.001095, allocations: 192 kB / 18.56 MB, free: 4.434 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.335/1.335, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.2081/0.2081, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001204, allocations: 55.34 kB / 408.6 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1081, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003023/0.1112, allocations: 1.818 MB / 471.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.1135, allocations: 1.64 MB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.892e-05/0.1136, allocations: 4 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.1138, allocations: 43.75 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.1141, allocations: 79.58 kB / 473 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007241/0.1148, allocations: 398.7 kB / 473.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.1151, allocations: 242.8 kB / 473.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.587e-05/0.1152, allocations: 28.39 kB / 473.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.1153, allocations: 103.5 kB / 473.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.1155, allocations: 123.4 kB / 473.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.1155, allocations: 8 kB / 473.9 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009234/0.1165, allocations: 0.7016 MB / 474.6 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.267e-05/0.1166, allocations: 67.69 kB / 474.6 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.1167, allocations: 123.1 kB / 474.7 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008078/0.1175, allocations: 0.6156 MB / 475.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1175, allocations: 0 / 475.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1175, allocations: 0 / 475.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1175, allocations: 0 / 475.4 MB, free: 8.25 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009493/0.1185, allocations: 0.62 MB / 476 MB, free: 7.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1185, allocations: 8.031 kB / 476 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.023e-05/0.1186, allocations: 82.64 kB / 476.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.236e-05/0.1187, allocations: 28.56 kB / 476.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.119, allocations: 235.2 kB / 476.3 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.119, allocations: 24.55 kB / 476.3 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/0.119, allocations: 28 kB / 476.4 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000712/0.1198, allocations: 471.3 kB / 476.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1198, allocations: 0 / 476.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.1198, allocations: 11.98 kB / 476.8 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.914e-05/0.1199, allocations: 44.97 kB / 476.9 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007924/0.1207, allocations: 0.5503 MB / 477.4 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.1224, allocations: 1.319 MB / 478.8 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005127/0.123, allocations: 270.5 kB / 479 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.1232, allocations: 96.78 kB / 479.1 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.1232, allocations: 11.94 kB / 479.1 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.1233, allocations: 34.56 kB / 479.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.543e-06/0.1233, allocations: 0 / 479.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007306/0.124, allocations: 333.9 kB / 479.5 MB, free: 3.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.1241, allocations: 51.41 kB / 479.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.1242, allocations: 139 kB / 479.7 MB, free: 3.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.1242, allocations: 33.7 kB / 479.7 MB, free: 3.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.1243, allocations: 200.1 kB / 479.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.753e-05/0.1244, allocations: 86.75 kB / 480 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.617e-05/0.1245, allocations: 73.56 kB / 480.1 MB, free: 3.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.1246, allocations: 326.8 kB / 480.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.1248, allocations: 83.92 kB / 480.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.125, allocations: 178.2 kB / 480.6 MB, free: 2.633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004753/0.1255, allocations: 294.2 kB / 480.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1255, allocations: 4 kB / 480.9 MB, free: 2.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005738/0.1261, allocations: 325.3 kB / 481.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1261, allocations: 8 kB / 481.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1261, allocations: 0 / 481.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.1262, allocations: 7.984 kB / 481.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004867/0.1267, allocations: 123.8 kB / 481.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.1279, allocations: 2.356 MB / 483.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.1281, allocations: 39.61 kB / 483.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.1281, allocations: 20.22 kB / 483.8 MB, free: 15.34 MB / 366.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.0001711/0.1283, allocations: 177.7 kB / 484 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.1283, allocations: 11.91 kB / 484 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007987/0.1291, allocations: 354.4 kB / 484.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1292, allocations: 4 kB / 484.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1292, allocations: 4 kB / 484.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1292, allocations: 7.875 kB / 484.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.1296, allocations: 349.3 kB / 484.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1296, allocations: 4 kB / 484.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004085/0.13, allocations: 107.9 kB / 484.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.13, allocations: 0 / 484.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.13, allocations: 8 kB / 484.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.131, allocations: 2.364 MB / 487.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1311, allocations: 8.125 kB / 487.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005298/0.1316, allocations: 364.4 kB / 487.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/0.1316, allocations: 92.95 kB / 487.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.1317, allocations: 4 kB / 487.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.1318, allocations: 11.98 kB / 487.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.1319, allocations: 23.97 kB / 487.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.1319, allocations: 12 kB / 487.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.482e-05/0.132, allocations: 100.4 kB / 487.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.132, allocations: 3.938 kB / 487.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005218/0.1325, allocations: 175.5 kB / 487.9 MB, free: 11 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 (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.001047/0.1336, allocations: 1.017 MB / 489 MB, free: 9.953 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008058/0.1344, allocations: 363.5 kB / 489.3 MB, free: 9.598 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1344, allocations: 0 / 489.3 MB, free: 9.598 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004279/0.1349, allocations: 175.8 kB / 489.5 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.1352, allocations: 14.31 kB / 489.5 MB, free: 9.414 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.1381, allocations: 2.541 MB / 492 MB, free: 6.727 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.1385, allocations: 0.7987 MB / 492.8 MB, free: 5.902 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003079/0.1388, allocations: 97.75 kB / 492.9 MB, free: 5.809 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.1389, allocations: 95.39 kB / 493 MB, free: 5.715 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1389, allocations: 0 / 493 MB, free: 5.715 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.1651, allocations: 6.936 MB / 500 MB, free: 14.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.33, allocations: 21.81 kB / 500 MB, free: 14.97 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches