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.001564/0.001564, allocations: 107.8 kB / 16.41 MB, free: 6.484 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.001782/0.001782, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.389/1.389, 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.1973/0.1973, allocations: 43.52 MB / 314.1 MB, free: 464 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.001508/0.001508, allocations: 60.23 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09698/0.0985, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003079/0.1016, allocations: 1.834 MB / 0.4892 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002689/0.1043, allocations: 1.688 MB / 0.4909 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1045, allocations: 0 / 0.4909 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.1048, allocations: 51.69 kB / 0.4909 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.1051, allocations: 71.59 kB / 0.491 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009323/0.1061, allocations: 410.5 kB / 0.4914 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002933/0.1064, allocations: 238.8 kB / 0.4916 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.747e-05/0.1064, allocations: 36.36 kB / 0.4916 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.1066, allocations: 103.4 kB / 0.4917 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.1068, allocations: 111.5 kB / 0.4918 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.1069, allocations: 8 kB / 0.4918 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.1079, allocations: 0.7055 MB / 0.4925 GB, free: 7.031 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.108, allocations: 67.62 kB / 0.4926 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.1082, allocations: 119.2 kB / 0.4927 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.1092, allocations: 0.6192 MB / 0.4933 GB, free: 6.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1092, allocations: 4 kB / 0.4933 GB, free: 6.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1092, allocations: 0 / 0.4933 GB, free: 6.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.1092, allocations: 0 / 0.4933 GB, free: 6.223 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.001057/0.1103, allocations: 0.6124 MB / 0.4939 GB, free: 5.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1103, allocations: 8.031 kB / 0.4939 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.419e-05/0.1104, allocations: 78.7 kB / 0.494 GB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.257e-05/0.1105, allocations: 28.56 kB / 0.494 GB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.1108, allocations: 247 kB / 0.4943 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.1108, allocations: 32.48 kB / 0.4943 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.1108, allocations: 20 kB / 0.4943 GB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006839/0.1115, allocations: 471.2 kB / 0.4948 GB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1115, allocations: 0 / 0.4948 GB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.1116, allocations: 8 kB / 0.4948 GB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.733e-05/0.1116, allocations: 48.97 kB / 0.4948 GB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007691/0.1124, allocations: 0.5426 MB / 0.4953 GB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.1143, allocations: 1.303 MB / 0.4966 GB, free: 2.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005169/0.1148, allocations: 274.4 kB / 0.4969 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.115, allocations: 100.8 kB / 0.497 GB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.1151, allocations: 7.938 kB / 0.497 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1151, allocations: 34.56 kB / 0.497 GB, free: 2.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.1151, allocations: 4 kB / 0.497 GB, free: 2.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.000731/0.1159, allocations: 333.2 kB / 0.4973 GB, free: 1.855 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.1159, allocations: 51.41 kB / 0.4974 GB, free: 1.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.116, allocations: 146.1 kB / 0.4975 GB, free: 1.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.1161, allocations: 33.7 kB / 0.4976 GB, free: 1.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.1162, allocations: 187.7 kB / 0.4977 GB, free: 1.414 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.078e-05/0.1162, allocations: 87.12 kB / 0.4978 GB, free: 1.328 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.569e-05/0.1163, allocations: 69.7 kB / 0.4979 GB, free: 1.254 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.903e-05/0.1164, allocations: 330.8 kB / 0.4982 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.1166, allocations: 91.78 kB / 0.4983 GB, free: 0.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.1169, allocations: 170.2 kB / 0.4985 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000437/0.1173, allocations: 298.8 kB / 0.4987 GB, free: 308 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1173, allocations: 3.938 kB / 0.4987 GB, free: 304 kB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000535/0.1179, allocations: 321 kB / 0.499 GB, free: 15.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.1179, allocations: 11.98 kB / 0.4991 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.1179, allocations: 4 kB / 0.4991 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.1179, allocations: 4.344 kB / 0.4991 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004608/0.1184, allocations: 119.8 kB / 0.4992 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.1196, allocations: 2.356 MB / 0.5015 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.1198, allocations: 43.58 kB / 0.5015 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.1198, allocations: 16 kB / 0.5015 GB, free: 13.33 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.0001681/0.12, allocations: 189.5 kB / 0.5017 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.12, allocations: 20 kB / 0.5017 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006749/0.1207, allocations: 354.8 kB / 0.5021 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/0.1207, allocations: 7.984 kB / 0.5021 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1207, allocations: 3.938 kB / 0.5021 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.1207, allocations: 7.922 kB / 0.5021 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.1211, allocations: 341.2 kB / 0.5024 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1211, allocations: 7.938 kB / 0.5024 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003852/0.1215, allocations: 103.9 kB / 0.5025 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1215, allocations: 4 kB / 0.5025 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.1216, allocations: 8 kB / 0.5025 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.1226, allocations: 2.364 MB / 0.5048 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1226, allocations: 0 / 0.5048 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005164/0.1231, allocations: 380.3 kB / 0.5052 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.1232, allocations: 96.86 kB / 0.5053 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.1232, allocations: 4 kB / 0.5053 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.1234, allocations: 11.98 kB / 0.5053 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.1234, allocations: 19.97 kB / 0.5053 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.1235, allocations: 15.94 kB / 0.5054 GB, free: 9.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.726e-05/0.1235, allocations: 99.27 kB / 0.5054 GB, free: 9.133 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1236, allocations: 0 / 0.5054 GB, free: 9.133 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005305/0.1241, allocations: 171.5 kB / 0.5056 GB, free: 8.965 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.001154/0.1252, allocations: 1.02 MB / 0.5066 GB, free: 7.918 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007026/0.126, allocations: 292.4 kB / 0.5069 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.126, allocations: 4 kB / 0.5069 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004034/0.1264, allocations: 180.3 kB / 0.5071 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.1267, allocations: 16 kB / 0.5071 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.1296, allocations: 2.532 MB / 0.5095 GB, free: 4.762 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.1299, allocations: 0.7987 MB / 0.5103 GB, free: 3.938 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002281/0.1302, allocations: 97.73 kB / 0.5104 GB, free: 3.844 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.1303, allocations: 91.39 kB / 0.5105 GB, free: 3.754 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1303, allocations: 0 / 0.5105 GB, free: 3.754 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02471/0.1551, allocations: 7.155 MB / 0.5175 GB, free: 12.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.36, allocations: 4.188 kB / 0.5175 GB, free: 12.59 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 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.mat","/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