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.TestCases.PressureLoss.Bend.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.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.181/2.181, allocations: 209.2 MB / 224.8 MB, free: 292 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006325/0.0006324, allocations: 15.94 kB / 282.7 MB, free: 9.488 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3881, allocations: 48.7 MB / 331.4 MB, free: 6.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.779/2.167, allocations: 0.608 GB / 0.9316 GB, free: 40.66 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000343/2.168, allocations: 96.38 kB / 0.9317 GB, free: 40.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.604/3.771, allocations: 282.3 MB / 1.207 GB, free: 78.46 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.874e-06/3.771, allocations: 3.094 kB / 1.207 GB, free: 78.46 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.398e-05/3.771, allocations: 14.16 kB / 1.207 GB, free: 78.46 MB / 442.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.004145/3.775, allocations: 1.325 MB / 1.209 GB, free: 77.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/3.776, allocations: 9.938 kB / 1.209 GB, free: 77.7 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002721/3.776, allocations: 90.08 kB / 1.209 GB, free: 77.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/3.778, allocations: 154.9 kB / 1.209 GB, free: 77.62 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/3.779, allocations: 0.5247 MB / 1.209 GB, free: 77.37 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/3.779, allocations: 38.75 kB / 1.209 GB, free: 77.37 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/3.779, allocations: 37.53 kB / 1.209 GB, free: 77.37 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/3.781, allocations: 0.6339 MB / 1.21 GB, free: 77.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/3.781, allocations: 5.469 kB / 1.21 GB, free: 77.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/3.781, allocations: 23.59 kB / 1.21 GB, free: 77.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/3.781, allocations: 13.89 kB / 1.21 GB, free: 77.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/3.782, allocations: 0.4888 MB / 1.211 GB, free: 77.2 MB / 442.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.003957/3.786, allocations: 2.568 MB / 1.213 GB, free: 75.53 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009842/3.787, allocations: 301.2 kB / 1.213 GB, free: 75.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004434/3.788, allocations: 325.2 kB / 1.214 GB, free: 75.22 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/3.788, allocations: 36.31 kB / 1.214 GB, free: 75.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 3.586e-06/3.788, allocations: 0 / 1.214 GB, free: 75.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.002286/3.79, allocations: 0.6741 MB / 1.214 GB, free: 75.01 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/3.79, allocations: 160.9 kB / 1.215 GB, free: 74.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006186/3.791, allocations: 402.7 kB / 1.215 GB, free: 74.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.085e-05/3.791, allocations: 36.02 kB / 1.215 GB, free: 74.67 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/3.791, allocations: 356.5 kB / 1.215 GB, free: 74.42 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/3.791, allocations: 132 kB / 1.215 GB, free: 74.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/3.791, allocations: 10 kB / 1.215 GB, free: 74.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.529e-05/3.792, allocations: 328.7 kB / 1.216 GB, free: 74.03 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004033/3.792, allocations: 147.9 kB / 1.216 GB, free: 74.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005081/3.792, allocations: 369.1 kB / 1.216 GB, free: 73.76 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004981/3.793, allocations: 194.8 kB / 1.216 GB, free: 73.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/3.793, allocations: 3.844 kB / 1.216 GB, free: 73.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001476/3.794, allocations: 0.5761 MB / 1.217 GB, free: 73.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/3.795, allocations: 3.969 kB / 1.217 GB, free: 73.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/3.795, allocations: 11.84 kB / 1.217 GB, free: 73.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002135/3.797, allocations: 237.8 kB / 1.217 GB, free: 73.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007451/3.797, allocations: 135.5 kB / 1.217 GB, free: 73.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005145/3.798, allocations: 0.5926 MB / 1.218 GB, free: 73.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007231/3.799, allocations: 66.84 kB / 1.218 GB, free: 73.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/3.799, allocations: 59.77 kB / 1.218 GB, free: 73.14 MB / 442.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.0003958/3.799, allocations: 193.1 kB / 1.218 GB, free: 73.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/3.799, allocations: 48.66 kB / 1.218 GB, free: 73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/3.802, allocations: 0.6768 MB / 1.219 GB, free: 72.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/3.802, allocations: 3.938 kB / 1.219 GB, free: 72.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/3.802, allocations: 0 / 1.219 GB, free: 72.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/3.802, allocations: 3.141 kB / 1.219 GB, free: 72.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002917/3.805, allocations: 1.494 MB / 1.22 GB, free: 72.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/3.805, allocations: 3.312 kB / 1.22 GB, free: 72.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004336/3.805, allocations: 74.83 kB / 1.221 GB, free: 72.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002041/3.807, allocations: 233.1 kB / 1.221 GB, free: 72.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.611e-05/3.808, allocations: 21.2 kB / 1.221 GB, free: 72.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000453/3.808, allocations: 0.583 MB / 1.221 GB, free: 71.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/3.808, allocations: 3.938 kB / 1.221 GB, free: 71.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/3.809, allocations: 0.7058 MB / 1.222 GB, free: 71.26 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/3.81, allocations: 186.2 kB / 1.222 GB, free: 71.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/3.81, allocations: 11.42 kB / 1.222 GB, free: 71.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000499/3.81, allocations: 33.97 kB / 1.222 GB, free: 71.13 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.9e-05/3.81, allocations: 35.28 kB / 1.222 GB, free: 71.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-05/3.811, allocations: 32.81 kB / 1.222 GB, free: 71.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004839/3.811, allocations: 316.1 kB / 1.223 GB, free: 71.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.71e-07/3.811, allocations: 0 / 1.223 GB, free: 71.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002239/3.813, allocations: 498.5 kB / 1.223 GB, free: 70.95 MB / 442.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.005258/3.819, allocations: 3.184 MB / 1.226 GB, free: 69.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001334/3.82, allocations: 424.8 kB / 1.227 GB, free: 69.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/3.82, allocations: 0 / 1.227 GB, free: 69.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000512/3.821, allocations: 200.4 kB / 1.227 GB, free: 69.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002546/3.823, allocations: 291.5 kB / 1.227 GB, free: 69.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/3.839, allocations: 8.842 MB / 1.236 GB, free: 63.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/3.839, allocations: 0.8771 MB / 1.237 GB, free: 62.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007498/3.84, allocations: 240.5 kB / 1.237 GB, free: 62.81 MB / 442.7 MB Notification: Performance of SimCode: time 9.72e-07/3.84, allocations: 0 / 1.237 GB, free: 62.81 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.311/7.151, allocations: 22.11 MB / 1.258 GB, free: 58.98 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat does not exist to compare? outputFormat=mat