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: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadModel(ModelicaTest): time 2.42/2.42, allocations: 234.9 MB / 251.1 MB, free: 10.66 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005978/0.000598, allocations: 16 kB / 314.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3964, allocations: 54.87 MB / 369.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.821/2.217, allocations: 0.6129 GB / 0.974 GB, free: 46.46 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/2.218, allocations: 105.3 kB / 0.9741 GB, free: 46.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.111/3.329, allocations: 238.3 MB / 1.207 GB, free: 11.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.284e-06/3.329, allocations: 0 / 1.207 GB, free: 11.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.516e-05/3.329, allocations: 16.16 kB / 1.207 GB, free: 11.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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002828/3.332, allocations: 1.041 MB / 1.208 GB, free: 10.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/3.332, allocations: 8.031 kB / 1.208 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/3.333, allocations: 143.1 kB / 1.208 GB, free: 10.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/3.335, allocations: 0.5249 MB / 1.209 GB, free: 9.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/3.335, allocations: 33 kB / 1.209 GB, free: 9.555 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-05/3.335, allocations: 36 kB / 1.209 GB, free: 9.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/3.336, allocations: 0.5884 MB / 1.209 GB, free: 8.891 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/3.336, allocations: 3.938 kB / 1.209 GB, free: 8.887 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.299e-05/3.336, allocations: 20 kB / 1.209 GB, free: 8.867 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/3.336, allocations: 12 kB / 1.209 GB, free: 8.855 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/3.338, allocations: 487.5 kB / 1.21 GB, free: 8.375 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.003319/3.341, allocations: 2.593 MB / 1.212 GB, free: 5.559 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009635/3.342, allocations: 309.9 kB / 1.212 GB, free: 5.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004035/3.342, allocations: 329.5 kB / 1.213 GB, free: 4.871 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/3.342, allocations: 42.86 kB / 1.213 GB, free: 4.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 2.905e-06/3.342, allocations: 0 / 1.213 GB, free: 4.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.00231/3.345, allocations: 0.6728 MB / 1.214 GB, free: 4.121 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/3.345, allocations: 136.5 kB / 1.214 GB, free: 3.957 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005874/3.345, allocations: 413.8 kB / 1.214 GB, free: 3.547 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/3.345, allocations: 29.7 kB / 1.214 GB, free: 3.512 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/3.346, allocations: 345.9 kB / 1.214 GB, free: 3.168 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/3.346, allocations: 114.4 kB / 1.214 GB, free: 3.055 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/3.346, allocations: 8 kB / 1.215 GB, free: 3.047 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.229e-05/3.346, allocations: 330.8 kB / 1.215 GB, free: 2.715 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000492/3.346, allocations: 173 kB / 1.215 GB, free: 2.543 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005823/3.347, allocations: 350.9 kB / 1.215 GB, free: 2.129 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005817/3.348, allocations: 219.9 kB / 1.216 GB, free: 1.914 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/3.348, allocations: 3.953 kB / 1.216 GB, free: 1.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001599/3.349, allocations: 0.5986 MB / 1.216 GB, free: 1.301 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/3.349, allocations: 8 kB / 1.216 GB, free: 1.293 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/3.349, allocations: 8.641 kB / 1.216 GB, free: 1.285 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002097/3.351, allocations: 244.5 kB / 1.216 GB, free: 1.043 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008094/3.352, allocations: 147.8 kB / 1.217 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.346/3.698, allocations: 17.45 MB / 1.234 GB, free: 77.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008001/3.699, allocations: 67.89 kB / 1.234 GB, free: 77.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/3.699, allocations: 52.7 kB / 1.234 GB, free: 77.06 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 () * Number of clocked 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.0004024/3.7, allocations: 197.9 kB / 1.234 GB, free: 76.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/3.7, allocations: 49.17 kB / 1.234 GB, free: 76.94 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002546/3.702, allocations: 0.662 MB / 1.235 GB, free: 76.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/3.702, allocations: 2.938 kB / 1.235 GB, free: 76.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/3.702, allocations: 1.297 kB / 1.235 GB, free: 76.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/3.702, allocations: 5.516 kB / 1.235 GB, free: 76.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/3.705, allocations: 1.152 MB / 1.236 GB, free: 76.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/3.705, allocations: 1.469 kB / 1.236 GB, free: 76.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003887/3.705, allocations: 62.2 kB / 1.236 GB, free: 76.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002082/3.707, allocations: 231.9 kB / 1.236 GB, free: 76.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.804e-05/3.707, allocations: 13.56 kB / 1.236 GB, free: 76.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004754/3.708, allocations: 0.5835 MB / 1.237 GB, free: 75.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.351e-06/3.708, allocations: 6.312 kB / 1.237 GB, free: 75.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/3.709, allocations: 0.5087 MB / 1.237 GB, free: 75.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/3.709, allocations: 141.9 kB / 1.237 GB, free: 75.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/3.71, allocations: 9.219 kB / 1.237 GB, free: 75.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005289/3.71, allocations: 40.34 kB / 1.237 GB, free: 75.49 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.445e-05/3.71, allocations: 28.02 kB / 1.237 GB, free: 75.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.552e-05/3.71, allocations: 23.97 kB / 1.237 GB, free: 75.49 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000572/3.711, allocations: 307.9 kB / 1.238 GB, free: 75.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.51e-07/3.711, allocations: 2.594 kB / 1.238 GB, free: 75.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002539/3.713, allocations: 479 kB / 1.238 GB, free: 75.4 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 () * Number of clocked 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.003153/3.717, allocations: 1.231 MB / 1.239 GB, free: 75.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001652/3.718, allocations: 443.9 kB / 1.24 GB, free: 75.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/3.718, allocations: 0 / 1.24 GB, free: 75.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004918/3.719, allocations: 169.2 kB / 1.24 GB, free: 75.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/3.721, allocations: 226.2 kB / 1.24 GB, free: 75.22 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009513/3.73, allocations: 2.723 MB / 1.243 GB, free: 74.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/3.731, allocations: 0.8652 MB / 1.244 GB, free: 73.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005217/3.731, allocations: 91.61 kB / 1.244 GB, free: 73.89 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/3.731, allocations: 3.172 kB / 1.244 GB, free: 73.89 MB / 490.7 MB Notification: Performance of Templates: time 0.03966/3.771, allocations: 24.24 MB / 1.267 GB, free: 73.22 MB / 490.7 MB