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_overall_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_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.01544/0.01545, allocations: 108.5 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.2.mo): time 0.001949/0.001949, allocations: 181.3 kB / 15.95 MB, free: 5.52 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.173/2.173, allocations: 194.6 MB / 211.3 MB, free: 11.23 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.3568/0.3568, allocations: 40.04 MB / 296.5 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004669, allocations: 12 kB / 361.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1352, allocations: 54.86 MB / 416 MB, free: 9.016 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002704/0.138, allocations: 1.453 MB / 417.5 MB, free: 7.539 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005545/0.1436, allocations: 2.504 MB / 420 MB, free: 5.027 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.1438, allocations: 0 / 420 MB, free: 5.027 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.1441, allocations: 35.81 kB / 420 MB, free: 4.992 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.1444, allocations: 63.77 kB / 420.1 MB, free: 4.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002494/0.147, allocations: 0.6311 MB / 420.7 MB, free: 4.297 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003626/0.1474, allocations: 163.7 kB / 420.9 MB, free: 4.137 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1475, allocations: 28.38 kB / 420.9 MB, free: 4.105 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.1477, allocations: 83.62 kB / 421 MB, free: 4.023 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.1479, allocations: 91.61 kB / 421.1 MB, free: 3.934 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.1479, allocations: 8 kB / 421.1 MB, free: 3.926 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002905/0.1508, allocations: 1.197 MB / 422.3 MB, free: 2.727 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.151, allocations: 59.75 kB / 422.3 MB, free: 2.668 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.1512, allocations: 65.56 kB / 422.4 MB, free: 2.598 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.1528, allocations: 0.5305 MB / 422.9 MB, free: 2.066 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1529, allocations: 4 kB / 422.9 MB, free: 2.062 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1529, allocations: 3.938 kB / 422.9 MB, free: 2.059 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1529, allocations: 0 / 422.9 MB, free: 2.059 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.001357/0.1543, allocations: 0.6228 MB / 423.6 MB, free: 1.391 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.1543, allocations: 12.02 kB / 423.6 MB, free: 1.379 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/0.1545, allocations: 78.47 kB / 423.7 MB, free: 1.293 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.834e-05/0.1546, allocations: 27.62 kB / 423.7 MB, free: 1.266 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/0.155, allocations: 242.6 kB / 423.9 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.155, allocations: 20.55 kB / 423.9 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.908e-05/0.1551, allocations: 27.95 kB / 424 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.1563, allocations: 467.3 kB / 424.4 MB, free: 492 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.1563, allocations: 0 / 424.4 MB, free: 492 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.71e-05/0.1564, allocations: 12 kB / 424.4 MB, free: 480 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-05/0.1565, allocations: 40.97 kB / 424.5 MB, free: 436 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3226/0.4791, allocations: 0.5626 MB / 425 MB, free: 16.35 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003058/0.4822, allocations: 1.354 MB / 426.4 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.4833, allocations: 286.5 kB / 426.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.05e-05/0.4834, allocations: 8.688 kB / 426.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.4834, allocations: 36.56 kB / 426.7 MB, free: 15.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 3.346e-06/0.4835, allocations: 0 / 426.7 MB, free: 15.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.001282/0.4847, allocations: 345.1 kB / 427.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.4848, allocations: 58.77 kB / 427.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.485, allocations: 139 kB / 427.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.485, allocations: 31.53 kB / 427.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.4852, allocations: 191 kB / 427.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.626e-05/0.4853, allocations: 86.83 kB / 427.6 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.4853, allocations: 5.062 kB / 427.6 MB, free: 15.15 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.025e-05/0.4854, allocations: 328.9 kB / 427.9 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003675/0.4858, allocations: 98.23 kB / 428 MB, free: 14.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/0.4862, allocations: 172.8 kB / 428.1 MB, free: 14.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004222/0.4867, allocations: 121.8 kB / 428.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.4867, allocations: 1.094 kB / 428.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001058/0.4878, allocations: 328.8 kB / 428.6 MB, free: 14.67 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.4878, allocations: 7.516 kB / 428.6 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.4879, allocations: 2.562 kB / 428.6 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/0.4879, allocations: 4.188 kB / 428.6 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.489, allocations: 136.5 kB / 428.7 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.4901, allocations: 2.366 MB / 431.1 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.4905, allocations: 40.75 kB / 431.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.616e-05/0.4905, allocations: 17.12 kB / 431.2 MB, free: 12.3 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.0003243/0.4909, allocations: 175.4 kB / 431.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.4909, allocations: 11.59 kB / 431.3 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.4924, allocations: 389.2 kB / 431.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.4925, allocations: 3.562 kB / 431.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.4925, allocations: 0.7969 kB / 431.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.4925, allocations: 5.172 kB / 431.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006045/0.4931, allocations: 342.6 kB / 432.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.4931, allocations: 1.125 kB / 432.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009735/0.4941, allocations: 122 kB / 432.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.4941, allocations: 1.781 kB / 432.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.4942, allocations: 7.266 kB / 432.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/0.4953, allocations: 2.367 MB / 434.6 MB, free: 9.531 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4953, allocations: 0.7031 kB / 434.6 MB, free: 9.531 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.4963, allocations: 374.8 kB / 434.9 MB, free: 9.387 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.31e-05/0.4964, allocations: 99.3 kB / 435 MB, free: 9.277 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.082e-05/0.4965, allocations: 5.281 kB / 435 MB, free: 9.277 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.4968, allocations: 20.67 kB / 435 MB, free: 9.273 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.4969, allocations: 22.17 kB / 435.1 MB, free: 9.273 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-05/0.497, allocations: 11.62 kB / 435.1 MB, free: 9.273 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.835e-05/0.4971, allocations: 101.4 kB / 435.2 MB, free: 9.199 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4971, allocations: 0 / 435.2 MB, free: 9.199 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000967/0.4981, allocations: 241.3 kB / 435.4 MB, free: 9.164 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.002134/0.5002, allocations: 1.151 MB / 436.6 MB, free: 8.395 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.5017, allocations: 308.7 kB / 436.9 MB, free: 8.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5017, allocations: 0 / 436.9 MB, free: 8.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008477/0.5026, allocations: 186.6 kB / 437 MB, free: 8.312 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.5029, allocations: 14.7 kB / 437.1 MB, free: 8.301 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004002/0.507, allocations: 3.177 MB / 440.2 MB, free: 5.762 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.5074, allocations: 0.811 MB / 441 MB, free: 5.055 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000579/0.508, allocations: 103.1 kB / 441.2 MB, free: 5.031 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.5082, allocations: 89.16 kB / 441.2 MB, free: 4.969 MB / 314.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5082, allocations: 0 / 441.2 MB, free: 4.969 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04693/0.5551, allocations: 8.123 MB / 449.4 MB, free: 2.543 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002688/0.5555, allocations: 260.7 kB / 449.6 MB, free: 2.184 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.862/3.417, allocations: 1.125 kB / 449.6 MB, free: 2.184 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_overall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat