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_laminar_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_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_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.001056/0.001057, allocations: 106.7 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.0009709/0.000971, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.259/1.259, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2001/0.2001, allocations: 43.51 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.001474/0.001474, allocations: 71.91 kB / 441.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1061, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003902/0.1101, allocations: 1.784 MB / 0.4892 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.1117, allocations: 0.8499 MB / 0.49 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.678e-05/0.1118, allocations: 0 / 0.49 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.1121, allocations: 43.81 kB / 0.49 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.1124, allocations: 71.59 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.1127, allocations: 67.72 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.1129, allocations: 143.4 kB / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.579e-05/0.113, allocations: 11.98 kB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.1131, allocations: 63.77 kB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.1133, allocations: 79.72 kB / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.1133, allocations: 7.938 kB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.1135, allocations: 75.88 kB / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.271e-05/0.1135, allocations: 23.97 kB / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.499e-05/0.1136, allocations: 47.67 kB / 0.4906 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.1139, allocations: 135.4 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.114, allocations: 0 / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.114, allocations: 8 kB / 0.4907 GB, free: 8.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.114, allocations: 0 / 0.4907 GB, free: 8.832 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000705/0.1147, allocations: 407 kB / 0.4911 GB, free: 8.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.1147, allocations: 8.031 kB / 0.4911 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.332e-05/0.1148, allocations: 50.73 kB / 0.4912 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004385/0.1153, allocations: 32.86 kB / 0.4912 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.1155, allocations: 188.2 kB / 0.4914 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.1156, allocations: 12.38 kB / 0.4914 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.1156, allocations: 11.94 kB / 0.4914 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.116, allocations: 184 kB / 0.4916 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.116, allocations: 0 / 0.4916 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.116, allocations: 0 / 0.4916 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/0.1161, allocations: 11.98 kB / 0.4916 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003308/0.1164, allocations: 139.8 kB / 0.4917 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008905/0.1173, allocations: 0.6445 MB / 0.4924 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.1177, allocations: 110.7 kB / 0.4925 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.1178, allocations: 48.75 kB / 0.4925 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.1178, allocations: 0 / 0.4925 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1179, allocations: 38.56 kB / 0.4926 GB, free: 6.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.265e-06/0.1179, allocations: 0 / 0.4926 GB, free: 6.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004796/0.1184, allocations: 145.4 kB / 0.4927 GB, free: 6.621 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.1184, allocations: 51.41 kB / 0.4928 GB, free: 6.559 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.1186, allocations: 130 kB / 0.4929 GB, free: 6.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1186, allocations: 29.7 kB / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.851e-05/0.1187, allocations: 116.1 kB / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.1187, allocations: 35.92 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.1187, allocations: 25.72 kB / 0.4931 GB, free: 6.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1189, allocations: 326.8 kB / 0.4934 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.119, allocations: 31.97 kB / 0.4934 GB, free: 5.844 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.1191, allocations: 103.6 kB / 0.4935 GB, free: 5.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.1194, allocations: 139.5 kB / 0.4936 GB, free: 5.551 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1194, allocations: 0 / 0.4936 GB, free: 5.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003263/0.1197, allocations: 165.5 kB / 0.4938 GB, free: 5.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1198, allocations: 4 kB / 0.4938 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.1198, allocations: 4 kB / 0.4938 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.1198, allocations: 4 kB / 0.4938 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.12, allocations: 35.97 kB / 0.4939 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.12, allocations: 4 kB / 0.4939 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.934e-05/0.1201, allocations: 15.89 kB / 0.4939 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.1201, allocations: 12.09 kB / 0.4939 GB, free: 5.305 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 9.103e-05/0.1202, allocations: 137.6 kB / 0.494 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.1203, allocations: 7.953 kB / 0.494 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000329/0.1206, allocations: 125.9 kB / 0.4941 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1206, allocations: 0 / 0.4941 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1206, allocations: 0 / 0.4941 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1206, allocations: 0 / 0.4941 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.1209, allocations: 213.5 kB / 0.4943 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1209, allocations: 0 / 0.4943 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.121, allocations: 31.97 kB / 0.4944 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.121, allocations: 4 kB / 0.4944 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.121, allocations: 0 / 0.4944 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.121, allocations: 0 / 0.4944 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.121, allocations: 0 / 0.4944 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.1214, allocations: 219.3 kB / 0.4946 GB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/0.1214, allocations: 77.11 kB / 0.4947 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.1215, allocations: 0 / 0.4947 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.89e-05/0.1216, allocations: 15.92 kB / 0.4947 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.1216, allocations: 11.92 kB / 0.4947 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.1216, allocations: 0 / 0.4947 GB, free: 4.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.704e-05/0.1217, allocations: 95.27 kB / 0.4948 GB, free: 4.281 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1217, allocations: 0 / 0.4948 GB, free: 4.281 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.122, allocations: 35.89 kB / 0.4948 GB, free: 4.246 MB / 382.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0006177/0.1226, allocations: 0.748 MB / 0.4955 GB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003029/0.1229, allocations: 95.88 kB / 0.4956 GB, free: 3.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1229, allocations: 0 / 0.4956 GB, free: 3.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.123, allocations: 47.89 kB / 0.4957 GB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.1233, allocations: 8.5 kB / 0.4957 GB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.1251, allocations: 1.665 MB / 0.4973 GB, free: 1.527 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.1254, allocations: 0.708 MB / 0.498 GB, free: 0.793 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.893e-05/0.1255, allocations: 28.53 kB / 0.498 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.1256, allocations: 31.42 kB / 0.4981 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1256, allocations: 0 / 0.4981 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.1432, allocations: 2.304 MB / 0.5003 GB, free: 14.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.241/7.385, allocations: 12.05 kB / 0.5003 GB, free: 14.44 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches