Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.213/2.213, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000527/0.0005272, allocations: 12 kB / 314.5 MB, free: 9.445 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3465, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1567/0.5033, allocations: 85.14 MB / 454.5 MB, free: 5.344 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003699/0.5037, allocations: 99.88 kB / 454.6 MB, free: 5.246 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03156/0.5353, allocations: 5.788 MB / 460.4 MB, free: 15.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.5353, allocations: 0 / 460.4 MB, free: 15.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.5354, allocations: 0 / 460.4 MB, free: 15.37 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001185/0.5366, allocations: 0.5105 MB / 460.9 MB, free: 14.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.5366, allocations: 8.031 kB / 460.9 MB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001132/0.5368, allocations: 66.53 kB / 461 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002199/0.539, allocations: 179.3 kB / 461.2 MB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005576/0.5395, allocations: 254.6 kB / 461.4 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/0.5396, allocations: 20.36 kB / 461.4 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-05/0.5397, allocations: 20 kB / 461.4 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.5411, allocations: 433.2 kB / 461.9 MB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.5411, allocations: 0 / 461.9 MB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.839e-05/0.5412, allocations: 19.94 kB / 461.9 MB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-05/0.5413, allocations: 20.55 kB / 461.9 MB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.5429, allocations: 397.8 kB / 462.3 MB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004179/0.5471, allocations: 1.7 MB / 464 MB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005886/0.5477, allocations: 106.5 kB / 464.1 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.5477, allocations: 4 kB / 464.1 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.5478, allocations: 34.56 kB / 464.1 MB, free: 11.35 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 3.486e-06/0.5478, allocations: 0 / 464.1 MB, free: 11.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001315/0.5491, allocations: 205.2 kB / 464.3 MB, free: 11.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.5492, allocations: 55.36 kB / 464.4 MB, free: 11.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006997/0.5499, allocations: 301.7 kB / 464.7 MB, free: 10.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.55, allocations: 25.7 kB / 464.7 MB, free: 10.74 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.5502, allocations: 237.9 kB / 464.9 MB, free: 10.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.5503, allocations: 23.66 kB / 465 MB, free: 10.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.5503, allocations: 4 kB / 465 MB, free: 10.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.5505, allocations: 326.8 kB / 465.3 MB, free: 10.15 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000446/0.551, allocations: 67.94 kB / 465.4 MB, free: 10.08 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005014/0.5515, allocations: 125.4 kB / 465.5 MB, free: 9.941 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004969/0.552, allocations: 99.8 kB / 465.6 MB, free: 9.844 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.5521, allocations: 0 / 465.6 MB, free: 9.844 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001157/0.5532, allocations: 229.4 kB / 465.8 MB, free: 9.613 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.5533, allocations: 4 kB / 465.8 MB, free: 9.609 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.5533, allocations: 0 / 465.8 MB, free: 9.609 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-05/0.5533, allocations: 16.12 kB / 465.8 MB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003287/0.5566, allocations: 119.8 kB / 465.9 MB, free: 9.477 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00308/0.5597, allocations: 1.836 MB / 467.8 MB, free: 7.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006185/0.5604, allocations: 39.61 kB / 467.8 MB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.434e-05/0.5605, allocations: 8 kB / 467.8 MB, free: 7.527 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 16 * 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.0003163/0.5608, allocations: 161.9 kB / 468 MB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.873e-05/0.5609, allocations: 23.72 kB / 468 MB, free: 7.336 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.562, allocations: 211.1 kB / 468.2 MB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.5621, allocations: 7.953 kB / 468.2 MB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5621, allocations: 0 / 468.2 MB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.5621, allocations: 0 / 468.2 MB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006596/0.5628, allocations: 277.4 kB / 468.5 MB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5628, allocations: 4 kB / 468.5 MB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002756/0.5656, allocations: 104.7 kB / 468.6 MB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.5656, allocations: 0 / 468.6 MB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.5656, allocations: 4 kB / 468.6 MB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.5678, allocations: 1.793 MB / 470.4 MB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5678, allocations: 0 / 470.4 MB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009469/0.5688, allocations: 267.4 kB / 470.7 MB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.569, allocations: 96.83 kB / 470.7 MB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.653e-05/0.5691, allocations: 3.984 kB / 470.8 MB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004675/0.5695, allocations: 8 kB / 470.8 MB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.303e-05/0.5696, allocations: 15.88 kB / 470.8 MB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.5697, allocations: 4 kB / 470.8 MB, free: 4.398 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005348/0.5702, allocations: 249.9 kB / 471 MB, free: 4.156 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5703, allocations: 3.938 kB / 471 MB, free: 4.152 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007631/0.571, allocations: 71.94 kB / 471.1 MB, free: 4.082 MB / 394.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.001506/0.5725, allocations: 0.8246 MB / 471.9 MB, free: 3.234 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003413/0.576, allocations: 243.6 kB / 472.2 MB, free: 2.996 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.576, allocations: 0 / 472.2 MB, free: 2.996 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002023/0.5781, allocations: 117.6 kB / 472.3 MB, free: 2.883 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006278/0.5787, allocations: 44.75 kB / 472.3 MB, free: 2.832 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005764/0.5845, allocations: 2.552 MB / 474.9 MB, free: 208 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2818/0.8663, allocations: 0.785 MB / 475.7 MB, free: 98.06 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/0.8666, allocations: 71.55 kB / 475.7 MB, free: 98.05 MB / 394.7 MB Notification: Performance of SimCode: time 1.282e-06/0.8667, allocations: 0 / 475.7 MB, free: 98.05 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.81/3.677, allocations: 7.697 MB / 483.4 MB, free: 96.95 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat