Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.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.062/2.062, allocations: 209.3 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006319/0.0006321, allocations: 19.98 kB / 283.1 MB, free: 9.672 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.3995, allocations: 48.69 MB / 331.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.794/2.194, allocations: 0.608 GB / 0.932 GB, free: 40.73 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003435/2.194, allocations: 101.8 kB / 0.9321 GB, free: 40.67 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.687/3.881, allocations: 282.3 MB / 1.208 GB, free: 78.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.904e-06/3.881, allocations: 0 / 1.208 GB, free: 78.45 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.966e-05/3.881, allocations: 14.14 kB / 1.208 GB, free: 78.45 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.004/3.885, allocations: 1.316 MB / 1.209 GB, free: 77.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/3.885, allocations: 10.5 kB / 1.209 GB, free: 77.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/3.886, allocations: 164 kB / 1.209 GB, free: 77.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/3.888, allocations: 0.5218 MB / 1.21 GB, free: 77.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/3.888, allocations: 32.97 kB / 1.21 GB, free: 77.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-05/3.888, allocations: 45.53 kB / 1.21 GB, free: 77.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/3.89, allocations: 0.6353 MB / 1.21 GB, free: 77.24 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/3.89, allocations: 3.656 kB / 1.21 GB, free: 77.24 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.967e-05/3.89, allocations: 29.78 kB / 1.21 GB, free: 77.24 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/3.89, allocations: 15.11 kB / 1.21 GB, free: 77.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/3.891, allocations: 494.8 kB / 1.211 GB, free: 77.23 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.00387/3.895, allocations: 2.565 MB / 1.213 GB, free: 75.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008748/3.896, allocations: 303.8 kB / 1.214 GB, free: 75.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004139/3.896, allocations: 321.4 kB / 1.214 GB, free: 75.26 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/3.896, allocations: 37.81 kB / 1.214 GB, free: 75.22 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 3.256e-06/3.896, allocations: 2.344 kB / 1.214 GB, free: 75.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.002106/3.899, allocations: 0.6706 MB / 1.215 GB, free: 75.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/3.899, allocations: 160.2 kB / 1.215 GB, free: 74.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006082/3.899, allocations: 452.7 kB / 1.215 GB, free: 74.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.126e-05/3.899, allocations: 36.7 kB / 1.215 GB, free: 74.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/3.9, allocations: 362.6 kB / 1.216 GB, free: 74.45 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/3.9, allocations: 126.3 kB / 1.216 GB, free: 74.37 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/3.9, allocations: 10.78 kB / 1.216 GB, free: 74.37 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.054e-05/3.9, allocations: 332.9 kB / 1.216 GB, free: 74.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/3.9, allocations: 144 kB / 1.216 GB, free: 74.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005018/3.901, allocations: 372.8 kB / 1.217 GB, free: 73.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/3.901, allocations: 199.4 kB / 1.217 GB, free: 73.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/3.901, allocations: 3.344 kB / 1.217 GB, free: 73.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001424/3.903, allocations: 0.5726 MB / 1.217 GB, free: 73.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/3.903, allocations: 7.5 kB / 1.217 GB, free: 73.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/3.903, allocations: 6.375 kB / 1.217 GB, free: 73.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002124/3.905, allocations: 236.6 kB / 1.218 GB, free: 73.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007111/3.906, allocations: 138.9 kB / 1.218 GB, free: 73.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005097/3.906, allocations: 0.5938 MB / 1.218 GB, free: 73.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006841/3.907, allocations: 63.41 kB / 1.218 GB, free: 73.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/3.907, allocations: 63.69 kB / 1.218 GB, free: 73.17 MB / 442.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.0003906/3.907, allocations: 197.8 kB / 1.219 GB, free: 73.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/3.907, allocations: 50.25 kB / 1.219 GB, free: 73.03 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002385/3.91, allocations: 0.6646 MB / 1.219 GB, free: 72.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/3.91, allocations: 6.75 kB / 1.219 GB, free: 72.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/3.91, allocations: 0 / 1.219 GB, free: 72.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-05/3.91, allocations: 10.64 kB / 1.219 GB, free: 72.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002899/3.913, allocations: 1.493 MB / 1.221 GB, free: 72.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/3.913, allocations: 3.781 kB / 1.221 GB, free: 72.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004179/3.913, allocations: 69.25 kB / 1.221 GB, free: 72.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002052/3.915, allocations: 233.7 kB / 1.221 GB, free: 72.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.908e-05/3.916, allocations: 25.56 kB / 1.221 GB, free: 72.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004574/3.916, allocations: 0.5792 MB / 1.222 GB, free: 71.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/3.916, allocations: 6.969 kB / 1.222 GB, free: 71.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/3.917, allocations: 0.5791 MB / 1.222 GB, free: 71.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000331/3.918, allocations: 186.7 kB / 1.222 GB, free: 71.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/3.918, allocations: 10.31 kB / 1.222 GB, free: 71.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005119/3.918, allocations: 31.62 kB / 1.223 GB, free: 71.33 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.655e-05/3.918, allocations: 34.62 kB / 1.223 GB, free: 71.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.288e-05/3.918, allocations: 28.69 kB / 1.223 GB, free: 71.33 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004997/3.919, allocations: 329.2 kB / 1.223 GB, free: 71.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/3.919, allocations: 3.938 kB / 1.223 GB, free: 71.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002221/3.921, allocations: 496.1 kB / 1.223 GB, free: 71.14 MB / 442.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.003117/3.924, allocations: 1.364 MB / 1.225 GB, free: 70.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001283/3.926, allocations: 424.5 kB / 1.225 GB, free: 70.83 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/3.926, allocations: 0 / 1.225 GB, free: 70.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004934/3.926, allocations: 199.7 kB / 1.225 GB, free: 70.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/3.928, allocations: 288.1 kB / 1.226 GB, free: 70.81 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009417/3.938, allocations: 2.662 MB / 1.228 GB, free: 70.12 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/3.938, allocations: 0.8753 MB / 1.229 GB, free: 69.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005673/3.939, allocations: 106.7 kB / 1.229 GB, free: 69.42 MB / 442.7 MB Notification: Performance of SimCode: time 1.362e-06/3.939, allocations: 0 / 1.229 GB, free: 69.42 MB / 442.7 MB Notification: Performance of Templates: time 0.03757/3.977, allocations: 19.67 MB / 1.248 GB, free: 67.22 MB / 442.7 MB