Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.279/2.279, allocations: 234.9 MB / 251.1 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004392/0.0004392, allocations: 8 kB / 315 MB, free: 9.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3381, allocations: 54.86 MB / 369.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.754/2.092, allocations: 0.6137 GB / 0.9749 GB, free: 49.58 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/2.093, allocations: 101 kB / 0.9749 GB, free: 49.52 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.176/3.269, allocations: 243.3 MB / 1.213 GB, free: 9.391 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.874e-06/3.269, allocations: 0 / 1.213 GB, free: 9.391 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.122e-05/3.269, allocations: 15.98 kB / 1.213 GB, free: 9.375 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.003108/3.272, allocations: 1.034 MB / 1.214 GB, free: 8.293 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/3.272, allocations: 12.03 kB / 1.214 GB, free: 8.281 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/3.274, allocations: 147 kB / 1.214 GB, free: 8.137 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/3.275, allocations: 0.5327 MB / 1.214 GB, free: 7.562 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/3.275, allocations: 33 kB / 1.214 GB, free: 7.531 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-05/3.275, allocations: 40 kB / 1.214 GB, free: 7.492 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/3.277, allocations: 0.5923 MB / 1.215 GB, free: 6.859 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/3.277, allocations: 0 / 1.215 GB, free: 6.859 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.772e-05/3.277, allocations: 20 kB / 1.215 GB, free: 6.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/3.277, allocations: 12 kB / 1.215 GB, free: 6.828 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/3.279, allocations: 491.5 kB / 1.215 GB, free: 6.344 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.00376/3.282, allocations: 2.604 MB / 1.218 GB, free: 3.516 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009746/3.283, allocations: 313.6 kB / 1.218 GB, free: 3.203 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004375/3.284, allocations: 321.6 kB / 1.219 GB, free: 2.832 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/3.284, allocations: 42.83 kB / 1.219 GB, free: 2.781 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.045e-06/3.284, allocations: 0 / 1.219 GB, free: 2.781 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.002396/3.286, allocations: 0.6767 MB / 1.219 GB, free: 2.078 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/3.286, allocations: 140.4 kB / 1.219 GB, free: 1.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006308/3.287, allocations: 433.8 kB / 1.22 GB, free: 1.477 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/3.287, allocations: 37.7 kB / 1.22 GB, free: 1.434 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/3.287, allocations: 337.9 kB / 1.22 GB, free: 1.102 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/3.287, allocations: 122.3 kB / 1.22 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/3.287, allocations: 12 kB / 1.22 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.165e-05/3.288, allocations: 326.8 kB / 1.221 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005308/3.288, allocations: 193 kB / 1.221 GB, free: 460 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006077/3.289, allocations: 367 kB / 1.221 GB, free: 20 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3614/3.65, allocations: 233.8 kB / 1.221 GB, free: 94.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-06/3.65, allocations: 1.75 kB / 1.221 GB, free: 94.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002071/3.652, allocations: 0.6543 MB / 1.222 GB, free: 94.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/3.652, allocations: 9.25 kB / 1.222 GB, free: 94.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/3.652, allocations: 5 kB / 1.222 GB, free: 94.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002264/3.655, allocations: 235.9 kB / 1.222 GB, free: 94.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/3.656, allocations: 150.7 kB / 1.222 GB, free: 94.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007442/3.663, allocations: 23.12 MB / 1.245 GB, free: 70.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008257/3.664, allocations: 68.88 kB / 1.245 GB, free: 70.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/3.664, allocations: 50.36 kB / 1.245 GB, free: 70.97 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.000401/3.665, allocations: 193.2 kB / 1.245 GB, free: 70.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/3.665, allocations: 48.66 kB / 1.245 GB, free: 70.83 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/3.667, allocations: 0.6707 MB / 1.246 GB, free: 70.73 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/3.667, allocations: 3.312 kB / 1.246 GB, free: 70.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/3.667, allocations: 0 / 1.246 GB, free: 70.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/3.667, allocations: 6.172 kB / 1.246 GB, free: 70.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/3.67, allocations: 1.147 MB / 1.247 GB, free: 70.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/3.67, allocations: 2.75 kB / 1.247 GB, free: 70.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000382/3.67, allocations: 61.17 kB / 1.247 GB, free: 70.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002093/3.672, allocations: 238 kB / 1.247 GB, free: 70.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.091e-05/3.672, allocations: 12.44 kB / 1.247 GB, free: 70.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004678/3.673, allocations: 0.5931 MB / 1.248 GB, free: 69.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/3.673, allocations: 6.359 kB / 1.248 GB, free: 69.73 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/3.674, allocations: 0.5171 MB / 1.248 GB, free: 69.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/3.674, allocations: 139 kB / 1.249 GB, free: 69.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/3.675, allocations: 12.86 kB / 1.249 GB, free: 69.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000517/3.675, allocations: 41.62 kB / 1.249 GB, free: 69.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.525e-05/3.675, allocations: 21.84 kB / 1.249 GB, free: 69.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.554e-05/3.675, allocations: 29.06 kB / 1.249 GB, free: 69.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005619/3.676, allocations: 320.4 kB / 1.249 GB, free: 69.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.71e-07/3.676, allocations: 0 / 1.249 GB, free: 69.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002513/3.678, allocations: 480.7 kB / 1.249 GB, free: 69.29 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.002974/3.681, allocations: 1.231 MB / 1.251 GB, free: 69.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001713/3.683, allocations: 486.8 kB / 1.251 GB, free: 69.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/3.683, allocations: 0 / 1.251 GB, free: 69.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005067/3.684, allocations: 172.3 kB / 1.251 GB, free: 69.11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/3.686, allocations: 224.6 kB / 1.252 GB, free: 69.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009826/3.695, allocations: 2.736 MB / 1.254 GB, free: 68.49 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/3.696, allocations: 0.8692 MB / 1.255 GB, free: 67.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005344/3.696, allocations: 94.08 kB / 1.255 GB, free: 67.78 MB / 490.7 MB Notification: Performance of SimCode: time 1.303e-06/3.696, allocations: 0 / 1.255 GB, free: 67.78 MB / 490.7 MB Notification: Performance of Templates: time 0.04465/3.741, allocations: 26.74 MB / 1.281 GB, free: 67.01 MB / 490.7 MB