Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") Notification: Performance of loadModel(ModelicaTest): time 1.901/1.901, allocations: 209.3 MB / 224.9 MB, free: 1.199 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004272/0.0004272, allocations: 12 kB / 282.6 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08613/0.08658, allocations: 48.7 MB / 331.3 MB, free: 8.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.582/1.669, allocations: 0.608 GB / 0.9315 GB, free: 41.21 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/1.669, allocations: 91.95 kB / 0.9316 GB, free: 41.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.46/3.129, allocations: 282.3 MB / 1.207 GB, free: 67.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.439e-06/3.129, allocations: 3.938 kB / 1.207 GB, free: 67.03 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.777e-05/3.129, allocations: 11.88 kB / 1.207 GB, free: 67.03 MB / 426.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.00319/3.133, allocations: 1.314 MB / 1.209 GB, free: 66.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/3.133, allocations: 7.719 kB / 1.209 GB, free: 66.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/3.134, allocations: 156.2 kB / 1.209 GB, free: 66.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/3.135, allocations: 0.5266 MB / 1.209 GB, free: 65.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/3.135, allocations: 35.14 kB / 1.209 GB, free: 65.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.755e-05/3.136, allocations: 45.88 kB / 1.209 GB, free: 65.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/3.137, allocations: 0.6312 MB / 1.21 GB, free: 65.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/3.137, allocations: 7.906 kB / 1.21 GB, free: 65.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.484e-05/3.137, allocations: 19.91 kB / 1.21 GB, free: 65.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/3.137, allocations: 11.72 kB / 1.21 GB, free: 65.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/3.138, allocations: 498.6 kB / 1.21 GB, free: 65.23 MB / 426.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.003108/3.141, allocations: 2.57 MB / 1.213 GB, free: 63.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007481/3.142, allocations: 302.4 kB / 1.213 GB, free: 63.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003488/3.143, allocations: 324.5 kB / 1.214 GB, free: 62.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/3.143, allocations: 41.47 kB / 1.214 GB, free: 62.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.639e-06/3.143, allocations: 0 / 1.214 GB, free: 62.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.001839/3.144, allocations: 0.6726 MB / 1.214 GB, free: 62.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/3.144, allocations: 162.2 kB / 1.214 GB, free: 62.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000509/3.145, allocations: 395.8 kB / 1.215 GB, free: 62.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/3.145, allocations: 40.45 kB / 1.215 GB, free: 62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/3.145, allocations: 362.1 kB / 1.215 GB, free: 61.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/3.145, allocations: 126.3 kB / 1.215 GB, free: 61.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/3.145, allocations: 8 kB / 1.215 GB, free: 61.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.483e-05/3.145, allocations: 334 kB / 1.216 GB, free: 61.26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/3.146, allocations: 146 kB / 1.216 GB, free: 61.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004163/3.146, allocations: 364.4 kB / 1.216 GB, free: 60.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/3.147, allocations: 205.3 kB / 1.216 GB, free: 60.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.444e-06/3.147, allocations: 3.812 kB / 1.216 GB, free: 60.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001273/3.148, allocations: 0.5775 MB / 1.217 GB, free: 60.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/3.148, allocations: 11.55 kB / 1.217 GB, free: 60.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/3.148, allocations: 7.625 kB / 1.217 GB, free: 60.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/3.15, allocations: 234.9 kB / 1.217 GB, free: 60.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005079/3.15, allocations: 131.3 kB / 1.217 GB, free: 60.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000448/3.151, allocations: 0.5907 MB / 1.218 GB, free: 59.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006341/3.151, allocations: 64.97 kB / 1.218 GB, free: 59.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/3.151, allocations: 62.75 kB / 1.218 GB, free: 59.94 MB / 426.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.0003415/3.152, allocations: 199.3 kB / 1.218 GB, free: 59.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/3.152, allocations: 57.47 kB / 1.218 GB, free: 59.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002071/3.154, allocations: 0.6571 MB / 1.219 GB, free: 59.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/3.154, allocations: 10.56 kB / 1.219 GB, free: 59.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.182e-06/3.154, allocations: 0 / 1.219 GB, free: 59.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.652e-06/3.154, allocations: 6.672 kB / 1.219 GB, free: 59.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/3.156, allocations: 1.494 MB / 1.22 GB, free: 58.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/3.156, allocations: 6.156 kB / 1.22 GB, free: 58.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002877/3.157, allocations: 69.17 kB / 1.22 GB, free: 58.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001608/3.158, allocations: 235 kB / 1.221 GB, free: 58.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.781e-05/3.158, allocations: 22.14 kB / 1.221 GB, free: 58.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004021/3.159, allocations: 0.5862 MB / 1.221 GB, free: 57.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.099e-06/3.159, allocations: 0 / 1.221 GB, free: 57.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/3.16, allocations: 0.6965 MB / 1.222 GB, free: 57.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/3.16, allocations: 183.3 kB / 1.222 GB, free: 57.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/3.16, allocations: 18.78 kB / 1.222 GB, free: 57.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/3.161, allocations: 29.42 kB / 1.222 GB, free: 57.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.56e-05/3.161, allocations: 40.84 kB / 1.222 GB, free: 57.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.06e-05/3.161, allocations: 28.86 kB / 1.222 GB, free: 57.19 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004312/3.161, allocations: 319.1 kB / 1.222 GB, free: 57.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-07/3.161, allocations: 3.938 kB / 1.222 GB, free: 57.03 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002018/3.163, allocations: 498.6 kB / 1.223 GB, free: 56.88 MB / 426.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.002623/3.166, allocations: 1.364 MB / 1.224 GB, free: 56.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001083/3.167, allocations: 432.1 kB / 1.225 GB, free: 56.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.289e-06/3.167, allocations: 0 / 1.225 GB, free: 56.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004173/3.168, allocations: 195.8 kB / 1.225 GB, free: 56.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/3.169, allocations: 278.6 kB / 1.225 GB, free: 56.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00792/3.177, allocations: 2.648 MB / 1.228 GB, free: 55.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/3.178, allocations: 0.873 MB / 1.229 GB, free: 54.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005189/3.178, allocations: 106.5 kB / 1.229 GB, free: 54.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.6e-06/3.178, allocations: 0 / 1.229 GB, free: 54.59 MB / 426.7 MB Notification: Performance of Templates: time 0.02897/3.207, allocations: 19.68 MB / 1.248 GB, free: 40.49 MB / 426.7 MB