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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.208/2.208, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.882e-05/2.89e-05, allocations: 4 kB / 303.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3314, allocations: 54.85 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.501/1.832, allocations: 0.6141 GB / 0.9637 GB, free: 17.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/1.832, allocations: 95.06 kB / 0.9638 GB, free: 17.04 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.416/3.249, allocations: 278.6 MB / 1.236 GB, free: 90.07 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.242e-06/3.249, allocations: 3.875 kB / 1.236 GB, free: 90.07 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.635e-05/3.249, allocations: 16.75 kB / 1.236 GB, free: 90.06 MB / 474.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.003245/3.252, allocations: 1.227 MB / 1.237 GB, free: 89.37 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/3.252, allocations: 14.06 kB / 1.237 GB, free: 89.37 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/3.254, allocations: 153 kB / 1.237 GB, free: 89.34 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/3.255, allocations: 0.5259 MB / 1.238 GB, free: 89.07 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/3.255, allocations: 17.75 kB / 1.238 GB, free: 89.07 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.51e-05/3.255, allocations: 22.72 kB / 1.238 GB, free: 89.07 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009435/3.256, allocations: 426.4 kB / 1.238 GB, free: 89.07 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/3.257, allocations: 0.5429 MB / 1.239 GB, free: 88.9 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/3.257, allocations: 3.938 kB / 1.239 GB, free: 88.9 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.353e-05/3.258, allocations: 0 / 1.239 GB, free: 88.9 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/3.258, allocations: 11.75 kB / 1.239 GB, free: 88.9 MB / 474.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.003256/3.261, allocations: 2.543 MB / 1.241 GB, free: 87.26 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/3.261, allocations: 220.6 kB / 1.241 GB, free: 87.24 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/3.262, allocations: 127.7 kB / 1.242 GB, free: 87.23 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003696/3.262, allocations: 324.3 kB / 1.242 GB, free: 86.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/3.262, allocations: 39.25 kB / 1.242 GB, free: 86.91 MB / 474.7 MB Notification: Performance of pre-optimization done (n=31): time 4.354e-06/3.262, allocations: 3.938 kB / 1.242 GB, free: 86.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=31): time 0.003785/3.266, allocations: 0.7742 MB / 1.243 GB, free: 86.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/3.266, allocations: 160.8 kB / 1.243 GB, free: 86.63 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000581/3.266, allocations: 389.6 kB / 1.243 GB, free: 86.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.361e-05/3.267, allocations: 25.7 kB / 1.243 GB, free: 86.48 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/3.267, allocations: 374.5 kB / 1.244 GB, free: 86.23 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/3.267, allocations: 107.5 kB / 1.244 GB, free: 86.16 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/3.267, allocations: 0 / 1.244 GB, free: 86.16 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.095e-05/3.267, allocations: 327.8 kB / 1.244 GB, free: 85.85 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/3.267, allocations: 129.5 kB / 1.244 GB, free: 85.85 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/3.268, allocations: 340 kB / 1.244 GB, free: 85.59 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003288/3.271, allocations: 0.6164 MB / 1.245 GB, free: 85.52 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/3.271, allocations: 0 / 1.245 GB, free: 85.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0038/3.275, allocations: 0.93 MB / 1.246 GB, free: 85.33 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/3.275, allocations: 11.66 kB / 1.246 GB, free: 85.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/3.275, allocations: 7.719 kB / 1.246 GB, free: 85.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002576/3.275, allocations: 47.39 kB / 1.246 GB, free: 85.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005237/3.276, allocations: 132.2 kB / 1.246 GB, free: 85.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006599/3.276, allocations: 0.6181 MB / 1.247 GB, free: 84.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007727/3.277, allocations: 53.39 kB / 1.247 GB, free: 84.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/3.277, allocations: 56.72 kB / 1.247 GB, free: 84.71 MB / 474.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.0001733/3.278, allocations: 123.5 kB / 1.247 GB, free: 84.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/3.278, allocations: 54 kB / 1.247 GB, free: 84.56 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/3.28, allocations: 0.607 MB / 1.248 GB, free: 84.31 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.191e-06/3.28, allocations: 0 / 1.248 GB, free: 84.31 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.829e-06/3.28, allocations: 1.531 kB / 1.248 GB, free: 84.31 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.622e-06/3.28, allocations: 7.172 kB / 1.248 GB, free: 84.31 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/3.283, allocations: 1.098 MB / 1.249 GB, free: 83.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.643e-06/3.283, allocations: 0 / 1.249 GB, free: 83.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/3.283, allocations: 55.86 kB / 1.249 GB, free: 83.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001884/3.284, allocations: 46 kB / 1.249 GB, free: 83.55 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/3.284, allocations: 7.781 kB / 1.249 GB, free: 83.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005563/3.284, allocations: 0.6013 MB / 1.249 GB, free: 83 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.228e-06/3.284, allocations: 7.891 kB / 1.249 GB, free: 82.99 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/3.286, allocations: 0.6255 MB / 1.25 GB, free: 82.53 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002377/3.286, allocations: 148.9 kB / 1.25 GB, free: 82.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/3.286, allocations: 3.562 kB / 1.25 GB, free: 82.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004933/3.287, allocations: 27.02 kB / 1.25 GB, free: 82.39 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.3e-05/3.287, allocations: 26.98 kB / 1.25 GB, free: 82.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/3.287, allocations: 10.03 kB / 1.25 GB, free: 82.38 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004588/3.287, allocations: 320.6 kB / 1.251 GB, free: 82.22 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.58e-07/3.287, allocations: 0 / 1.251 GB, free: 82.22 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002116/3.29, allocations: 456.4 kB / 1.251 GB, free: 82.08 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.003165/3.293, allocations: 1.51 MB / 1.252 GB, free: 81.75 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009122/3.294, allocations: 327.8 kB / 1.253 GB, free: 81.64 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.246e-06/3.294, allocations: 1.906 kB / 1.253 GB, free: 81.64 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003024/3.294, allocations: 125.6 kB / 1.253 GB, free: 81.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/3.296, allocations: 263.6 kB / 1.253 GB, free: 81.55 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008454/3.304, allocations: 2.41 MB / 1.256 GB, free: 80.75 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/3.305, allocations: 0.8633 MB / 1.256 GB, free: 80.04 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000529/3.305, allocations: 103.4 kB / 1.256 GB, free: 80.03 MB / 474.7 MB Notification: Performance of SimCode: time 1.732e-06/3.305, allocations: 0 / 1.256 GB, free: 80.03 MB / 474.7 MB Notification: Performance of Templates: time 0.03122/3.337, allocations: 19.74 MB / 1.276 GB, free: 64.87 MB / 474.7 MB