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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.579/2.579, allocations: 235.1 MB / 243 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.585e-05/3.591e-05, allocations: 7.938 kB / 303.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4014, allocations: 54.86 MB / 358.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1714/0.5729, allocations: 84.39 MB / 442.5 MB, free: 11.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003859/0.5733, allocations: 103.9 kB / 442.6 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02711/0.6004, allocations: 5.706 MB / 448.3 MB, free: 5.223 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6005, allocations: 0 / 448.3 MB, free: 5.223 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.6005, allocations: 4 kB / 448.3 MB, free: 5.219 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009014/0.6014, allocations: 0.4903 MB / 448.8 MB, free: 4.684 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.6015, allocations: 12.02 kB / 448.8 MB, free: 4.672 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.6032, allocations: 167.4 kB / 449 MB, free: 4.508 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005696/0.6038, allocations: 254.7 kB / 449.3 MB, free: 4.219 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.6038, allocations: 8 kB / 449.3 MB, free: 4.211 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.283e-05/0.6039, allocations: 12 kB / 449.3 MB, free: 4.199 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008701/0.6048, allocations: 328.8 kB / 449.6 MB, free: 3.879 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008443/0.6057, allocations: 384.3 kB / 450 MB, free: 3.457 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.6057, allocations: 7.953 kB / 450 MB, free: 3.449 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.6057, allocations: 0 / 450 MB, free: 3.449 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.145e-05/0.6058, allocations: 20.55 kB / 450 MB, free: 3.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003262/0.6091, allocations: 1.629 MB / 451.6 MB, free: 1.691 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.6094, allocations: 82.47 kB / 451.7 MB, free: 1.602 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.6096, allocations: 36.84 kB / 451.7 MB, free: 1.562 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.6096, allocations: 4 kB / 451.8 MB, free: 1.559 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.6097, allocations: 34.56 kB / 451.8 MB, free: 1.516 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.407e-06/0.6097, allocations: 0 / 451.8 MB, free: 1.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004564/0.6101, allocations: 109.6 kB / 451.9 MB, free: 1.402 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.6102, allocations: 51.41 kB / 451.9 MB, free: 1.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/0.6105, allocations: 189.8 kB / 452.1 MB, free: 1.145 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.6105, allocations: 25.7 kB / 452.2 MB, free: 1.113 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.6107, allocations: 258 kB / 452.4 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.6108, allocations: 27.64 kB / 452.4 MB, free: 0.832 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.6108, allocations: 0 / 452.4 MB, free: 0.832 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.611, allocations: 322.8 kB / 452.7 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.6112, allocations: 55.97 kB / 452.8 MB, free: 464 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.6114, allocations: 96.33 kB / 452.9 MB, free: 348 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.6116, allocations: 75.94 kB / 453 MB, free: 272 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6117, allocations: 0 / 453 MB, free: 272 kB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005732/0.6122, allocations: 181.4 kB / 453.1 MB, free: 84 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.6123, allocations: 10.52 kB / 453.2 MB, free: 76 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.6123, allocations: 8 kB / 453.2 MB, free: 68 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.6123, allocations: 4 kB / 453.2 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002647/0.615, allocations: 111.9 kB / 453.3 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/0.6176, allocations: 1.852 MB / 455.1 MB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000443/0.6181, allocations: 31.67 kB / 455.2 MB, free: 14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/0.6182, allocations: 12.19 kB / 455.2 MB, free: 13.99 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 () * 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.0001295/0.6183, allocations: 108.9 kB / 455.3 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003726/0.6187, allocations: 113.5 kB / 455.4 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.6188, allocations: 15.81 kB / 455.4 MB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000591/0.6194, allocations: 155.4 kB / 455.6 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.6194, allocations: 0 / 455.6 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.6194, allocations: 0 / 455.6 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.6194, allocations: 0 / 455.6 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004401/0.6199, allocations: 234.1 kB / 455.8 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6199, allocations: 0 / 455.8 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002127/0.622, allocations: 115.4 kB / 455.9 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/0.6221, allocations: 0 / 455.9 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.6221, allocations: 4 kB / 455.9 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/0.624, allocations: 1.797 MB / 457.7 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.958e-06/0.624, allocations: 3.953 kB / 457.7 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004658/0.6245, allocations: 215.4 kB / 457.9 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.6246, allocations: 92.86 kB / 458 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.821e-05/0.6247, allocations: 4 kB / 458 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/0.625, allocations: 7.984 kB / 458 MB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/0.6251, allocations: 15.94 kB / 458 MB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.6251, allocations: 8.094 kB / 458 MB, free: 10.97 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002325/0.6254, allocations: 156.2 kB / 458.2 MB, free: 10.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6254, allocations: 4 kB / 458.2 MB, free: 10.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005213/0.6259, allocations: 79.67 kB / 458.3 MB, free: 10.73 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 () * 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.001001/0.627, allocations: 0.7825 MB / 459.1 MB, free: 9.922 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002428/0.6294, allocations: 183.8 kB / 459.2 MB, free: 9.742 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.6295, allocations: 0 / 459.2 MB, free: 9.742 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001734/0.6312, allocations: 88.22 kB / 459.3 MB, free: 9.656 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004834/0.6318, allocations: 12.69 kB / 459.3 MB, free: 9.645 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.6335, allocations: 408.2 kB / 459.7 MB, free: 9.199 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004794/0.6341, allocations: 0.7865 MB / 460.5 MB, free: 8.387 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.6343, allocations: 67.41 kB / 460.6 MB, free: 8.32 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6343, allocations: 0 / 460.6 MB, free: 8.32 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.191/3.825, allocations: 6.91 MB / 467.5 MB, free: 1.406 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