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.EdgedBend.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.EdgedBend,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.525/2.525, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.598e-05/4.614e-05, allocations: 4 kB / 309.8 MB, free: 1.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4091, allocations: 54.85 MB / 364.6 MB, free: 5.398 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.828/2.238, allocations: 0.6128 GB / 0.9689 GB, free: 116 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/2.238, allocations: 91.06 kB / 0.969 GB, free: 115.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.163/3.401, allocations: 237.6 MB / 1.201 GB, free: 80.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.014e-06/3.401, allocations: 0 / 1.201 GB, free: 80.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.062e-05/3.401, allocations: 16 kB / 1.201 GB, free: 80.8 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.00289/3.404, allocations: 0.9548 MB / 1.202 GB, free: 79.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/3.404, allocations: 12.25 kB / 1.202 GB, free: 79.79 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001528/3.405, allocations: 82.52 kB / 1.202 GB, free: 79.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/3.406, allocations: 143 kB / 1.202 GB, free: 79.56 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/3.408, allocations: 0.5196 MB / 1.203 GB, free: 79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/3.408, allocations: 29 kB / 1.203 GB, free: 78.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.747e-05/3.408, allocations: 44 kB / 1.203 GB, free: 78.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/3.409, allocations: 0.5685 MB / 1.203 GB, free: 78.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/3.409, allocations: 0 / 1.203 GB, free: 78.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.561e-05/3.409, allocations: 24 kB / 1.203 GB, free: 78.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/3.409, allocations: 8 kB / 1.203 GB, free: 78.28 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/3.41, allocations: 442.9 kB / 1.204 GB, free: 77.85 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.00372/3.414, allocations: 2.584 MB / 1.206 GB, free: 75.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008683/3.415, allocations: 299.7 kB / 1.207 GB, free: 74.74 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003274/3.415, allocations: 149.4 kB / 1.207 GB, free: 74.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004358/3.416, allocations: 325.9 kB / 1.207 GB, free: 74.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/3.416, allocations: 38.84 kB / 1.207 GB, free: 74.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.206e-06/3.416, allocations: 0 / 1.207 GB, free: 74.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.001397/3.417, allocations: 408.1 kB / 1.207 GB, free: 73.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/3.417, allocations: 136.5 kB / 1.208 GB, free: 73.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005672/3.418, allocations: 371 kB / 1.208 GB, free: 73.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.403e-05/3.418, allocations: 33.64 kB / 1.208 GB, free: 73.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/3.418, allocations: 330 kB / 1.208 GB, free: 72.87 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/3.418, allocations: 122.3 kB / 1.208 GB, free: 72.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/3.418, allocations: 8 kB / 1.208 GB, free: 72.74 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.919e-05/3.419, allocations: 330.8 kB / 1.209 GB, free: 72.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/3.419, allocations: 153.1 kB / 1.209 GB, free: 72.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004687/3.419, allocations: 327 kB / 1.209 GB, free: 71.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/3.42, allocations: 199.6 kB / 1.209 GB, free: 71.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/3.42, allocations: 0 / 1.209 GB, free: 71.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001403/3.421, allocations: 0.5601 MB / 1.21 GB, free: 71.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/3.421, allocations: 11.98 kB / 1.21 GB, free: 71.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/3.421, allocations: 4.047 kB / 1.21 GB, free: 71.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002164/3.424, allocations: 237 kB / 1.21 GB, free: 70.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009354/3.424, allocations: 147.8 kB / 1.21 GB, free: 70.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005468/3.43, allocations: 17.46 MB / 1.227 GB, free: 52.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008388/3.431, allocations: 71.67 kB / 1.227 GB, free: 51.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/3.431, allocations: 59.92 kB / 1.228 GB, free: 51.93 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 (59): * 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): 6 * 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: 6 {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.0001833/3.431, allocations: 139.5 kB / 1.228 GB, free: 51.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/3.431, allocations: 47.44 kB / 1.228 GB, free: 51.74 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002154/3.433, allocations: 0.6165 MB / 1.228 GB, free: 51.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/3.434, allocations: 4 kB / 1.228 GB, free: 51.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/3.434, allocations: 0 / 1.228 GB, free: 51.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/3.434, allocations: 0 / 1.228 GB, free: 51.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/3.436, allocations: 1.112 MB / 1.229 GB, free: 49.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/3.436, allocations: 3.953 kB / 1.229 GB, free: 49.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003851/3.436, allocations: 63.91 kB / 1.229 GB, free: 49.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002028/3.438, allocations: 224.8 kB / 1.23 GB, free: 49.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.823e-05/3.438, allocations: 15.98 kB / 1.23 GB, free: 49.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004548/3.439, allocations: 0.5953 MB / 1.23 GB, free: 48.95 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/3.439, allocations: 0 / 1.23 GB, free: 48.95 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009455/3.44, allocations: 0.5492 MB / 1.231 GB, free: 48.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/3.44, allocations: 144.4 kB / 1.231 GB, free: 48.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/3.44, allocations: 12 kB / 1.231 GB, free: 48.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000548/3.441, allocations: 39.81 kB / 1.231 GB, free: 48.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.99e-05/3.441, allocations: 31.92 kB / 1.231 GB, free: 48.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/3.441, allocations: 23.92 kB / 1.231 GB, free: 48.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004953/3.441, allocations: 305.2 kB / 1.231 GB, free: 47.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/3.441, allocations: 3.938 kB / 1.231 GB, free: 47.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002439/3.444, allocations: 479.3 kB / 1.232 GB, free: 47.29 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.004261/3.448, allocations: 2.713 MB / 1.234 GB, free: 44.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001268/3.449, allocations: 369.7 kB / 1.235 GB, free: 44.14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/3.449, allocations: 7.938 kB / 1.235 GB, free: 44.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003716/3.45, allocations: 143.8 kB / 1.235 GB, free: 44 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/3.452, allocations: 219.3 kB / 1.235 GB, free: 43.78 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/3.463, allocations: 2.43 MB / 1.238 GB, free: 41.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/3.463, allocations: 0.8665 MB / 1.238 GB, free: 40.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006511/3.464, allocations: 227.3 kB / 1.239 GB, free: 40.16 MB / 490.7 MB Notification: Performance of SimCode: time 1.412e-06/3.464, allocations: 0 / 1.239 GB, free: 40.16 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.5/6.964, allocations: 26.52 MB / 1.264 GB, free: 13.63 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.EdgedBend_res.mat does not exist to compare? outputFormat=mat