Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.366/2.366, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.588e-05/3.606e-05, allocations: 4 kB / 309.8 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.466/0.4661, allocations: 54.85 MB / 364.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.806/2.272, allocations: 0.6136 GB / 0.9697 GB, free: 117.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000335/2.273, allocations: 95.91 kB / 0.9698 GB, free: 117.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.212/3.485, allocations: 242.7 MB / 1.207 GB, free: 77.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.377e-06/3.485, allocations: 0 / 1.207 GB, free: 77.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.043e-05/3.485, allocations: 15.94 kB / 1.207 GB, free: 77.09 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002834/3.488, allocations: 0.9627 MB / 1.208 GB, free: 76.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/3.488, allocations: 15.97 kB / 1.208 GB, free: 76.07 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/3.489, allocations: 82.52 kB / 1.208 GB, free: 75.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/3.49, allocations: 135.2 kB / 1.208 GB, free: 75.85 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/3.491, allocations: 0.5273 MB / 1.208 GB, free: 75.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/3.491, allocations: 33 kB / 1.209 GB, free: 75.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.633e-05/3.492, allocations: 43.98 kB / 1.209 GB, free: 75.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/3.493, allocations: 0.5646 MB / 1.209 GB, free: 74.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/3.493, allocations: 0 / 1.209 GB, free: 74.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.793e-05/3.493, allocations: 27.95 kB / 1.209 GB, free: 74.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/3.493, allocations: 12 kB / 1.209 GB, free: 74.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/3.494, allocations: 442.8 kB / 1.21 GB, free: 74.12 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.00374/3.498, allocations: 2.592 MB / 1.212 GB, free: 71.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008356/3.499, allocations: 295.8 kB / 1.212 GB, free: 71.01 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003223/3.499, allocations: 153.3 kB / 1.213 GB, free: 70.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004477/3.5, allocations: 325.9 kB / 1.213 GB, free: 70.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/3.5, allocations: 34.84 kB / 1.213 GB, free: 70.44 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 2.966e-06/3.5, allocations: 0 / 1.213 GB, free: 70.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.001387/3.501, allocations: 420 kB / 1.213 GB, free: 70.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/3.501, allocations: 136.5 kB / 1.213 GB, free: 69.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005971/3.502, allocations: 379 kB / 1.214 GB, free: 69.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.432e-05/3.502, allocations: 33.7 kB / 1.214 GB, free: 69.44 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/3.502, allocations: 346 kB / 1.214 GB, free: 69.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/3.502, allocations: 122.2 kB / 1.214 GB, free: 68.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/3.502, allocations: 12 kB / 1.214 GB, free: 68.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.687e-05/3.502, allocations: 334.8 kB / 1.215 GB, free: 68.63 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003892/3.503, allocations: 173.1 kB / 1.215 GB, free: 68.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004903/3.503, allocations: 343 kB / 1.215 GB, free: 68.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005197/3.504, allocations: 219.9 kB / 1.215 GB, free: 67.83 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/3.504, allocations: 0 / 1.215 GB, free: 67.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001409/3.505, allocations: 0.6037 MB / 1.216 GB, free: 67.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/3.505, allocations: 8.062 kB / 1.216 GB, free: 67.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/3.505, allocations: 8 kB / 1.216 GB, free: 67.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002146/3.507, allocations: 232.6 kB / 1.216 GB, free: 66.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009714/3.508, allocations: 155.8 kB / 1.216 GB, free: 66.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007081/3.516, allocations: 23.1 MB / 1.239 GB, free: 42.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008488/3.516, allocations: 71.62 kB / 1.239 GB, free: 42.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/3.517, allocations: 51.98 kB / 1.239 GB, free: 42.04 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 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.0001846/3.517, allocations: 140.8 kB / 1.239 GB, free: 41.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/3.517, allocations: 51.38 kB / 1.239 GB, free: 41.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/3.519, allocations: 0.6322 MB / 1.24 GB, free: 41.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/3.519, allocations: 0 / 1.24 GB, free: 41.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/3.519, allocations: 8 kB / 1.24 GB, free: 41.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/3.519, allocations: 3.984 kB / 1.24 GB, free: 41.17 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/3.521, allocations: 1.104 MB / 1.241 GB, free: 39.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/3.521, allocations: 4.031 kB / 1.241 GB, free: 39.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/3.522, allocations: 63.91 kB / 1.241 GB, free: 39.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002053/3.524, allocations: 236.5 kB / 1.241 GB, free: 39.67 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.434e-05/3.524, allocations: 12 kB / 1.241 GB, free: 39.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004648/3.524, allocations: 0.5913 MB / 1.242 GB, free: 39.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/3.524, allocations: 4.031 kB / 1.242 GB, free: 39.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009561/3.525, allocations: 0.5648 MB / 1.242 GB, free: 38.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/3.526, allocations: 144.5 kB / 1.242 GB, free: 38.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/3.526, allocations: 8 kB / 1.242 GB, free: 38.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005636/3.526, allocations: 43.81 kB / 1.242 GB, free: 38.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.523e-05/3.526, allocations: 27.92 kB / 1.242 GB, free: 38.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.987e-05/3.526, allocations: 15.98 kB / 1.242 GB, free: 38.13 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000514/3.527, allocations: 325.1 kB / 1.243 GB, free: 37.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.21e-07/3.527, allocations: 7.938 kB / 1.243 GB, free: 37.81 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002629/3.53, allocations: 471.4 kB / 1.243 GB, free: 37.35 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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.004428/3.534, allocations: 2.721 MB / 1.246 GB, free: 34.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001255/3.535, allocations: 391.4 kB / 1.246 GB, free: 34.17 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/3.535, allocations: 5.312 kB / 1.246 GB, free: 34.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004062/3.536, allocations: 144.3 kB / 1.246 GB, free: 34.03 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/3.538, allocations: 228.9 kB / 1.247 GB, free: 33.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/3.55, allocations: 2.446 MB / 1.249 GB, free: 31.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/3.55, allocations: 0.8627 MB / 1.25 GB, free: 30.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006543/3.551, allocations: 231.3 kB / 1.25 GB, free: 30.18 MB / 490.7 MB Notification: Performance of SimCode: time 1.473e-06/3.551, allocations: 0 / 1.25 GB, free: 30.18 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.608/7.159, allocations: 29.01 MB / 1.278 GB, free: 1.137 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat does not exist to compare? outputFormat=mat