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_overall_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_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01099/0.01099, allocations: 103.8 kB / 15.05 MB, free: 6.023 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.001124/0.001123, allocations: 172.5 kB / 15.93 MB, free: 5.965 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.5 MB, free: 1.008 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.2614/0.2614, allocations: 38.11 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004625, allocations: 8 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09092/0.09142, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002756/0.09423, allocations: 1.464 MB / 373.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005403/0.09969, allocations: 2.473 MB / 376.3 MB, free: 8.879 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.09991, allocations: 0 / 376.3 MB, free: 8.879 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.1002, allocations: 39.81 kB / 376.3 MB, free: 8.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.1006, allocations: 63.77 kB / 376.4 MB, free: 8.777 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.103, allocations: 0.6235 MB / 377 MB, free: 8.152 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.1034, allocations: 159.6 kB / 377.1 MB, free: 7.996 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1035, allocations: 32.36 kB / 377.2 MB, free: 7.965 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.1038, allocations: 87.62 kB / 377.3 MB, free: 7.879 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.104, allocations: 87.61 kB / 377.3 MB, free: 7.793 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.104, allocations: 8 kB / 377.3 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003436/0.1075, allocations: 1.197 MB / 378.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.1077, allocations: 59.81 kB / 378.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.1078, allocations: 73.44 kB / 378.7 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.1095, allocations: 0.5344 MB / 379.2 MB, free: 5.914 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1096, allocations: 0 / 379.2 MB, free: 5.914 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1096, allocations: 0 / 379.2 MB, free: 5.914 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.1096, allocations: 0 / 379.2 MB, free: 5.914 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.001421/0.111, allocations: 0.62 MB / 379.8 MB, free: 5.246 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.1111, allocations: 8.031 kB / 379.8 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/0.1112, allocations: 74.52 kB / 379.9 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.127e-05/0.1113, allocations: 35.58 kB / 379.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.1117, allocations: 238.6 kB / 380.2 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/0.1118, allocations: 24.5 kB / 380.2 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.781e-05/0.1119, allocations: 27.98 kB / 380.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.1132, allocations: 471.2 kB / 380.7 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.1133, allocations: 0 / 380.7 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/0.1134, allocations: 8 kB / 380.7 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001017/0.1135, allocations: 44.97 kB / 380.7 MB, free: 4.277 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.1149, allocations: 0.5582 MB / 381.3 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003086/0.118, allocations: 1.346 MB / 382.6 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009773/0.1191, allocations: 290.4 kB / 382.9 MB, free: 1.961 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.65e-05/0.1191, allocations: 8 kB / 382.9 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.1192, allocations: 42.94 kB / 383 MB, free: 1.902 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 2.916e-06/0.1193, allocations: 0 / 383 MB, free: 1.902 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.001533/0.1208, allocations: 341.2 kB / 383.3 MB, free: 1.562 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.1209, allocations: 59.41 kB / 383.4 MB, free: 1.492 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.1212, allocations: 141.5 kB / 383.5 MB, free: 1.344 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.261e-05/0.1212, allocations: 25.7 kB / 383.5 MB, free: 1.312 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.1214, allocations: 200.1 kB / 383.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.1216, allocations: 82.77 kB / 383.8 MB, free: 1.031 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.1217, allocations: 8 kB / 383.8 MB, free: 1.023 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.1219, allocations: 330.8 kB / 384.1 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/0.1224, allocations: 95.92 kB / 384.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005973/0.123, allocations: 174.2 kB / 384.4 MB, free: 400 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006283/0.1237, allocations: 124.7 kB / 384.5 MB, free: 276 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.1237, allocations: 0 / 384.5 MB, free: 276 kB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001495/0.1252, allocations: 336.9 kB / 384.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.1253, allocations: 9.406 kB / 384.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.1253, allocations: 0 / 384.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/0.1253, allocations: 8 kB / 384.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.1268, allocations: 127.8 kB / 385 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/0.129, allocations: 2.376 MB / 387.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004566/0.1295, allocations: 31.69 kB / 387.4 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.339e-05/0.1296, allocations: 19.92 kB / 387.4 MB, free: 13.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.0003857/0.13, allocations: 174.8 kB / 387.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.57e-05/0.1301, allocations: 11.91 kB / 387.6 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/0.132, allocations: 378.4 kB / 388 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.1321, allocations: 4 kB / 388 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.1321, allocations: 0 / 388 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.1321, allocations: 7.938 kB / 388 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008639/0.133, allocations: 341.3 kB / 388.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.133, allocations: 0 / 388.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/0.1344, allocations: 119.9 kB / 388.4 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.948e-06/0.1344, allocations: 0 / 388.4 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/0.1345, allocations: 8 kB / 388.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.1366, allocations: 2.363 MB / 390.8 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1366, allocations: 0 / 390.8 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.138, allocations: 384.7 kB / 391.2 MB, free: 9.332 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.442e-05/0.1381, allocations: 92.86 kB / 391.3 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.627e-05/0.1382, allocations: 11.92 kB / 391.3 MB, free: 9.211 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/0.1386, allocations: 19.95 kB / 391.3 MB, free: 9.191 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.1388, allocations: 19.97 kB / 391.3 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.208e-05/0.1389, allocations: 15.98 kB / 391.3 MB, free: 9.156 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001292/0.139, allocations: 99.2 kB / 391.4 MB, free: 9.059 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.139, allocations: 0 / 391.4 MB, free: 9.059 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001475/0.1405, allocations: 235.5 kB / 391.7 MB, free: 8.828 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.003049/0.1436, allocations: 1.157 MB / 392.8 MB, free: 7.645 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001827/0.1455, allocations: 296.3 kB / 393.1 MB, free: 7.355 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.1455, allocations: 4 kB / 393.1 MB, free: 7.352 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.1467, allocations: 179.7 kB / 393.3 MB, free: 7.176 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.1472, allocations: 15.95 kB / 393.3 MB, free: 7.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006376/0.1536, allocations: 3.193 MB / 396.5 MB, free: 3.879 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007383/0.1544, allocations: 0.8065 MB / 397.3 MB, free: 3.047 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0008554/0.1553, allocations: 101.7 kB / 397.4 MB, free: 2.949 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/0.1556, allocations: 91.39 kB / 397.5 MB, free: 2.859 MB / 298.7 MB Notification: Performance of SimCode: time 1.824e-06/0.1557, allocations: 0 / 397.5 MB, free: 2.859 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04296/0.1986, allocations: 8.102 MB / 405.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000402/0.1991, allocations: 261.3 kB / 405.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.981/3.18, allocations: 0 / 405.9 MB, free: 10.52 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_overall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat