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.TestCases.PressureLoss.Bend.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.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.298/2.298, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006478/0.0006478, allocations: 8 kB / 314.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3442, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.771/2.116, allocations: 0.6148 GB / 0.9755 GB, free: 43.96 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/2.116, allocations: 93.52 kB / 0.9756 GB, free: 43.91 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.605/3.721, allocations: 282.4 MB / 1.251 GB, free: 89.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.733e-06/3.721, allocations: 0 / 1.251 GB, free: 89.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.124e-05/3.721, allocations: 18.81 kB / 1.251 GB, free: 89.39 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.004107/3.725, allocations: 1.32 MB / 1.253 GB, free: 88.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/3.725, allocations: 10.88 kB / 1.253 GB, free: 88.84 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002075/3.726, allocations: 88.81 kB / 1.253 GB, free: 88.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/3.727, allocations: 153.7 kB / 1.253 GB, free: 88.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/3.728, allocations: 0.5341 MB / 1.253 GB, free: 88.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/3.728, allocations: 33.28 kB / 1.253 GB, free: 88.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.659e-05/3.729, allocations: 40.72 kB / 1.254 GB, free: 88.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/3.73, allocations: 0.6292 MB / 1.254 GB, free: 88.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/3.73, allocations: 0.8438 kB / 1.254 GB, free: 88.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-05/3.73, allocations: 24.22 kB / 1.254 GB, free: 88.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/3.73, allocations: 14 kB / 1.254 GB, free: 88.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/3.731, allocations: 0.4935 MB / 1.255 GB, free: 88.38 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00359/3.735, allocations: 2.562 MB / 1.257 GB, free: 86.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008833/3.736, allocations: 302.7 kB / 1.257 GB, free: 86.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004261/3.736, allocations: 326.8 kB / 1.258 GB, free: 86.42 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/3.736, allocations: 36.62 kB / 1.258 GB, free: 86.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 2.865e-06/3.736, allocations: 0 / 1.258 GB, free: 86.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.002237/3.739, allocations: 0.6686 MB / 1.258 GB, free: 86.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.431e-05/3.739, allocations: 158.1 kB / 1.259 GB, free: 86.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006812/3.74, allocations: 398.5 kB / 1.259 GB, free: 85.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.106e-05/3.74, allocations: 36.08 kB / 1.259 GB, free: 85.88 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/3.74, allocations: 361.1 kB / 1.259 GB, free: 85.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/3.74, allocations: 123.6 kB / 1.259 GB, free: 85.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/3.74, allocations: 10.06 kB / 1.259 GB, free: 85.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.294e-05/3.74, allocations: 332.3 kB / 1.26 GB, free: 85.28 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004212/3.741, allocations: 146.1 kB / 1.26 GB, free: 85.28 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005372/3.741, allocations: 367.8 kB / 1.26 GB, free: 85.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005156/3.742, allocations: 203.3 kB / 1.26 GB, free: 85.01 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/3.742, allocations: 0 / 1.26 GB, free: 85.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001639/3.743, allocations: 0.573 MB / 1.261 GB, free: 84.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/3.743, allocations: 12 kB / 1.261 GB, free: 84.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/3.743, allocations: 7.781 kB / 1.261 GB, free: 84.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002182/3.746, allocations: 246.9 kB / 1.261 GB, free: 84.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007704/3.746, allocations: 128 kB / 1.261 GB, free: 84.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005148/3.747, allocations: 0.5907 MB / 1.262 GB, free: 84.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007149/3.748, allocations: 68.59 kB / 1.262 GB, free: 84.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/3.748, allocations: 63.84 kB / 1.262 GB, free: 84.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.00039/3.748, allocations: 199.1 kB / 1.262 GB, free: 84.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/3.748, allocations: 48.03 kB / 1.262 GB, free: 84.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002333/3.751, allocations: 0.6665 MB / 1.263 GB, free: 84.19 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/3.751, allocations: 14.59 kB / 1.263 GB, free: 84.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/3.751, allocations: 6.156 kB / 1.263 GB, free: 84.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/3.751, allocations: 0 / 1.263 GB, free: 84.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/3.753, allocations: 1.502 MB / 1.265 GB, free: 83.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/3.753, allocations: 3.875 kB / 1.265 GB, free: 83.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004126/3.754, allocations: 72.45 kB / 1.265 GB, free: 83.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002038/3.756, allocations: 226.8 kB / 1.265 GB, free: 83.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/3.756, allocations: 24.02 kB / 1.265 GB, free: 83.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004192/3.756, allocations: 0.5904 MB / 1.265 GB, free: 82.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/3.756, allocations: 4.906 kB / 1.265 GB, free: 82.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/3.758, allocations: 0.6939 MB / 1.266 GB, free: 82.55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/3.758, allocations: 134.7 kB / 1.266 GB, free: 82.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/3.758, allocations: 14.8 kB / 1.266 GB, free: 82.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004811/3.759, allocations: 26.11 kB / 1.266 GB, free: 82.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.672e-05/3.759, allocations: 42.42 kB / 1.266 GB, free: 82.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.314e-05/3.759, allocations: 27.72 kB / 1.266 GB, free: 82.43 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004688/3.759, allocations: 317.3 kB / 1.267 GB, free: 82.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/3.759, allocations: 3 kB / 1.267 GB, free: 82.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002172/3.761, allocations: 0.4935 MB / 1.267 GB, free: 82.27 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004506/3.766, allocations: 3.186 MB / 1.27 GB, free: 80.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001244/3.767, allocations: 421.6 kB / 1.271 GB, free: 80.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/3.767, allocations: 0 / 1.271 GB, free: 80.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004767/3.768, allocations: 198.3 kB / 1.271 GB, free: 80.47 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/3.77, allocations: 293.5 kB / 1.271 GB, free: 80.47 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/3.784, allocations: 8.83 MB / 1.28 GB, free: 74.94 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/3.785, allocations: 0.8786 MB / 1.281 GB, free: 74.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007092/3.785, allocations: 244.8 kB / 1.281 GB, free: 74.23 MB / 490.7 MB Notification: Performance of SimCode: time 1.473e-06/3.785, allocations: 0 / 1.281 GB, free: 74.23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.004/6.789, allocations: 22.09 MB / 1.302 GB, free: 72.86 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat does not exist to compare? outputFormat=mat