Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01142/0.01142, allocations: 105.6 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001244/0.001244, allocations: 171.4 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.665/1.665, allocations: 170.9 MB / 187.6 MB, free: 0.9961 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2645/0.2645, allocations: 38.1 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007496/0.00075, allocations: 8 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0955/0.0963, allocations: 48.71 MB / 372.3 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002673/0.09903, allocations: 1.464 MB / 373.8 MB, free: 11.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003166/0.1022, allocations: 1.463 MB / 375.2 MB, free: 9.879 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.1024, allocations: 0 / 375.2 MB, free: 9.879 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.1027, allocations: 43.8 kB / 375.3 MB, free: 9.836 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.103, allocations: 55.83 kB / 375.3 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.1043, allocations: 355.2 kB / 375.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.1046, allocations: 163.6 kB / 375.8 MB, free: 9.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1047, allocations: 36.36 kB / 375.9 MB, free: 9.238 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.105, allocations: 83.58 kB / 376 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.1051, allocations: 91.59 kB / 376.1 MB, free: 9.066 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.1052, allocations: 8 kB / 376.1 MB, free: 9.059 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.1068, allocations: 0.6903 MB / 376.8 MB, free: 8.367 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.1069, allocations: 67.78 kB / 376.8 MB, free: 8.301 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.621e-05/0.107, allocations: 69.52 kB / 376.9 MB, free: 8.227 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000887/0.1079, allocations: 363.6 kB / 377.2 MB, free: 7.871 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1079, allocations: 0 / 377.2 MB, free: 7.871 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1079, allocations: 0 / 377.2 MB, free: 7.871 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.108, allocations: 0 / 377.2 MB, free: 7.871 MB / 282.7 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.001205/0.1092, allocations: 0.577 MB / 377.8 MB, free: 7.246 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.1093, allocations: 12.03 kB / 377.8 MB, free: 7.234 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001204/0.1094, allocations: 78.52 kB / 377.9 MB, free: 7.148 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.247e-05/0.1095, allocations: 27.62 kB / 377.9 MB, free: 7.121 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.1099, allocations: 242.6 kB / 378.2 MB, free: 6.844 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.1099, allocations: 16.56 kB / 378.2 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.157e-05/0.11, allocations: 27.98 kB / 378.2 MB, free: 6.797 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.1111, allocations: 471.2 kB / 378.7 MB, free: 6.332 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.1112, allocations: 4 kB / 378.7 MB, free: 6.328 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.536e-05/0.1112, allocations: 8 kB / 378.7 MB, free: 6.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.922e-05/0.1113, allocations: 44.97 kB / 378.7 MB, free: 6.277 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.1129, allocations: 0.5543 MB / 379.3 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003121/0.116, allocations: 1.346 MB / 380.6 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009784/0.1171, allocations: 290.4 kB / 380.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.422e-05/0.1172, allocations: 7.984 kB / 380.9 MB, free: 3.957 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.1172, allocations: 35 kB / 381 MB, free: 3.914 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 2.816e-06/0.1172, allocations: 3.938 kB / 381 MB, free: 3.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.00127/0.1185, allocations: 345.2 kB / 381.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.1186, allocations: 67.27 kB / 381.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.1187, allocations: 137.5 kB / 381.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.1188, allocations: 29.7 kB / 381.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.119, allocations: 196.1 kB / 381.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.1191, allocations: 86.75 kB / 381.8 MB, free: 3.027 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.1191, allocations: 4 kB / 381.8 MB, free: 3.023 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1193, allocations: 326.8 kB / 382.1 MB, free: 2.695 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.1196, allocations: 95.91 kB / 382.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004346/0.1201, allocations: 178.2 kB / 382.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/0.1205, allocations: 120.7 kB / 382.5 MB, free: 2.273 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.1205, allocations: 4 kB / 382.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001029/0.1216, allocations: 332.9 kB / 382.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.1216, allocations: 5.406 kB / 382.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1216, allocations: 4 kB / 382.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.1217, allocations: 4 kB / 382.9 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.1227, allocations: 136.2 kB / 383 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.1244, allocations: 2.364 MB / 385.3 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/0.1248, allocations: 35.67 kB / 385.4 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.453e-05/0.1248, allocations: 27.94 kB / 385.4 MB, free: 15.27 MB / 298.7 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002918/0.1251, allocations: 178.9 kB / 385.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.1252, allocations: 7.906 kB / 385.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.1266, allocations: 378.3 kB / 386 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.1267, allocations: 7.938 kB / 386 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.1267, allocations: 0 / 386 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.1267, allocations: 3.984 kB / 386 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006044/0.1273, allocations: 345.2 kB / 386.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1273, allocations: 0 / 386.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009765/0.1283, allocations: 119.9 kB / 386.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.1283, allocations: 3.984 kB / 386.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.1284, allocations: 8 kB / 386.4 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.13, allocations: 2.368 MB / 388.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.13, allocations: 0 / 388.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009464/0.131, allocations: 372.5 kB / 389.2 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.611e-05/0.1311, allocations: 100.9 kB / 389.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.566e-05/0.1311, allocations: 4 kB / 389.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.1314, allocations: 19.92 kB / 389.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.929e-05/0.1315, allocations: 23.92 kB / 389.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/0.1315, allocations: 15.98 kB / 389.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.122e-05/0.1316, allocations: 95.27 kB / 389.4 MB, free: 11.06 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1316, allocations: 0 / 389.4 MB, free: 11.06 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007655/0.1324, allocations: 163.6 kB / 389.6 MB, free: 10.9 MB / 298.7 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001787/0.1342, allocations: 1.037 MB / 390.6 MB, free: 9.836 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.1356, allocations: 303.7 kB / 390.9 MB, free: 9.539 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1356, allocations: 0 / 390.9 MB, free: 9.539 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008659/0.1365, allocations: 188.4 kB / 391.1 MB, free: 9.355 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.1368, allocations: 19.89 kB / 391.1 MB, free: 9.336 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/0.141, allocations: 3.142 MB / 394.3 MB, free: 6.105 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.1415, allocations: 0.8142 MB / 395.1 MB, free: 5.266 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005737/0.1421, allocations: 97.73 kB / 395.2 MB, free: 5.172 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.1424, allocations: 91.39 kB / 395.3 MB, free: 5.082 MB / 298.7 MB Notification: Performance of SimCode: time 1.362e-06/0.1424, allocations: 0 / 395.3 MB, free: 5.082 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0315/0.1739, allocations: 6.428 MB / 401.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003838/0.1743, allocations: 255 kB / 401.9 MB, free: 14.43 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.82/2.995, allocations: 0 / 401.9 MB, free: 14.43 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat