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_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.01106/0.01107, allocations: 106.4 kB / 15.06 MB, free: 6.031 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.001259/0.001258, allocations: 180.5 kB / 15.95 MB, free: 5.957 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.111/2.111, allocations: 194.5 MB / 211.3 MB, free: 11.09 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.2982/0.2982, allocations: 40.04 MB / 296.5 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006718/0.0006721, allocations: 12 kB / 361.2 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1476, allocations: 54.88 MB / 416 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002474/0.1501, allocations: 1.34 MB / 417.4 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.152, allocations: 0.7418 MB / 418.1 MB, free: 444 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.152, allocations: 0 / 418.1 MB, free: 444 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.1523, allocations: 31.88 kB / 418.2 MB, free: 412 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.1525, allocations: 39.88 kB / 418.2 MB, free: 372 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.1528, allocations: 71.77 kB / 418.3 MB, free: 300 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.1531, allocations: 103.7 kB / 418.4 MB, free: 196 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.505e-05/0.1531, allocations: 13.11 kB / 418.4 MB, free: 184 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.1533, allocations: 43.84 kB / 418.4 MB, free: 140 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.1534, allocations: 55.77 kB / 418.5 MB, free: 84 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.1535, allocations: 4 kB / 418.5 MB, free: 80 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004458/0.1539, allocations: 155.8 kB / 418.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.6e-05/0.154, allocations: 31.84 kB / 418.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.732e-05/0.1541, allocations: 49.64 kB / 418.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.1544, allocations: 135.9 kB / 418.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1544, allocations: 0 / 418.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1544, allocations: 0 / 418.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1545, allocations: 0 / 418.8 MB, free: 15.71 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007616/0.1552, allocations: 442.8 kB / 419.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.1553, allocations: 12.03 kB / 419.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.336e-05/0.1554, allocations: 46.55 kB / 419.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000756/0.1561, allocations: 63.75 kB / 419.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.1565, allocations: 202.9 kB / 419.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.1565, allocations: 23.94 kB / 419.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.1566, allocations: 12 kB / 419.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007161/0.1573, allocations: 245.2 kB / 419.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.1573, allocations: 3.984 kB / 419.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.1574, allocations: 7.969 kB / 419.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-05/0.1574, allocations: 20 kB / 419.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007847/0.1582, allocations: 227.8 kB / 420.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.16, allocations: 0.7324 MB / 420.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/0.1603, allocations: 94.52 kB / 421 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.1604, allocations: 0 / 421 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.1604, allocations: 38.44 kB / 421 MB, free: 13.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.1604, allocations: 0 / 421 MB, free: 13.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008564/0.1613, allocations: 193.5 kB / 421.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.1614, allocations: 51.41 kB / 421.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.1616, allocations: 195.2 kB / 421.4 MB, free: 12.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.1617, allocations: 25.7 kB / 421.4 MB, free: 12.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.1618, allocations: 135.6 kB / 421.6 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.1619, allocations: 27.64 kB / 421.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.338e-05/0.1619, allocations: 0 / 421.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.162, allocations: 322.8 kB / 421.9 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.1623, allocations: 51.95 kB / 422 MB, free: 12.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.1626, allocations: 110.7 kB / 422.1 MB, free: 12.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.1629, allocations: 67.95 kB / 422.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1629, allocations: 0 / 422.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006754/0.1636, allocations: 193.3 kB / 422.3 MB, free: 11.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1637, allocations: 10.81 kB / 422.3 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1637, allocations: 0 / 422.3 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.666e-05/0.1637, allocations: 7.953 kB / 422.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.1653, allocations: 108.1 kB / 422.5 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/0.1672, allocations: 1.813 MB / 424.3 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.1675, allocations: 27.77 kB / 424.3 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.1675, allocations: 8 kB / 424.3 MB, free: 9.895 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * 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.0001919/0.1677, allocations: 134.8 kB / 424.4 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.1678, allocations: 15.91 kB / 424.5 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000762/0.1686, allocations: 194.8 kB / 424.6 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.1686, allocations: 7.953 kB / 424.6 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1686, allocations: 0 / 424.6 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1686, allocations: 3.984 kB / 424.7 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003883/0.169, allocations: 221.6 kB / 424.9 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.169, allocations: 0 / 424.9 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/0.1703, allocations: 99.88 kB / 425 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.1704, allocations: 3.938 kB / 425 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.1704, allocations: 4 kB / 425 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/0.1718, allocations: 1.781 MB / 426.8 MB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.1719, allocations: 0 / 426.8 MB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006195/0.1725, allocations: 255.4 kB / 427 MB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.777e-05/0.1726, allocations: 88.95 kB / 427.1 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.1726, allocations: 3.984 kB / 427.1 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.1729, allocations: 12 kB / 427.1 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/0.173, allocations: 11.94 kB / 427.1 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.173, allocations: 8 kB / 427.1 MB, free: 6.902 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001818/0.1732, allocations: 136.9 kB / 427.3 MB, free: 6.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1732, allocations: 4 kB / 427.3 MB, free: 6.766 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000461/0.1737, allocations: 47.89 kB / 427.3 MB, free: 6.719 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 (11): * Single equations (assignments): 8 * 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.001069/0.1748, allocations: 0.7903 MB / 428.1 MB, free: 5.902 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002045/0.1768, allocations: 224.2 kB / 428.3 MB, free: 5.684 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1769, allocations: 3.938 kB / 428.3 MB, free: 5.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.178, allocations: 119.9 kB / 428.4 MB, free: 5.562 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.1785, allocations: 36.47 kB / 428.5 MB, free: 5.527 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.1815, allocations: 2.096 MB / 430.6 MB, free: 3.355 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.182, allocations: 0.7397 MB / 431.3 MB, free: 2.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002387/0.1822, allocations: 37.41 kB / 431.3 MB, free: 2.555 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.1824, allocations: 39.42 kB / 431.4 MB, free: 2.516 MB / 362.7 MB Notification: Performance of SimCode: time 1.292e-06/0.1824, allocations: 0 / 431.4 MB, free: 2.516 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.2119, allocations: 4.551 MB / 435.9 MB, free: 14.06 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002795/0.2122, allocations: 273.8 kB / 436.2 MB, free: 13.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.649/2.861, allocations: 3.906 kB / 436.2 MB, free: 13.7 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_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat