Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,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.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") Notification: Performance of loadModel(ModelicaTest): time 2.062/2.062, allocations: 209.3 MB / 225.4 MB, free: 1.547 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004378/0.000438, allocations: 12 kB / 283.1 MB, free: 9.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1112, allocations: 48.72 MB / 331.8 MB, free: 9 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.947/2.058, allocations: 0.6068 GB / 0.9309 GB, free: 75.93 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004128/2.058, allocations: 95.64 kB / 0.931 GB, free: 75.88 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.255/3.314, allocations: 243.3 MB / 1.169 GB, free: 15.93 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.545e-06/3.314, allocations: 0 / 1.169 GB, free: 15.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.561e-05/3.314, allocations: 19.98 kB / 1.169 GB, free: 15.91 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.003163/3.317, allocations: 1.037 MB / 1.17 GB, free: 14.83 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/3.317, allocations: 12.03 kB / 1.17 GB, free: 14.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/3.318, allocations: 139.1 kB / 1.17 GB, free: 14.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/3.32, allocations: 0.5327 MB / 1.17 GB, free: 14.11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/3.32, allocations: 29 kB / 1.17 GB, free: 14.08 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/3.32, allocations: 40 kB / 1.17 GB, free: 14.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/3.322, allocations: 0.5961 MB / 1.171 GB, free: 13.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/3.322, allocations: 0 / 1.171 GB, free: 13.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-05/3.322, allocations: 24 kB / 1.171 GB, free: 13.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/3.322, allocations: 12 kB / 1.171 GB, free: 13.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/3.323, allocations: 487.6 kB / 1.171 GB, free: 12.89 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.003915/3.327, allocations: 2.589 MB / 1.174 GB, free: 10.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/3.328, allocations: 315.8 kB / 1.174 GB, free: 9.758 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004426/3.329, allocations: 325.5 kB / 1.175 GB, free: 9.387 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/3.329, allocations: 46.78 kB / 1.175 GB, free: 9.332 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 3.236e-06/3.329, allocations: 0 / 1.175 GB, free: 9.332 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.002404/3.331, allocations: 0.6815 MB / 1.175 GB, free: 8.625 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/3.331, allocations: 136.5 kB / 1.175 GB, free: 8.461 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006731/3.332, allocations: 433.8 kB / 1.176 GB, free: 8.023 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.626e-05/3.332, allocations: 33.7 kB / 1.176 GB, free: 7.984 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/3.332, allocations: 338 kB / 1.176 GB, free: 7.652 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/3.332, allocations: 118.3 kB / 1.176 GB, free: 7.535 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/3.333, allocations: 16 kB / 1.176 GB, free: 7.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.523e-05/3.333, allocations: 334.8 kB / 1.177 GB, free: 7.184 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005563/3.333, allocations: 197 kB / 1.177 GB, free: 6.988 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000613/3.334, allocations: 371.3 kB / 1.177 GB, free: 6.551 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006096/3.334, allocations: 235.8 kB / 1.177 GB, free: 6.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/3.334, allocations: 7.938 kB / 1.177 GB, free: 6.312 MB / 442.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001711/3.336, allocations: 0.6459 MB / 1.178 GB, free: 5.656 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/3.336, allocations: 4 kB / 1.178 GB, free: 5.652 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/3.336, allocations: 8 kB / 1.178 GB, free: 5.645 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002176/3.338, allocations: 241.2 kB / 1.178 GB, free: 5.406 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000951/3.339, allocations: 147.8 kB / 1.178 GB, free: 5.262 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3445/3.684, allocations: 23.11 MB / 1.201 GB, free: 57.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008456/3.685, allocations: 71.08 kB / 1.201 GB, free: 57.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/3.685, allocations: 51.69 kB / 1.201 GB, free: 57.04 MB / 442.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 (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.0004486/3.685, allocations: 194.1 kB / 1.201 GB, free: 56.92 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/3.686, allocations: 48.47 kB / 1.201 GB, free: 56.92 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002711/3.688, allocations: 0.661 MB / 1.202 GB, free: 56.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/3.688, allocations: 6.656 kB / 1.202 GB, free: 56.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/3.688, allocations: 0 / 1.202 GB, free: 56.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/3.688, allocations: 6.766 kB / 1.202 GB, free: 56.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002952/3.691, allocations: 1.151 MB / 1.203 GB, free: 56.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/3.691, allocations: 3.906 kB / 1.203 GB, free: 56.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004366/3.692, allocations: 61.7 kB / 1.203 GB, free: 56.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002203/3.694, allocations: 229.4 kB / 1.203 GB, free: 56.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.814e-05/3.694, allocations: 18.17 kB / 1.203 GB, free: 56.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005358/3.695, allocations: 0.5942 MB / 1.204 GB, free: 55.83 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/3.695, allocations: 7.125 kB / 1.204 GB, free: 55.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/3.696, allocations: 0.5118 MB / 1.204 GB, free: 55.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/3.696, allocations: 143 kB / 1.205 GB, free: 55.48 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/3.697, allocations: 6.969 kB / 1.205 GB, free: 55.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005519/3.697, allocations: 38.95 kB / 1.205 GB, free: 55.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/3.697, allocations: 27.19 kB / 1.205 GB, free: 55.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.293e-05/3.697, allocations: 20.39 kB / 1.205 GB, free: 55.47 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006535/3.698, allocations: 322.7 kB / 1.205 GB, free: 55.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.72e-07/3.698, allocations: 3.328 kB / 1.205 GB, free: 55.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002876/3.701, allocations: 489.9 kB / 1.205 GB, free: 55.38 MB / 442.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.00379/3.705, allocations: 1.228 MB / 1.207 GB, free: 55.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002012/3.707, allocations: 475.9 kB / 1.207 GB, free: 55.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/3.707, allocations: 1.281 kB / 1.207 GB, free: 55.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006434/3.708, allocations: 179.1 kB / 1.207 GB, free: 55.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/3.71, allocations: 226.4 kB / 1.207 GB, free: 55.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/3.721, allocations: 2.748 MB / 1.21 GB, free: 54.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/3.721, allocations: 0.8651 MB / 1.211 GB, free: 53.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005868/3.722, allocations: 85.2 kB / 1.211 GB, free: 53.89 MB / 442.7 MB Notification: Performance of SimCode: time 1.072e-06/3.722, allocations: 0 / 1.211 GB, free: 53.89 MB / 442.7 MB Notification: Performance of Templates: time 0.05316/3.775, allocations: 26.73 MB / 1.237 GB, free: 52.98 MB / 442.7 MB