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.CurvedBend.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.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.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") Notification: Performance of loadModel(ModelicaTest): time 1.82/1.82, allocations: 209.3 MB / 224.9 MB, free: 0.5273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004333/0.0004335, allocations: 12 kB / 282.6 MB, free: 9.641 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2866, allocations: 48.7 MB / 331.3 MB, free: 6.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.426/1.713, allocations: 0.6069 GB / 0.9304 GB, free: 61.55 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/1.713, allocations: 97.02 kB / 0.9305 GB, free: 61.45 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.275/2.988, allocations: 243.2 MB / 1.168 GB, free: 80.94 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.567e-06/2.988, allocations: 0 / 1.168 GB, free: 80.94 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.611e-05/2.988, allocations: 16.94 kB / 1.168 GB, free: 80.94 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.002635/2.991, allocations: 1.036 MB / 1.169 GB, free: 80.53 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/2.991, allocations: 9.719 kB / 1.169 GB, free: 80.53 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/2.992, allocations: 135.2 kB / 1.169 GB, free: 80.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/2.993, allocations: 0.5392 MB / 1.17 GB, free: 80.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/2.993, allocations: 27.75 kB / 1.17 GB, free: 80.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.956e-05/2.993, allocations: 39.75 kB / 1.17 GB, free: 80.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/2.995, allocations: 0.5966 MB / 1.17 GB, free: 80.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/2.995, allocations: 0.5625 kB / 1.17 GB, free: 80.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.879e-05/2.995, allocations: 21.72 kB / 1.17 GB, free: 80.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/2.995, allocations: 10.98 kB / 1.17 GB, free: 80.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/2.996, allocations: 486.9 kB / 1.171 GB, free: 80.14 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.003344/3, allocations: 2.597 MB / 1.173 GB, free: 78.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008833/3, allocations: 315.1 kB / 1.174 GB, free: 78.36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003865/3.001, allocations: 324.2 kB / 1.174 GB, free: 78.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/3.001, allocations: 37.3 kB / 1.174 GB, free: 78.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 3.518e-06/3.001, allocations: 0 / 1.174 GB, free: 78.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.002118/3.003, allocations: 0.686 MB / 1.175 GB, free: 77.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/3.003, allocations: 135.4 kB / 1.175 GB, free: 77.72 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005938/3.004, allocations: 388.2 kB / 1.175 GB, free: 77.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/3.004, allocations: 37.39 kB / 1.175 GB, free: 77.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/3.004, allocations: 332.9 kB / 1.176 GB, free: 77.37 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/3.004, allocations: 123.8 kB / 1.176 GB, free: 77.31 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/3.004, allocations: 10.81 kB / 1.176 GB, free: 77.31 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.106e-05/3.004, allocations: 333 kB / 1.176 GB, free: 77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000466/3.005, allocations: 192.4 kB / 1.176 GB, free: 77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005311/3.005, allocations: 366.6 kB / 1.177 GB, free: 76.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005442/3.006, allocations: 245.2 kB / 1.177 GB, free: 76.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.46e-06/3.006, allocations: 2.375 kB / 1.177 GB, free: 76.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001545/3.007, allocations: 0.639 MB / 1.177 GB, free: 76.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/3.007, allocations: 7.438 kB / 1.177 GB, free: 76.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/3.007, allocations: 9.062 kB / 1.177 GB, free: 76.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/3.009, allocations: 234.8 kB / 1.178 GB, free: 76.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007115/3.01, allocations: 152.5 kB / 1.178 GB, free: 76.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006241/3.016, allocations: 23.11 MB / 1.2 GB, free: 52.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007164/3.017, allocations: 72.66 kB / 1.2 GB, free: 52.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-05/3.017, allocations: 47.27 kB / 1.2 GB, free: 52.95 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 (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.000387/3.017, allocations: 191.9 kB / 1.201 GB, free: 52.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/3.017, allocations: 45.59 kB / 1.201 GB, free: 52.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001991/3.019, allocations: 0.6732 MB / 1.201 GB, free: 52.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.989e-06/3.019, allocations: 6.781 kB / 1.201 GB, free: 52.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.835e-06/3.02, allocations: 0 / 1.201 GB, free: 52.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.219e-06/3.02, allocations: 7.844 kB / 1.201 GB, free: 52.71 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/3.022, allocations: 1.149 MB / 1.202 GB, free: 52.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.38e-06/3.022, allocations: 3.375 kB / 1.202 GB, free: 52.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/3.022, allocations: 60.69 kB / 1.203 GB, free: 52.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001519/3.024, allocations: 234.2 kB / 1.203 GB, free: 52.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.378e-05/3.024, allocations: 10.03 kB / 1.203 GB, free: 52.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004566/3.024, allocations: 0.5991 MB / 1.203 GB, free: 51.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.85e-06/3.024, allocations: 3.391 kB / 1.203 GB, free: 51.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/3.025, allocations: 0.594 MB / 1.204 GB, free: 51.37 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/3.026, allocations: 141.5 kB / 1.204 GB, free: 51.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/3.026, allocations: 14.83 kB / 1.204 GB, free: 51.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004864/3.026, allocations: 34.36 kB / 1.204 GB, free: 51.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.832e-05/3.027, allocations: 24.44 kB / 1.204 GB, free: 51.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.272e-05/3.027, allocations: 21.17 kB / 1.204 GB, free: 51.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005091/3.027, allocations: 325.3 kB / 1.204 GB, free: 51.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.705e-06/3.027, allocations: 0.8125 kB / 1.204 GB, free: 51.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002491/3.03, allocations: 486.5 kB / 1.205 GB, free: 51.16 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.003363/3.033, allocations: 1.224 MB / 1.206 GB, free: 50.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0016/3.035, allocations: 433.5 kB / 1.207 GB, free: 50.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.29e-06/3.035, allocations: 1.562 kB / 1.207 GB, free: 50.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000576/3.035, allocations: 166.1 kB / 1.207 GB, free: 50.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/3.037, allocations: 242 kB / 1.207 GB, free: 50.97 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008605/3.046, allocations: 2.735 MB / 1.21 GB, free: 50.35 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/3.046, allocations: 0.8598 MB / 1.21 GB, free: 49.65 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004926/3.047, allocations: 98.94 kB / 1.211 GB, free: 49.65 MB / 442.7 MB Notification: Performance of SimCode: time 1.943e-06/3.047, allocations: 0 / 1.211 GB, free: 49.65 MB / 442.7 MB Notification: Performance of Templates: time 0.03703/3.084, allocations: 26.73 MB / 1.237 GB, free: 48.65 MB / 442.7 MB