Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") Notification: Performance of loadModel(ModelicaTest): time 2.136/2.136, allocations: 234.9 MB / 250.5 MB, free: 10.44 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004496/0.0004497, allocations: 12 kB / 314.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3263, allocations: 54.87 MB / 369.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.504/1.83, allocations: 0.6148 GB / 0.9755 GB, free: 48.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/1.83, allocations: 95.78 kB / 0.9755 GB, free: 48.45 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.496/3.326, allocations: 282.4 MB / 1.251 GB, free: 89.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.178e-06/3.326, allocations: 0 / 1.251 GB, free: 89.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.579e-05/3.326, allocations: 15.25 kB / 1.251 GB, free: 89.29 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003337/3.33, allocations: 1.317 MB / 1.253 GB, free: 88.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/3.33, allocations: 11.72 kB / 1.253 GB, free: 88.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/3.331, allocations: 147.8 kB / 1.253 GB, free: 88.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/3.332, allocations: 0.53 MB / 1.253 GB, free: 88.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.755e-05/3.332, allocations: 33.41 kB / 1.253 GB, free: 88.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.413e-05/3.332, allocations: 46.69 kB / 1.253 GB, free: 88.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/3.334, allocations: 0.6267 MB / 1.254 GB, free: 88.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/3.334, allocations: 4.156 kB / 1.254 GB, free: 88.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.872e-05/3.334, allocations: 24.56 kB / 1.254 GB, free: 88.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/3.334, allocations: 11.62 kB / 1.254 GB, free: 88.31 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/3.335, allocations: 0.4938 MB / 1.254 GB, free: 88.31 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.003028/3.338, allocations: 2.565 MB / 1.257 GB, free: 86.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007883/3.339, allocations: 298.2 kB / 1.257 GB, free: 86.63 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003581/3.339, allocations: 331.2 kB / 1.258 GB, free: 86.35 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/3.339, allocations: 45.92 kB / 1.258 GB, free: 86.31 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 4.255e-06/3.339, allocations: 0 / 1.258 GB, free: 86.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.001892/3.341, allocations: 0.6658 MB / 1.258 GB, free: 86.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/3.341, allocations: 160 kB / 1.258 GB, free: 85.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005432/3.342, allocations: 394.3 kB / 1.259 GB, free: 85.85 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/3.342, allocations: 29.02 kB / 1.259 GB, free: 85.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/3.342, allocations: 364.2 kB / 1.259 GB, free: 85.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/3.342, allocations: 121.1 kB / 1.259 GB, free: 85.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/3.342, allocations: 13.72 kB / 1.259 GB, free: 85.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.794e-05/3.342, allocations: 335.7 kB / 1.26 GB, free: 85.22 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/3.343, allocations: 143 kB / 1.26 GB, free: 85.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/3.343, allocations: 369.8 kB / 1.26 GB, free: 84.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004226/3.344, allocations: 201 kB / 1.26 GB, free: 84.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.813e-06/3.344, allocations: 0 / 1.26 GB, free: 84.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001335/3.345, allocations: 0.575 MB / 1.261 GB, free: 84.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/3.345, allocations: 7.25 kB / 1.261 GB, free: 84.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/3.345, allocations: 7.469 kB / 1.261 GB, free: 84.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/3.347, allocations: 233.1 kB / 1.261 GB, free: 84.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/3.347, allocations: 133.6 kB / 1.261 GB, free: 84.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004503/3.348, allocations: 0.6015 MB / 1.262 GB, free: 84.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000593/3.348, allocations: 70.58 kB / 1.262 GB, free: 84.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-05/3.348, allocations: 53.2 kB / 1.262 GB, free: 84.35 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (60): * Single equations (assignments): 59 * 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 prepare postOptimizeDAE: time 0.0003545/3.349, allocations: 196.9 kB / 1.262 GB, free: 84.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/3.349, allocations: 51.66 kB / 1.262 GB, free: 84.21 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/3.351, allocations: 0.669 MB / 1.263 GB, free: 84.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.563e-06/3.351, allocations: 6.062 kB / 1.263 GB, free: 84.13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.058e-06/3.351, allocations: 6.953 kB / 1.263 GB, free: 84.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.168e-06/3.351, allocations: 0 / 1.263 GB, free: 84.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/3.353, allocations: 1.503 MB / 1.264 GB, free: 83.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/3.354, allocations: 7.25 kB / 1.264 GB, free: 83.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/3.354, allocations: 77.36 kB / 1.264 GB, free: 83.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00148/3.355, allocations: 227.2 kB / 1.265 GB, free: 83.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/3.355, allocations: 18.77 kB / 1.265 GB, free: 83.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004046/3.356, allocations: 0.5931 MB / 1.265 GB, free: 82.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/3.356, allocations: 3.125 kB / 1.265 GB, free: 82.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/3.357, allocations: 0.6944 MB / 1.266 GB, free: 82.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/3.357, allocations: 134.6 kB / 1.266 GB, free: 82.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/3.357, allocations: 11.59 kB / 1.266 GB, free: 82.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004157/3.358, allocations: 29.12 kB / 1.266 GB, free: 82.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.3e-05/3.358, allocations: 41.88 kB / 1.266 GB, free: 82.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.986e-05/3.358, allocations: 30.75 kB / 1.266 GB, free: 82.37 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004619/3.358, allocations: 314.8 kB / 1.266 GB, free: 82.28 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.03e-07/3.358, allocations: 0 / 1.266 GB, free: 82.28 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002062/3.36, allocations: 0.4907 MB / 1.267 GB, free: 82.21 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (35): * Single equations (assignments): 34 * 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.002679/3.363, allocations: 1.356 MB / 1.268 GB, free: 81.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001132/3.364, allocations: 418.8 kB / 1.269 GB, free: 81.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.976e-06/3.364, allocations: 0 / 1.269 GB, free: 81.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004349/3.365, allocations: 201.4 kB / 1.269 GB, free: 81.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/3.366, allocations: 284.6 kB / 1.269 GB, free: 81.94 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007825/3.374, allocations: 2.664 MB / 1.272 GB, free: 81.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/3.375, allocations: 0.8744 MB / 1.273 GB, free: 80.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004929/3.375, allocations: 107.2 kB / 1.273 GB, free: 80.57 MB / 490.7 MB Notification: Performance of SimCode: time 1.478e-06/3.375, allocations: 3.75 kB / 1.273 GB, free: 80.57 MB / 490.7 MB Notification: Performance of Templates: time 0.02963/3.405, allocations: 19.66 MB / 1.292 GB, free: 79.45 MB / 490.7 MB