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.EdgedBend.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.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.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadModel(ModelicaTest): time 1.939/1.939, allocations: 209.2 MB / 225.4 MB, free: 0.5273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000431/0.0004311, allocations: 8 kB / 283.1 MB, free: 9.676 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3621, allocations: 48.7 MB / 331.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.704/2.066, allocations: 0.606 GB / 0.93 GB, free: 43.09 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003406/2.066, allocations: 95.64 kB / 0.9301 GB, free: 43.04 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.732/3.799, allocations: 238.2 MB / 1.163 GB, free: 81.83 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.898e-06/3.799, allocations: 1.156 kB / 1.163 GB, free: 81.83 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.781e-05/3.799, allocations: 16.12 kB / 1.163 GB, free: 81.83 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.003804/3.803, allocations: 1.036 MB / 1.164 GB, free: 81.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/3.803, allocations: 9.938 kB / 1.164 GB, free: 81.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/3.804, allocations: 142 kB / 1.164 GB, free: 81.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/3.806, allocations: 0.5246 MB / 1.164 GB, free: 81.17 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/3.806, allocations: 34.47 kB / 1.164 GB, free: 81.17 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/3.806, allocations: 40.03 kB / 1.165 GB, free: 81.17 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/3.808, allocations: 0.5885 MB / 1.165 GB, free: 81.03 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/3.808, allocations: 0.75 kB / 1.165 GB, free: 81.03 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-05/3.808, allocations: 19.59 kB / 1.165 GB, free: 81.03 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/3.808, allocations: 11.34 kB / 1.165 GB, free: 81.03 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/3.81, allocations: 493.6 kB / 1.166 GB, free: 81.03 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.004232/3.814, allocations: 2.583 MB / 1.168 GB, free: 79.28 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/3.815, allocations: 313.6 kB / 1.168 GB, free: 79.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004832/3.815, allocations: 323.5 kB / 1.169 GB, free: 78.97 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/3.816, allocations: 40.52 kB / 1.169 GB, free: 78.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 2.966e-06/3.816, allocations: 0 / 1.169 GB, free: 78.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.002596/3.818, allocations: 0.6688 MB / 1.169 GB, free: 78.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/3.818, allocations: 142.7 kB / 1.17 GB, free: 78.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007088/3.819, allocations: 414.2 kB / 1.17 GB, free: 78.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.048e-05/3.819, allocations: 31.86 kB / 1.17 GB, free: 78.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/3.819, allocations: 334.5 kB / 1.17 GB, free: 78.26 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/3.819, allocations: 123.3 kB / 1.17 GB, free: 78.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/3.819, allocations: 9.781 kB / 1.17 GB, free: 78.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.854e-05/3.82, allocations: 329 kB / 1.171 GB, free: 77.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005596/3.82, allocations: 172.2 kB / 1.171 GB, free: 77.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000664/3.821, allocations: 346.4 kB / 1.171 GB, free: 77.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006477/3.821, allocations: 231.3 kB / 1.171 GB, free: 77.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/3.821, allocations: 3.656 kB / 1.171 GB, free: 77.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001817/3.823, allocations: 0.5926 MB / 1.172 GB, free: 77.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/3.823, allocations: 10.14 kB / 1.172 GB, free: 77.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/3.823, allocations: 9.094 kB / 1.172 GB, free: 77.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002257/3.826, allocations: 235 kB / 1.172 GB, free: 77.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009213/3.827, allocations: 142.3 kB / 1.172 GB, free: 77.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006038/3.833, allocations: 17.48 MB / 1.189 GB, free: 59.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008697/3.834, allocations: 67.55 kB / 1.19 GB, free: 59.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/3.834, allocations: 52.66 kB / 1.19 GB, free: 59.64 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 (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.0004229/3.834, allocations: 196.5 kB / 1.19 GB, free: 59.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/3.834, allocations: 46.06 kB / 1.19 GB, free: 59.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/3.837, allocations: 0.6664 MB / 1.19 GB, free: 59.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/3.837, allocations: 3.781 kB / 1.19 GB, free: 59.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/3.837, allocations: 0 / 1.19 GB, free: 59.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/3.837, allocations: 4.719 kB / 1.19 GB, free: 59.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002748/3.84, allocations: 1.148 MB / 1.192 GB, free: 58.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/3.84, allocations: 1.438 kB / 1.192 GB, free: 58.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003988/3.84, allocations: 63.69 kB / 1.192 GB, free: 58.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00215/3.842, allocations: 232.9 kB / 1.192 GB, free: 58.92 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.745e-05/3.842, allocations: 14.28 kB / 1.192 GB, free: 58.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004874/3.843, allocations: 0.5795 MB / 1.192 GB, free: 58.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/3.843, allocations: 2.125 kB / 1.192 GB, free: 58.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/3.844, allocations: 0.5108 MB / 1.193 GB, free: 58.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/3.845, allocations: 147.6 kB / 1.193 GB, free: 58.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/3.845, allocations: 9.531 kB / 1.193 GB, free: 58.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005366/3.845, allocations: 37.81 kB / 1.193 GB, free: 58.05 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.712e-05/3.845, allocations: 27.81 kB / 1.193 GB, free: 58.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.453e-05/3.845, allocations: 17.22 kB / 1.193 GB, free: 58.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005509/3.846, allocations: 308.7 kB / 1.194 GB, free: 57.97 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.81e-07/3.846, allocations: 0 / 1.194 GB, free: 57.97 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002516/3.849, allocations: 488.8 kB / 1.194 GB, free: 57.96 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.003104/3.852, allocations: 1.24 MB / 1.195 GB, free: 57.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001724/3.853, allocations: 449.3 kB / 1.196 GB, free: 57.74 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/3.854, allocations: 2.531 kB / 1.196 GB, free: 57.74 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005239/3.854, allocations: 164 kB / 1.196 GB, free: 57.74 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/3.856, allocations: 225.9 kB / 1.196 GB, free: 57.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/3.867, allocations: 2.721 MB / 1.199 GB, free: 57.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/3.867, allocations: 0.863 MB / 1.199 GB, free: 56.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005922/3.868, allocations: 97.72 kB / 1.2 GB, free: 56.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.633e-06/3.868, allocations: 0 / 1.2 GB, free: 56.4 MB / 442.7 MB Notification: Performance of Templates: time 0.04351/3.911, allocations: 24.25 MB / 1.223 GB, free: 55.37 MB / 442.7 MB