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.TestComponents.NewFittings.Bends.EdgedBend.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.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadModel(ModelicaTest): time 1.86/1.86, allocations: 209.3 MB / 224.9 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.0004426, allocations: 12 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3025, allocations: 48.7 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.389/1.691, allocations: 0.606 GB / 0.9295 GB, free: 62.37 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/1.692, allocations: 95.94 kB / 0.9296 GB, free: 62.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9623/2.654, allocations: 238.2 MB / 1.162 GB, free: 4.238 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.398e-06/2.654, allocations: 0 / 1.162 GB, free: 4.238 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.116e-05/2.654, allocations: 16 kB / 1.162 GB, free: 4.223 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002345/2.656, allocations: 1.041 MB / 1.163 GB, free: 3.133 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/2.657, allocations: 8.031 kB / 1.163 GB, free: 3.125 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/2.658, allocations: 135.3 kB / 1.163 GB, free: 2.992 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/2.659, allocations: 0.5288 MB / 1.164 GB, free: 2.422 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/2.659, allocations: 29 kB / 1.164 GB, free: 2.395 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.571e-05/2.659, allocations: 44 kB / 1.164 GB, free: 2.352 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/2.66, allocations: 0.5806 MB / 1.165 GB, free: 1.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/2.66, allocations: 4 kB / 1.165 GB, free: 1.727 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.931e-05/2.66, allocations: 20 kB / 1.165 GB, free: 1.707 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/2.661, allocations: 12 kB / 1.165 GB, free: 1.695 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/2.662, allocations: 483.6 kB / 1.165 GB, free: 1.223 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.2542/2.916, allocations: 2.588 MB / 1.168 GB, free: 78.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008898/2.917, allocations: 313.3 kB / 1.168 GB, free: 78.24 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003818/2.917, allocations: 320.2 kB / 1.168 GB, free: 77.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/2.917, allocations: 44.05 kB / 1.168 GB, free: 77.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 3.404e-06/2.917, allocations: 1.219 kB / 1.168 GB, free: 77.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.002073/2.919, allocations: 0.6746 MB / 1.169 GB, free: 77.78 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/2.919, allocations: 133.2 kB / 1.169 GB, free: 77.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005803/2.92, allocations: 371.9 kB / 1.169 GB, free: 77.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/2.92, allocations: 36.83 kB / 1.169 GB, free: 77.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/2.92, allocations: 335.8 kB / 1.17 GB, free: 77.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/2.92, allocations: 120.8 kB / 1.17 GB, free: 77.22 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/2.92, allocations: 8.094 kB / 1.17 GB, free: 77.22 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.713e-05/2.921, allocations: 330.9 kB / 1.17 GB, free: 76.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004485/2.921, allocations: 173.4 kB / 1.17 GB, free: 76.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000514/2.921, allocations: 350.2 kB / 1.171 GB, free: 76.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005273/2.922, allocations: 223.8 kB / 1.171 GB, free: 76.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.577e-06/2.922, allocations: 2.25 kB / 1.171 GB, free: 76.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001406/2.923, allocations: 0.6002 MB / 1.171 GB, free: 76.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/2.924, allocations: 7.094 kB / 1.172 GB, free: 76.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/2.924, allocations: 3.906 kB / 1.172 GB, free: 76.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/2.925, allocations: 240.2 kB / 1.172 GB, free: 76.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007027/2.926, allocations: 145.8 kB / 1.172 GB, free: 76.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004947/2.931, allocations: 17.47 MB / 1.189 GB, free: 58.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006929/2.932, allocations: 68.12 kB / 1.189 GB, free: 58.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/2.932, allocations: 54.73 kB / 1.189 GB, free: 58.68 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (59): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 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.0003722/2.932, allocations: 189.7 kB / 1.189 GB, free: 58.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/2.932, allocations: 50.41 kB / 1.189 GB, free: 58.54 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/2.935, allocations: 0.6699 MB / 1.19 GB, free: 58.44 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.69e-06/2.935, allocations: 2.844 kB / 1.19 GB, free: 58.44 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/2.935, allocations: 0 / 1.19 GB, free: 58.44 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.239e-06/2.935, allocations: 5.438 kB / 1.19 GB, free: 58.44 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/2.937, allocations: 1.147 MB / 1.191 GB, free: 57.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.229e-06/2.937, allocations: 4.188 kB / 1.191 GB, free: 57.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/2.938, allocations: 57.62 kB / 1.191 GB, free: 57.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001556/2.939, allocations: 232.6 kB / 1.191 GB, free: 57.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/2.939, allocations: 19.39 kB / 1.191 GB, free: 57.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004435/2.94, allocations: 0.5835 MB / 1.192 GB, free: 57.44 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.372e-06/2.94, allocations: 1.594 kB / 1.192 GB, free: 57.44 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/2.941, allocations: 0.5821 MB / 1.192 GB, free: 57.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/2.941, allocations: 143.1 kB / 1.193 GB, free: 56.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/2.941, allocations: 7.828 kB / 1.193 GB, free: 56.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004346/2.942, allocations: 35.14 kB / 1.193 GB, free: 56.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.197e-05/2.942, allocations: 30.08 kB / 1.193 GB, free: 56.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-05/2.942, allocations: 20.48 kB / 1.193 GB, free: 56.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005123/2.942, allocations: 311.2 kB / 1.193 GB, free: 56.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.17e-07/2.942, allocations: 0 / 1.193 GB, free: 56.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002344/2.945, allocations: 488.1 kB / 1.193 GB, free: 56.89 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (28): * Single equations (assignments): 27 * 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.002797/2.947, allocations: 1.235 MB / 1.195 GB, free: 56.72 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001238/2.949, allocations: 420.2 kB / 1.195 GB, free: 56.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/2.949, allocations: 0 / 1.195 GB, free: 56.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004304/2.949, allocations: 161.7 kB / 1.195 GB, free: 56.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/2.951, allocations: 220.3 kB / 1.195 GB, free: 56.71 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008737/2.96, allocations: 2.715 MB / 1.198 GB, free: 56.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/2.96, allocations: 0.8614 MB / 1.199 GB, free: 55.41 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004846/2.96, allocations: 94.58 kB / 1.199 GB, free: 55.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.493e-06/2.961, allocations: 0 / 1.199 GB, free: 55.4 MB / 442.7 MB Notification: Performance of Templates: time 0.03536/2.996, allocations: 24.25 MB / 1.223 GB, free: 54.55 MB / 442.7 MB