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 2.09/2.09, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.869e-05/2.883e-05, allocations: 4 kB / 277.9 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08762/0.08768, allocations: 48.7 MB / 326.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.66/1.747, allocations: 0.6079 GB / 0.9268 GB, free: 81.07 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/1.748, allocations: 91.94 kB / 0.9269 GB, free: 80.98 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.367/3.115, allocations: 281.6 MB / 1.202 GB, free: 59.19 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.732e-06/3.115, allocations: 0 / 1.202 GB, free: 59.19 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.863e-05/3.115, allocations: 14.66 kB / 1.202 GB, free: 59.19 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.003301/3.118, allocations: 1.235 MB / 1.203 GB, free: 58.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/3.118, allocations: 10.06 kB / 1.203 GB, free: 58.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/3.12, allocations: 154.3 kB / 1.203 GB, free: 58.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/3.121, allocations: 0.5234 MB / 1.204 GB, free: 58.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/3.121, allocations: 33.5 kB / 1.204 GB, free: 58.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.512e-05/3.121, allocations: 40.81 kB / 1.204 GB, free: 58.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/3.123, allocations: 0.6258 MB / 1.204 GB, free: 58.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/3.123, allocations: 2.625 kB / 1.204 GB, free: 58.24 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.073e-05/3.123, allocations: 23.31 kB / 1.204 GB, free: 58.24 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/3.123, allocations: 10.72 kB / 1.204 GB, free: 58.24 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/3.124, allocations: 478.7 kB / 1.205 GB, free: 58.24 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.003268/3.127, allocations: 2.56 MB / 1.207 GB, free: 56.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007311/3.128, allocations: 290.6 kB / 1.208 GB, free: 56.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/3.128, allocations: 163 kB / 1.208 GB, free: 56.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003845/3.129, allocations: 328.4 kB / 1.208 GB, free: 56.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/3.129, allocations: 37.59 kB / 1.208 GB, free: 56.24 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 4.41e-06/3.129, allocations: 7.5 kB / 1.208 GB, free: 56.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.001327/3.13, allocations: 446 kB / 1.209 GB, free: 56.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/3.13, allocations: 161.2 kB / 1.209 GB, free: 55.97 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005558/3.131, allocations: 397.5 kB / 1.209 GB, free: 55.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.763e-05/3.131, allocations: 32.02 kB / 1.209 GB, free: 55.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/3.131, allocations: 362.4 kB / 1.21 GB, free: 55.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/3.131, allocations: 123.7 kB / 1.21 GB, free: 55.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/3.131, allocations: 12.31 kB / 1.21 GB, free: 55.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.529e-05/3.131, allocations: 327.1 kB / 1.21 GB, free: 55.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/3.132, allocations: 134.9 kB / 1.21 GB, free: 55.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004268/3.132, allocations: 364.9 kB / 1.21 GB, free: 54.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004142/3.132, allocations: 196.3 kB / 1.211 GB, free: 54.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.459e-06/3.132, allocations: 3.25 kB / 1.211 GB, free: 54.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001266/3.134, allocations: 0.551 MB / 1.211 GB, free: 54.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/3.134, allocations: 11.14 kB / 1.211 GB, free: 54.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/3.134, allocations: 11.2 kB / 1.211 GB, free: 54.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001678/3.136, allocations: 234.2 kB / 1.211 GB, free: 54.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005135/3.136, allocations: 129.7 kB / 1.212 GB, free: 54.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004418/3.137, allocations: 0.5956 MB / 1.212 GB, free: 54.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006074/3.137, allocations: 66.02 kB / 1.212 GB, free: 54.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-05/3.137, allocations: 58.08 kB / 1.212 GB, free: 54.36 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 () * 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.0001592/3.137, allocations: 141.9 kB / 1.212 GB, free: 54.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/3.138, allocations: 51.62 kB / 1.212 GB, free: 54.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/3.14, allocations: 0.652 MB / 1.213 GB, free: 54.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.042e-06/3.14, allocations: 7.406 kB / 1.213 GB, free: 54.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.281e-06/3.14, allocations: 0 / 1.213 GB, free: 54.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.111e-06/3.14, allocations: 0 / 1.213 GB, free: 54.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002446/3.142, allocations: 1.482 MB / 1.215 GB, free: 53.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/3.142, allocations: 3.906 kB / 1.215 GB, free: 53.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003373/3.143, allocations: 72.28 kB / 1.215 GB, free: 53.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001713/3.144, allocations: 230.1 kB / 1.215 GB, free: 53.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/3.144, allocations: 22.11 kB / 1.215 GB, free: 53.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004224/3.145, allocations: 0.5851 MB / 1.215 GB, free: 52.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.123e-06/3.145, allocations: 7.5 kB / 1.215 GB, free: 52.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/3.146, allocations: 0.6725 MB / 1.216 GB, free: 52.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/3.146, allocations: 184.8 kB / 1.216 GB, free: 52.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/3.146, allocations: 9.031 kB / 1.216 GB, free: 52.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004606/3.147, allocations: 31.06 kB / 1.216 GB, free: 52.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.849e-05/3.147, allocations: 39.19 kB / 1.216 GB, free: 52.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.075e-05/3.147, allocations: 33.05 kB / 1.216 GB, free: 52.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004401/3.147, allocations: 315.3 kB / 1.217 GB, free: 52.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.73e-07/3.147, allocations: 2.125 kB / 1.217 GB, free: 52.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002072/3.149, allocations: 0.4912 MB / 1.217 GB, free: 52.23 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 () * 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.002644/3.152, allocations: 1.368 MB / 1.218 GB, free: 51.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001061/3.153, allocations: 396.8 kB / 1.219 GB, free: 51.94 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/3.153, allocations: 3.031 kB / 1.219 GB, free: 51.94 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003777/3.154, allocations: 189.6 kB / 1.219 GB, free: 51.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/3.155, allocations: 279.2 kB / 1.219 GB, free: 51.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007275/3.163, allocations: 2.123 MB / 1.221 GB, free: 51.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/3.163, allocations: 0.8763 MB / 1.222 GB, free: 50.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005267/3.164, allocations: 104.7 kB / 1.222 GB, free: 50.88 MB / 426.7 MB Notification: Performance of SimCode: time 2.25e-06/3.164, allocations: 3.875 kB / 1.222 GB, free: 50.88 MB / 426.7 MB Notification: Performance of Templates: time 0.03202/3.196, allocations: 19.62 MB / 1.242 GB, free: 49.47 MB / 426.7 MB