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.Orifice.dp_suddenChange_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.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.407/2.407, allocations: 235 MB / 248.1 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.688e-05/4.711e-05, allocations: 7.984 kB / 309.8 MB, free: 1.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4205, allocations: 54.84 MB / 364.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1614/0.5819, allocations: 87.91 MB / 452.6 MB, free: 8.594 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003958/0.5824, allocations: 96.81 kB / 452.6 MB, free: 8.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04038/0.6228, allocations: 7.632 MB / 460.3 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6229, allocations: 7.938 kB / 460.3 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.6229, allocations: 0 / 460.3 MB, free: 0.8594 MB / 378.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.0007495/0.6236, allocations: 438.1 kB / 460.7 MB, free: 396 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.6237, allocations: 12.03 kB / 460.7 MB, free: 384 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.394e-05/0.6238, allocations: 50.48 kB / 460.8 MB, free: 324 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.6238, allocations: 11.86 kB / 460.8 MB, free: 312 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.624, allocations: 174.9 kB / 461 MB, free: 96 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.624, allocations: 12 kB / 461 MB, free: 84 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.6241, allocations: 12 kB / 461 MB, free: 72 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003575/0.6245, allocations: 134.7 kB / 461.1 MB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.6245, allocations: 0 / 461.1 MB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.6245, allocations: 4 kB / 461.1 MB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.6245, allocations: 7.953 kB / 461.1 MB, free: 15.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.6248, allocations: 108 kB / 461.2 MB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.6261, allocations: 0.5234 MB / 461.8 MB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.6264, allocations: 82.62 kB / 461.8 MB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.6265, allocations: 40.86 kB / 461.9 MB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.6266, allocations: 0 / 461.9 MB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.6266, allocations: 34.56 kB / 461.9 MB, free: 15.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.6266, allocations: 0 / 461.9 MB, free: 15.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003439/0.627, allocations: 101.8 kB / 462 MB, free: 14.94 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.627, allocations: 63.34 kB / 462.1 MB, free: 14.87 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.6272, allocations: 105 kB / 462.2 MB, free: 14.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.6272, allocations: 29.7 kB / 462.2 MB, free: 14.72 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.6273, allocations: 190.1 kB / 462.4 MB, free: 14.53 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/0.6274, allocations: 39.45 kB / 462.4 MB, free: 14.49 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-06/0.6274, allocations: 0 / 462.4 MB, free: 14.49 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.6276, allocations: 318.8 kB / 462.7 MB, free: 14.17 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-05/0.6277, allocations: 28 kB / 462.8 MB, free: 14.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.6279, allocations: 61.16 kB / 462.8 MB, free: 14.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.628, allocations: 36.34 kB / 462.9 MB, free: 14.03 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.628, allocations: 4 kB / 462.9 MB, free: 14.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003431/0.6283, allocations: 129.4 kB / 463 MB, free: 13.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.6284, allocations: 4 kB / 463 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.6284, allocations: 8.094 kB / 463 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.6284, allocations: 7.984 kB / 463 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/0.6289, allocations: 47.91 kB / 463.1 MB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004677/0.6293, allocations: 0.586 MB / 463.6 MB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.6295, allocations: 27.77 kB / 463.7 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.6296, allocations: 8.094 kB / 463.7 MB, free: 13.18 MB / 394.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 () * 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.0001057/0.6297, allocations: 109 kB / 463.8 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.6297, allocations: 7.906 kB / 463.8 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004861/0.6302, allocations: 166.9 kB / 464 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.6303, allocations: 0 / 464 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6303, allocations: 0 / 464 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.6303, allocations: 4 kB / 464 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003917/0.6307, allocations: 213.5 kB / 464.2 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.6307, allocations: 0 / 464.2 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/0.6311, allocations: 43.95 kB / 464.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.6311, allocations: 0 / 464.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.6312, allocations: 4 kB / 464.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004473/0.6316, allocations: 0.5937 MB / 464.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6317, allocations: 0 / 464.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/0.6322, allocations: 248.1 kB / 465.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.6323, allocations: 100.9 kB / 465.1 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.6323, allocations: 7.984 kB / 465.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.6325, allocations: 8.156 kB / 465.2 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-05/0.6326, allocations: 11.98 kB / 465.2 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.6327, allocations: 11.98 kB / 465.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.131e-05/0.6327, allocations: 87.28 kB / 465.3 MB, free: 11.47 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.906e-06/0.6328, allocations: 0 / 465.3 MB, free: 11.47 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005752/0.6333, allocations: 87.8 kB / 465.4 MB, free: 11.38 MB / 394.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 () * 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.001285/0.6346, allocations: 0.8983 MB / 466.3 MB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004554/0.6351, allocations: 103.8 kB / 466.4 MB, free: 10.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6352, allocations: 0 / 466.4 MB, free: 10.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.6354, allocations: 55.92 kB / 466.4 MB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.6357, allocations: 8 kB / 466.4 MB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.6368, allocations: 280.2 kB / 466.7 MB, free: 9.984 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.6372, allocations: 0.7086 MB / 467.4 MB, free: 9.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.6373, allocations: 43.41 kB / 467.4 MB, free: 9.207 MB / 394.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6373, allocations: 0 / 467.4 MB, free: 9.207 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.758/3.395, allocations: 3.138 MB / 470.6 MB, free: 6.074 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.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat