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.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_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.01139/0.01139, allocations: 104.6 kB / 15.05 MB, free: 5.551 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.001277/0.001277, allocations: 168.8 kB / 15.93 MB, free: 5.523 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.77/1.77, allocations: 170.9 MB / 187.5 MB, free: 0.9844 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.3284/0.3284, allocations: 38.09 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000499/0.0004991, allocations: 12 kB / 323.6 MB, free: 29.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09305/0.09359, allocations: 48.71 MB / 372.3 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.003151/0.0968, allocations: 1.749 MB / 374.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006328/0.1032, allocations: 2.894 MB / 377 MB, free: 8.152 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.1034, allocations: 4 kB / 377 MB, free: 8.148 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004656/0.1039, allocations: 91.53 kB / 377.1 MB, free: 8.059 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004889/0.1044, allocations: 115.6 kB / 377.2 MB, free: 7.945 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003069/0.1075, allocations: 0.76 MB / 377.9 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008001/0.1083, allocations: 415 kB / 378.3 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.1085, allocations: 77.73 kB / 378.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003765/0.1089, allocations: 199 kB / 378.6 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00041/0.1093, allocations: 242.9 kB / 378.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.866e-05/0.1094, allocations: 16 kB / 378.9 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005199/0.1146, allocations: 1.927 MB / 380.8 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002789/0.115, allocations: 127.5 kB / 380.9 MB, free: 4.195 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002595/0.1152, allocations: 121.3 kB / 381 MB, free: 4.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003438/0.1187, allocations: 0.9944 MB / 382 MB, free: 3.074 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1187, allocations: 0 / 382 MB, free: 3.074 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1187, allocations: 0 / 382 MB, free: 3.074 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.1188, allocations: 0 / 382 MB, free: 3.074 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003108/0.1219, allocations: 0.9208 MB / 382.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.136e-05/0.122, allocations: 8.031 kB / 382.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003832/0.1224, allocations: 151.9 kB / 383.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002772/0.1227, allocations: 71.06 kB / 383.2 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000996/0.1237, allocations: 354 kB / 383.5 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.834e-05/0.1238, allocations: 50 kB / 383.6 MB, free: 1.434 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002631/0.1241, allocations: 75.98 kB / 383.6 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003969/0.1281, allocations: 1.225 MB / 384.9 MB, free: 128 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.982e-05/0.1281, allocations: 3.984 kB / 384.9 MB, free: 124 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000174/0.1283, allocations: 27.98 kB / 384.9 MB, free: 96 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002096/0.1286, allocations: 81.95 kB / 385 MB, free: 12 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006382/0.135, allocations: 1.726 MB / 386.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01004/0.145, allocations: 2.958 MB / 389.7 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.1472, allocations: 435.7 kB / 390.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.271e-05/0.1473, allocations: 12.25 kB / 390.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.1474, allocations: 34.84 kB / 390.1 MB, free: 10.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 4.278e-06/0.1474, allocations: 4 kB / 390.1 MB, free: 10.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.00233/0.1497, allocations: 487.9 kB / 390.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.558e-05/0.1499, allocations: 59.34 kB / 390.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004385/0.1503, allocations: 218.3 kB / 390.9 MB, free: 9.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.852e-05/0.1504, allocations: 33.7 kB / 390.9 MB, free: 9.871 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004289/0.1509, allocations: 382.2 kB / 391.3 MB, free: 9.488 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.1511, allocations: 118.3 kB / 391.4 MB, free: 9.371 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.1512, allocations: 12 kB / 391.4 MB, free: 9.359 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002442/0.1514, allocations: 334.8 kB / 391.7 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006803/0.1521, allocations: 149 kB / 391.9 MB, free: 8.875 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008849/0.153, allocations: 350.3 kB / 392.2 MB, free: 8.445 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008625/0.1539, allocations: 208.9 kB / 392.4 MB, free: 8.242 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.1539, allocations: 0 / 392.4 MB, free: 8.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002167/0.1561, allocations: 0.5515 MB / 393 MB, free: 7.684 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.1562, allocations: 8 kB / 393 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.1562, allocations: 4 kB / 393 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.475e-05/0.1562, allocations: 12 kB / 393 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/0.1581, allocations: 208.2 kB / 393.2 MB, free: 7.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002863/0.161, allocations: 2.997 MB / 396.2 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007447/0.1618, allocations: 67.7 kB / 396.3 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.1619, allocations: 31.98 kB / 396.3 MB, free: 4.246 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (geometry[5],roughness,geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007715/0.1627, allocations: 270.5 kB / 396.6 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.1628, allocations: 23.72 kB / 396.6 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003145/0.166, allocations: 0.5775 MB / 397.2 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.166, allocations: 4 kB / 397.2 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.166, allocations: 0 / 397.2 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.1661, allocations: 4 kB / 397.2 MB, free: 3.359 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003929/0.17, allocations: 1.192 MB / 398.4 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.1701, allocations: 4 kB / 398.4 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/0.1717, allocations: 175.8 kB / 398.5 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.667e-05/0.1717, allocations: 4 kB / 398.5 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.058e-05/0.1718, allocations: 24.23 kB / 398.6 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002625/0.1744, allocations: 2.961 MB / 401.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.1745, allocations: 7.969 kB / 401.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.1762, allocations: 0.5976 MB / 402.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.1763, allocations: 104.8 kB / 402.2 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.72e-05/0.1764, allocations: 8 kB / 402.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004628/0.1769, allocations: 15.95 kB / 402.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.1771, allocations: 39.89 kB / 402.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.178e-05/0.1772, allocations: 27.98 kB / 402.3 MB, free: 13.9 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002045/0.1774, allocations: 127.2 kB / 402.5 MB, free: 13.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.1774, allocations: 0 / 402.5 MB, free: 13.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001909/0.1794, allocations: 350.8 kB / 402.8 MB, free: 13.43 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003843/0.1832, allocations: 1.934 MB / 404.7 MB, free: 11.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002478/0.1857, allocations: 484.1 kB / 405.2 MB, free: 10.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.1858, allocations: 4 kB / 405.2 MB, free: 10.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0015/0.1873, allocations: 261.8 kB / 405.5 MB, free: 10.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.1878, allocations: 28.12 kB / 405.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009321/0.1971, allocations: 6.913 MB / 412.4 MB, free: 3.539 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008302/0.198, allocations: 0.9955 MB / 413.4 MB, free: 2.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009608/0.199, allocations: 166.6 kB / 413.6 MB, free: 2.352 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004438/0.1994, allocations: 211.3 kB / 413.8 MB, free: 2.145 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1995, allocations: 0 / 413.8 MB, free: 2.145 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05514/0.2546, allocations: 11.74 MB / 425.5 MB, free: 6.516 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003717/0.255, allocations: 272.5 kB / 425.8 MB, free: 6.152 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.136/3.391, allocations: 0 / 425.8 MB, free: 6.152 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat