Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.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.294/2.294, allocations: 234.9 MB / 251.1 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005843/0.0005845, allocations: 12 kB / 315 MB, free: 9.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4777/0.4783, allocations: 54.85 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.803/2.282, allocations: 0.6148 GB / 0.976 GB, free: 44.44 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003368/2.282, allocations: 101.3 kB / 0.976 GB, free: 44.38 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.807/4.089, allocations: 282.4 MB / 1.252 GB, free: 89.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.324e-06/4.089, allocations: 2.812 kB / 1.252 GB, free: 89.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.719e-05/4.09, allocations: 16.5 kB / 1.252 GB, free: 89.52 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.004326/4.094, allocations: 1.307 MB / 1.253 GB, free: 88.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/4.094, allocations: 14.72 kB / 1.253 GB, free: 88.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/4.096, allocations: 152.2 kB / 1.253 GB, free: 88.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/4.098, allocations: 0.5378 MB / 1.254 GB, free: 88.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.191e-05/4.098, allocations: 32.28 kB / 1.254 GB, free: 88.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/4.098, allocations: 44.09 kB / 1.254 GB, free: 88.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/4.099, allocations: 0.634 MB / 1.254 GB, free: 88.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/4.1, allocations: 3 kB / 1.254 GB, free: 88.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/4.1, allocations: 23.69 kB / 1.255 GB, free: 88.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/4.1, allocations: 15.14 kB / 1.255 GB, free: 88.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/4.101, allocations: 0.495 MB / 1.255 GB, free: 88.54 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.0041/4.105, allocations: 2.559 MB / 1.258 GB, free: 86.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009085/4.106, allocations: 296.9 kB / 1.258 GB, free: 86.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004391/4.107, allocations: 329.7 kB / 1.258 GB, free: 86.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/4.107, allocations: 36.53 kB / 1.258 GB, free: 86.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 3.136e-06/4.107, allocations: 3.625 kB / 1.258 GB, free: 86.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.002213/4.109, allocations: 0.6656 MB / 1.259 GB, free: 86.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/4.109, allocations: 158 kB / 1.259 GB, free: 86.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006599/4.11, allocations: 452.7 kB / 1.259 GB, free: 86.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.785e-05/4.11, allocations: 35.14 kB / 1.259 GB, free: 86.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/4.11, allocations: 356.9 kB / 1.26 GB, free: 85.81 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/4.11, allocations: 130.2 kB / 1.26 GB, free: 85.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/4.11, allocations: 10.25 kB / 1.26 GB, free: 85.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.791e-05/4.11, allocations: 339.5 kB / 1.26 GB, free: 85.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004155/4.111, allocations: 143.6 kB / 1.26 GB, free: 85.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005277/4.111, allocations: 368.8 kB / 1.261 GB, free: 85.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/4.112, allocations: 201.1 kB / 1.261 GB, free: 85.17 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/4.112, allocations: 0 / 1.261 GB, free: 85.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00148/4.113, allocations: 0.5724 MB / 1.261 GB, free: 85.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/4.113, allocations: 7.281 kB / 1.261 GB, free: 85.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/4.113, allocations: 6.938 kB / 1.261 GB, free: 85.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002219/4.115, allocations: 241.7 kB / 1.262 GB, free: 85.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007626/4.116, allocations: 131.2 kB / 1.262 GB, free: 85.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000543/4.117, allocations: 0.5942 MB / 1.262 GB, free: 84.58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000722/4.118, allocations: 70.16 kB / 1.262 GB, free: 84.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/4.118, allocations: 58.81 kB / 1.263 GB, free: 84.56 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.0003936/4.118, allocations: 191.9 kB / 1.263 GB, free: 84.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/4.118, allocations: 51.8 kB / 1.263 GB, free: 84.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002429/4.121, allocations: 0.6727 MB / 1.263 GB, free: 84.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/4.121, allocations: 7.578 kB / 1.263 GB, free: 84.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/4.121, allocations: 0 / 1.263 GB, free: 84.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/4.121, allocations: 7.406 kB / 1.263 GB, free: 84.33 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002899/4.124, allocations: 1.503 MB / 1.265 GB, free: 83.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/4.124, allocations: 3.906 kB / 1.265 GB, free: 83.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004219/4.124, allocations: 67.39 kB / 1.265 GB, free: 83.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002071/4.126, allocations: 234.9 kB / 1.265 GB, free: 83.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.814e-05/4.126, allocations: 14.7 kB / 1.265 GB, free: 83.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005072/4.127, allocations: 0.5993 MB / 1.266 GB, free: 83.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/4.127, allocations: 5.531 kB / 1.266 GB, free: 83.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/4.128, allocations: 0.5717 MB / 1.266 GB, free: 82.87 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002677/4.129, allocations: 137.7 kB / 1.266 GB, free: 82.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/4.129, allocations: 15.5 kB / 1.266 GB, free: 82.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005178/4.129, allocations: 32.61 kB / 1.267 GB, free: 82.74 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.887e-05/4.129, allocations: 34.59 kB / 1.267 GB, free: 82.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.126e-05/4.129, allocations: 31.98 kB / 1.267 GB, free: 82.74 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005179/4.13, allocations: 313.2 kB / 1.267 GB, free: 82.65 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.21e-07/4.13, allocations: 0 / 1.267 GB, free: 82.65 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002451/4.132, allocations: 0.4923 MB / 1.267 GB, free: 82.58 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.003323/4.136, allocations: 1.361 MB / 1.269 GB, free: 82.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001362/4.137, allocations: 413.9 kB / 1.269 GB, free: 82.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/4.137, allocations: 9.141 kB / 1.269 GB, free: 82.31 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005333/4.138, allocations: 195 kB / 1.269 GB, free: 82.31 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/4.14, allocations: 280.6 kB / 1.27 GB, free: 82.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/4.151, allocations: 2.665 MB / 1.272 GB, free: 81.63 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/4.151, allocations: 0.8727 MB / 1.273 GB, free: 80.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006107/4.152, allocations: 109.2 kB / 1.273 GB, free: 80.93 MB / 490.7 MB Notification: Performance of SimCode: time 1.443e-06/4.152, allocations: 0 / 1.273 GB, free: 80.93 MB / 490.7 MB Notification: Performance of Templates: time 0.04041/4.192, allocations: 19.66 MB / 1.292 GB, free: 79.74 MB / 490.7 MB