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.TestComponents.NewFittings.Bends.CurvedBend.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,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.2_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") Notification: Performance of loadModel(ModelicaTest): time 2.263/2.263, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004482/0.0004484, allocations: 8 kB / 314.4 MB, free: 9.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2742, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.463/1.737, allocations: 0.6137 GB / 0.9743 GB, free: 66.12 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/1.738, allocations: 97.48 kB / 0.9744 GB, free: 66.03 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9725/2.71, allocations: 243.3 MB / 1.212 GB, free: 19.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.194e-06/2.71, allocations: 0 / 1.212 GB, free: 19.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.186e-05/2.71, allocations: 19.98 kB / 1.212 GB, free: 19.29 MB / 490.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.002324/2.712, allocations: 1.03 MB / 1.213 GB, free: 18.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/2.713, allocations: 16.02 kB / 1.213 GB, free: 18.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/2.714, allocations: 139.2 kB / 1.213 GB, free: 18.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/2.715, allocations: 0.5404 MB / 1.214 GB, free: 17.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/2.715, allocations: 33 kB / 1.214 GB, free: 17.44 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.556e-05/2.715, allocations: 40 kB / 1.214 GB, free: 17.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/2.717, allocations: 0.5884 MB / 1.214 GB, free: 16.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/2.717, allocations: 0 / 1.214 GB, free: 16.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/2.717, allocations: 20 kB / 1.214 GB, free: 16.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/2.717, allocations: 16 kB / 1.214 GB, free: 16.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/2.718, allocations: 483.6 kB / 1.215 GB, free: 16.26 MB / 490.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.002828/2.721, allocations: 2.608 MB / 1.217 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007928/2.722, allocations: 310.5 kB / 1.218 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003484/2.722, allocations: 321.5 kB / 1.218 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/2.722, allocations: 42.78 kB / 1.218 GB, free: 12.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.476e-06/2.722, allocations: 0 / 1.218 GB, free: 12.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.001875/2.724, allocations: 0.6849 MB / 1.219 GB, free: 11.99 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/2.724, allocations: 144.5 kB / 1.219 GB, free: 11.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005209/2.725, allocations: 381 kB / 1.219 GB, free: 11.44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.252e-05/2.725, allocations: 29.7 kB / 1.219 GB, free: 11.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/2.725, allocations: 346 kB / 1.22 GB, free: 11.06 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.175e-05/2.725, allocations: 118.3 kB / 1.22 GB, free: 10.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/2.725, allocations: 8 kB / 1.22 GB, free: 10.94 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.404e-05/2.725, allocations: 334.8 kB / 1.22 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004171/2.726, allocations: 198.5 kB / 1.22 GB, free: 10.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000482/2.726, allocations: 363 kB / 1.221 GB, free: 9.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004844/2.727, allocations: 235.9 kB / 1.221 GB, free: 9.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.702e-06/2.727, allocations: 3.938 kB / 1.221 GB, free: 9.746 MB / 490.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001355/2.728, allocations: 0.6465 MB / 1.221 GB, free: 9.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/2.728, allocations: 8 kB / 1.221 GB, free: 9.082 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/2.728, allocations: 4 kB / 1.221 GB, free: 9.078 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001551/2.73, allocations: 244.6 kB / 1.222 GB, free: 8.836 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006506/2.73, allocations: 147.8 kB / 1.222 GB, free: 8.691 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2856/3.016, allocations: 23.09 MB / 1.244 GB, free: 80.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009557/3.017, allocations: 71.92 kB / 1.244 GB, free: 80.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002111/3.017, allocations: 53.19 kB / 1.245 GB, free: 80.25 MB / 490.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 (61): * 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): 8 * 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: 8 {1,1,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.0005233/3.018, allocations: 185.2 kB / 1.245 GB, free: 80.13 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/3.018, allocations: 47.83 kB / 1.245 GB, free: 80.13 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002212/3.02, allocations: 0.6761 MB / 1.245 GB, free: 80.03 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/3.02, allocations: 3.344 kB / 1.245 GB, free: 80.03 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.991e-06/3.02, allocations: 1.016 kB / 1.245 GB, free: 80.03 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.615e-06/3.02, allocations: 6.188 kB / 1.245 GB, free: 80.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/3.023, allocations: 1.151 MB / 1.247 GB, free: 79.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.041e-06/3.023, allocations: 1.781 kB / 1.247 GB, free: 79.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003128/3.023, allocations: 57.14 kB / 1.247 GB, free: 79.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001751/3.025, allocations: 239.5 kB / 1.247 GB, free: 79.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.124e-05/3.025, allocations: 11.62 kB / 1.247 GB, free: 79.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004439/3.025, allocations: 0.591 MB / 1.247 GB, free: 79.03 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.185e-06/3.025, allocations: 3 kB / 1.247 GB, free: 79.03 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/3.026, allocations: 0.596 MB / 1.248 GB, free: 78.69 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/3.027, allocations: 148.1 kB / 1.248 GB, free: 78.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/3.027, allocations: 9.719 kB / 1.248 GB, free: 78.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004706/3.027, allocations: 32.72 kB / 1.248 GB, free: 78.57 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.393e-05/3.027, allocations: 36.27 kB / 1.248 GB, free: 78.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.589e-05/3.027, allocations: 22.52 kB / 1.248 GB, free: 78.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005494/3.028, allocations: 321.2 kB / 1.249 GB, free: 78.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.54e-07/3.028, allocations: 0 / 1.249 GB, free: 78.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002384/3.03, allocations: 487 kB / 1.249 GB, free: 78.47 MB / 490.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.002638/3.033, allocations: 1.23 MB / 1.25 GB, free: 78.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001201/3.034, allocations: 431.7 kB / 1.251 GB, free: 78.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.852e-06/3.034, allocations: 1.094 kB / 1.251 GB, free: 78.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004796/3.035, allocations: 168.5 kB / 1.251 GB, free: 78.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/3.036, allocations: 227.7 kB / 1.251 GB, free: 78.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007881/3.044, allocations: 2.753 MB / 1.254 GB, free: 77.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/3.045, allocations: 0.8658 MB / 1.255 GB, free: 76.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004928/3.045, allocations: 91.81 kB / 1.255 GB, free: 76.98 MB / 490.7 MB Notification: Performance of SimCode: time 1.726e-06/3.045, allocations: 0 / 1.255 GB, free: 76.98 MB / 490.7 MB Notification: Performance of Templates: time 0.03521/3.08, allocations: 26.74 MB / 1.281 GB, free: 76.19 MB / 490.7 MB