Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.0154/0.0154, allocations: 106.3 kB / 15.06 MB, free: 5.949 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.002062/0.002061, allocations: 188.5 kB / 15.95 MB, free: 5.902 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.263/2.263, allocations: 194.6 MB / 211.3 MB, free: 11 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3104/0.3104, allocations: 40.04 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006639/0.0006642, allocations: 15.94 kB / 361.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1274, allocations: 54.87 MB / 416 MB, free: 9 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002702/0.1301, allocations: 1.453 MB / 417.5 MB, free: 7.523 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003224/0.1334, allocations: 1.491 MB / 419 MB, free: 6.027 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.124e-05/0.1335, allocations: 0 / 419 MB, free: 6.027 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002447/0.1337, allocations: 43.75 kB / 419 MB, free: 5.984 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.1341, allocations: 59.83 kB / 419.1 MB, free: 5.926 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.1352, allocations: 359.1 kB / 419.4 MB, free: 5.574 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000304/0.1355, allocations: 167.6 kB / 419.6 MB, free: 5.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.763e-05/0.1356, allocations: 24.41 kB / 419.6 MB, free: 5.383 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.1358, allocations: 83.62 kB / 419.7 MB, free: 5.301 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.136, allocations: 95.58 kB / 419.8 MB, free: 5.207 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.39e-05/0.1361, allocations: 8 kB / 419.8 MB, free: 5.199 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.1376, allocations: 0.6941 MB / 420.5 MB, free: 4.504 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1377, allocations: 59.81 kB / 420.6 MB, free: 4.445 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.663e-05/0.1378, allocations: 65.52 kB / 420.6 MB, free: 4.375 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008463/0.1387, allocations: 367.6 kB / 421 MB, free: 4.016 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1387, allocations: 0 / 421 MB, free: 4.016 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1387, allocations: 0 / 421 MB, free: 4.016 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1387, allocations: 0 / 421 MB, free: 4.016 MB / 314.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.001252/0.14, allocations: 0.5809 MB / 421.6 MB, free: 3.387 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.1401, allocations: 12.03 kB / 421.6 MB, free: 3.375 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/0.1402, allocations: 74.53 kB / 421.6 MB, free: 3.293 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.377e-05/0.1403, allocations: 31.62 kB / 421.7 MB, free: 3.262 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.1406, allocations: 242.6 kB / 421.9 MB, free: 2.984 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.1407, allocations: 20.55 kB / 421.9 MB, free: 2.965 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.566e-05/0.1408, allocations: 24 kB / 422 MB, free: 2.941 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.1419, allocations: 475.2 kB / 422.4 MB, free: 2.473 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.142, allocations: 0 / 422.4 MB, free: 2.473 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.601e-05/0.142, allocations: 16 kB / 422.4 MB, free: 2.457 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.947e-05/0.1421, allocations: 44.97 kB / 422.5 MB, free: 2.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.1436, allocations: 0.5543 MB / 423 MB, free: 1.859 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00292/0.1465, allocations: 1.354 MB / 424.4 MB, free: 392 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009217/0.1474, allocations: 286.4 kB / 424.7 MB, free: 96 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.644e-05/0.1475, allocations: 12 kB / 424.7 MB, free: 84 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.1476, allocations: 34.56 kB / 424.7 MB, free: 40 kB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.903e-06/0.1476, allocations: 0 / 424.7 MB, free: 40 kB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.299/0.4466, allocations: 338.2 kB / 425 MB, free: 16.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.4467, allocations: 54.81 kB / 425.1 MB, free: 16.78 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.4468, allocations: 141.3 kB / 425.2 MB, free: 16.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.4469, allocations: 29.77 kB / 425.3 MB, free: 16.65 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.447, allocations: 195.5 kB / 425.5 MB, free: 16.53 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.698e-05/0.4471, allocations: 90.17 kB / 425.5 MB, free: 16.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.4472, allocations: 5.531 kB / 425.6 MB, free: 16.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.371e-05/0.4473, allocations: 331.4 kB / 425.9 MB, free: 16.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.4477, allocations: 92.66 kB / 426 MB, free: 16.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/0.4481, allocations: 175.2 kB / 426.1 MB, free: 16.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004314/0.4485, allocations: 117.5 kB / 426.3 MB, free: 16.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.4486, allocations: 1 kB / 426.3 MB, free: 16.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001062/0.4496, allocations: 331.4 kB / 426.6 MB, free: 16.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.4497, allocations: 9.438 kB / 426.6 MB, free: 16.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.4497, allocations: 6.328 kB / 426.6 MB, free: 16.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.4497, allocations: 4.125 kB / 426.6 MB, free: 16.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.4508, allocations: 130.1 kB / 426.7 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.4519, allocations: 2.365 MB / 429.1 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.4523, allocations: 39.08 kB / 429.1 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.723e-05/0.4523, allocations: 17.53 kB / 429.1 MB, free: 13.65 MB / 314.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.0002796/0.4526, allocations: 176.3 kB / 429.3 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-05/0.4527, allocations: 14.75 kB / 429.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.4542, allocations: 388 kB / 429.7 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.4542, allocations: 7 kB / 429.7 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.4543, allocations: 0 / 429.7 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.4543, allocations: 2.516 kB / 429.7 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005922/0.4549, allocations: 339.7 kB / 430 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.4549, allocations: 4.922 kB / 430.1 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009719/0.4559, allocations: 124.3 kB / 430.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.4559, allocations: 1.219 kB / 430.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.456, allocations: 11.52 kB / 430.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.457, allocations: 2.361 MB / 432.5 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4571, allocations: 0 / 432.5 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009702/0.4581, allocations: 380.5 kB / 432.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.607e-05/0.4581, allocations: 91.52 kB / 433 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/0.4582, allocations: 8.688 kB / 433 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.4585, allocations: 15.12 kB / 433 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.4586, allocations: 20.17 kB / 433.1 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/0.4586, allocations: 11.45 kB / 433.1 MB, free: 10.63 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.069e-05/0.4587, allocations: 101.3 kB / 433.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4587, allocations: 4 kB / 433.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007998/0.4595, allocations: 169.7 kB / 433.3 MB, free: 10.53 MB / 314.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.001704/0.4613, allocations: 1.032 MB / 434.4 MB, free: 9.805 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.4627, allocations: 307.8 kB / 434.7 MB, free: 9.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4628, allocations: 0.6875 kB / 434.7 MB, free: 9.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008552/0.4636, allocations: 190.6 kB / 434.9 MB, free: 9.719 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.464, allocations: 7.031 kB / 434.9 MB, free: 9.715 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003979/0.468, allocations: 3.138 MB / 438 MB, free: 7.215 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.4684, allocations: 0.8068 MB / 438.8 MB, free: 6.508 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005846/0.469, allocations: 99.09 kB / 438.9 MB, free: 6.484 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.4692, allocations: 89.95 kB / 439 MB, free: 6.422 MB / 314.7 MB Notification: Performance of SimCode: time 1.001e-06/0.4692, allocations: 0 / 439 MB, free: 6.422 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/0.5029, allocations: 6.428 MB / 445.4 MB, free: 5.234 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002806/0.5033, allocations: 270.8 kB / 445.7 MB, free: 4.867 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.878/3.381, allocations: 5.203 kB / 445.7 MB, free: 4.863 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat