Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.055/2.055, allocations: 209.2 MB / 224.8 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006039/0.000604, allocations: 16 kB / 282.7 MB, free: 9.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3419, allocations: 48.69 MB / 331.4 MB, free: 6.414 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1454/0.4874, allocations: 81.48 MB / 412.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003823/0.4878, allocations: 99.94 kB / 413 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0439/0.5317, allocations: 7.638 MB / 420.6 MB, free: 5.059 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5318, allocations: 3.938 kB / 420.6 MB, free: 5.055 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.5318, allocations: 4 kB / 420.6 MB, free: 5.051 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0009408/0.5328, allocations: 454.8 kB / 421 MB, free: 4.559 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.5328, allocations: 8.031 kB / 421.1 MB, free: 4.551 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.956e-05/0.5329, allocations: 46.55 kB / 421.1 MB, free: 4.496 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.533, allocations: 11.91 kB / 421.1 MB, free: 4.484 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.5332, allocations: 174.9 kB / 421.3 MB, free: 4.273 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.5332, allocations: 8 kB / 421.3 MB, free: 4.266 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.353e-05/0.5333, allocations: 12 kB / 421.3 MB, free: 4.254 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005884/0.5339, allocations: 154.1 kB / 421.5 MB, free: 4.098 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.5339, allocations: 0 / 421.5 MB, free: 4.098 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.534, allocations: 4 kB / 421.5 MB, free: 4.094 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.534, allocations: 8 kB / 421.5 MB, free: 4.086 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006762/0.5347, allocations: 139.9 kB / 421.6 MB, free: 3.949 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.5362, allocations: 0.5299 MB / 422.1 MB, free: 3.352 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004861/0.5367, allocations: 106.6 kB / 422.2 MB, free: 3.238 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.112e-05/0.5368, allocations: 7.984 kB / 422.2 MB, free: 3.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.5368, allocations: 34.55 kB / 422.3 MB, free: 3.188 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.625e-06/0.5369, allocations: 0 / 422.3 MB, free: 3.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001013/0.5379, allocations: 185.9 kB / 422.5 MB, free: 3 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.5379, allocations: 51.41 kB / 422.5 MB, free: 2.938 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.5381, allocations: 105.2 kB / 422.6 MB, free: 2.824 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.5382, allocations: 29.7 kB / 422.6 MB, free: 2.789 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.5383, allocations: 186.1 kB / 422.8 MB, free: 2.605 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.698e-05/0.5384, allocations: 39.83 kB / 422.9 MB, free: 2.566 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.299e-05/0.5384, allocations: 0 / 422.9 MB, free: 2.566 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5386, allocations: 319.8 kB / 423.2 MB, free: 2.246 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.5388, allocations: 43.91 kB / 423.2 MB, free: 2.203 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.5392, allocations: 93.75 kB / 423.3 MB, free: 2.094 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.5395, allocations: 52.03 kB / 423.4 MB, free: 2.043 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/0.5395, allocations: 3.984 kB / 423.4 MB, free: 2.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007852/0.5403, allocations: 169.3 kB / 423.5 MB, free: 1.867 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.5404, allocations: 4.156 kB / 423.5 MB, free: 1.863 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.5404, allocations: 8 kB / 423.5 MB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.5405, allocations: 0 / 423.5 MB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005243/0.541, allocations: 47.97 kB / 423.6 MB, free: 1.809 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000542/0.5416, allocations: 0.586 MB / 424.2 MB, free: 1.199 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.5418, allocations: 20.02 kB / 424.2 MB, free: 1.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.5419, allocations: 12 kB / 424.2 MB, free: 1.168 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001897/0.5421, allocations: 125.7 kB / 424.3 MB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.296e-05/0.5422, allocations: 7.906 kB / 424.3 MB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009605/0.5432, allocations: 181.8 kB / 424.5 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.5432, allocations: 0 / 424.5 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.5432, allocations: 4 kB / 424.5 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.5432, allocations: 0 / 424.5 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.5437, allocations: 217.6 kB / 424.7 MB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5438, allocations: 0 / 424.7 MB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005055/0.5443, allocations: 43.97 kB / 424.8 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.5443, allocations: 0 / 424.8 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.5444, allocations: 4 kB / 424.8 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005143/0.5449, allocations: 0.5898 MB / 425.4 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.5449, allocations: 8.047 kB / 425.4 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.546, allocations: 307.4 kB / 425.7 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.5462, allocations: 92.97 kB / 425.8 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.5462, allocations: 4 kB / 425.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.5465, allocations: 11.98 kB / 425.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.863e-05/0.5466, allocations: 11.98 kB / 425.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.5467, allocations: 7.953 kB / 425.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.323e-05/0.5468, allocations: 95.2 kB / 425.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-07/0.5468, allocations: 0 / 425.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008571/0.5477, allocations: 91.83 kB / 426 MB, free: 15.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00199/0.5497, allocations: 0.9405 MB / 426.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008613/0.5506, allocations: 139.8 kB / 427.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5506, allocations: 0 / 427.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000442/0.5511, allocations: 76.58 kB / 427.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.5514, allocations: 9.016 kB / 427.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.5546, allocations: 1.611 MB / 428.8 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.555, allocations: 0.7043 MB / 429.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.5552, allocations: 35.42 kB / 429.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5552, allocations: 0 / 429.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.732/3.288, allocations: 3.129 MB / 432.6 MB, free: 8.508 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat