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.General.dp_nominalDensityViscosity_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.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.01102/0.01102, allocations: 107.8 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.001264/0.001263, allocations: 177.2 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.057/2.057, allocations: 194.5 MB / 211.3 MB, free: 11.05 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.2764/0.2764, allocations: 40.04 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007249/0.000725, allocations: 8 kB / 361.2 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.151, allocations: 54.88 MB / 416 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.00338/0.1545, allocations: 1.464 MB / 417.5 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.1562, allocations: 0.5574 MB / 418.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.963e-05/0.1564, allocations: 0 / 418.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003873/0.1568, allocations: 43.8 kB / 418.1 MB, free: 468 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002401/0.1571, allocations: 47.84 kB / 418.2 MB, free: 420 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006037/0.1577, allocations: 91.73 kB / 418.2 MB, free: 328 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003804/0.1581, allocations: 167.6 kB / 418.4 MB, free: 160 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1582, allocations: 24.3 kB / 418.4 MB, free: 140 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.1584, allocations: 67.59 kB / 418.5 MB, free: 72 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.1586, allocations: 83.69 kB / 418.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.568e-05/0.1587, allocations: 8 kB / 418.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007546/0.1594, allocations: 223.6 kB / 418.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1596, allocations: 43.83 kB / 418.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.793e-05/0.1597, allocations: 61.58 kB / 418.9 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005724/0.1603, allocations: 207.8 kB / 419.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1603, allocations: 0 / 419.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.1603, allocations: 0 / 419.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1603, allocations: 0 / 419.1 MB, free: 15.45 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001052/0.1614, allocations: 0.4913 MB / 419.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.1614, allocations: 8.031 kB / 419.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000115/0.1616, allocations: 66.53 kB / 419.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004296/0.1659, allocations: 199.4 kB / 419.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006592/0.1666, allocations: 262.6 kB / 420.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.1667, allocations: 24.56 kB / 420.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.1668, allocations: 23.94 kB / 420.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/0.169, allocations: 0.4927 MB / 420.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.1691, allocations: 0 / 420.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-05/0.1692, allocations: 15.98 kB / 420.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.659e-05/0.1693, allocations: 28.53 kB / 420.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003263/0.1725, allocations: 0.5954 MB / 421.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004972/0.1776, allocations: 1.181 MB / 422.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.1795, allocations: 178.4 kB / 422.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1795, allocations: 0 / 422.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.1796, allocations: 38.56 kB / 422.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.224e-06/0.1796, allocations: 0 / 422.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.002915/0.1825, allocations: 317.2 kB / 423 MB, free: 11.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.1826, allocations: 59.39 kB / 423.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006139/0.1832, allocations: 278.5 kB / 423.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/0.1833, allocations: 25.7 kB / 423.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.1835, allocations: 171.5 kB / 423.5 MB, free: 10.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.284e-05/0.1836, allocations: 19.66 kB / 423.5 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.1836, allocations: 4 kB / 423.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.1838, allocations: 330.8 kB / 423.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008969/0.1848, allocations: 95.91 kB / 424 MB, free: 10.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009494/0.1857, allocations: 123.3 kB / 424.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007434/0.1865, allocations: 103.8 kB / 424.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1865, allocations: 4 kB / 424.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001737/0.1883, allocations: 281.1 kB / 424.5 MB, free: 9.809 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.1883, allocations: 8 kB / 424.5 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.1884, allocations: 0 / 424.5 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1884, allocations: 0 / 424.5 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01163/0.2, allocations: 471.3 kB / 424.9 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004745/0.2048, allocations: 1.941 MB / 426.9 MB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007597/0.2056, allocations: 43.69 kB / 426.9 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.75e-05/0.2057, allocations: 11.98 kB / 426.9 MB, free: 7.273 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000262/0.206, allocations: 157.8 kB / 427.1 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.674e-05/0.2061, allocations: 23.67 kB / 427.1 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.542e-05/0.2062, allocations: 25.7 kB / 427.1 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2062, allocations: 7.938 kB / 427.1 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2062, allocations: 0 / 427.1 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2063, allocations: 3.984 kB / 427.1 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005608/0.2068, allocations: 285.5 kB / 427.4 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2068, allocations: 0 / 427.4 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01149/0.2183, allocations: 459.3 kB / 427.9 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/0.2184, allocations: 3.953 kB / 427.9 MB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/0.2185, allocations: 3.984 kB / 427.9 MB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006195/0.2247, allocations: 1.941 MB / 429.8 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.2247, allocations: 0 / 429.8 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.2263, allocations: 339.1 kB / 430.2 MB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.2265, allocations: 96.92 kB / 430.2 MB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.262e-05/0.2266, allocations: 7.938 kB / 430.3 MB, free: 3.781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006708/0.2273, allocations: 19.97 kB / 430.3 MB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.2274, allocations: 7.984 kB / 430.3 MB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.2274, allocations: 3.984 kB / 430.3 MB, free: 3.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003426/0.2278, allocations: 209.9 kB / 430.5 MB, free: 3.543 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.2278, allocations: 4 kB / 430.5 MB, free: 3.539 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005286/0.2283, allocations: 67.84 kB / 430.6 MB, free: 3.473 MB / 362.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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002098/0.2304, allocations: 0.8761 MB / 431.4 MB, free: 2.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01204/0.2425, allocations: 0.6084 MB / 432 MB, free: 1.961 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.2426, allocations: 0 / 432 MB, free: 1.961 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01123/0.2538, allocations: 0.5033 MB / 432.5 MB, free: 1.457 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/0.2544, allocations: 36.5 kB / 432.6 MB, free: 1.422 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005514/0.2599, allocations: 2.139 MB / 434.7 MB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/0.2605, allocations: 0.7869 MB / 435.5 MB, free: 14.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003611/0.2609, allocations: 54.03 kB / 435.6 MB, free: 14.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.2611, allocations: 67.41 kB / 435.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2611, allocations: 0 / 435.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03788/0.299, allocations: 7.185 MB / 442.8 MB, free: 7.203 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004299/0.2995, allocations: 278 kB / 443.1 MB, free: 6.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.221/3.521, allocations: 3.953 kB / 443.1 MB, free: 6.836 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat