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.164/2.164, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.104e-05/4.162e-05, allocations: 0 / 309.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3391, allocations: 54.86 MB / 364.5 MB, free: 5.496 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.45/1.789, allocations: 0.6136 GB / 0.9696 GB, free: 117.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/1.79, allocations: 96.5 kB / 0.9697 GB, free: 117.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.009/2.799, allocations: 242.6 MB / 1.207 GB, free: 77.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.787e-06/2.799, allocations: 0 / 1.207 GB, free: 77.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.886e-05/2.799, allocations: 11.98 kB / 1.207 GB, free: 77.2 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.002111/2.801, allocations: 0.9666 MB / 1.208 GB, free: 76.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/2.801, allocations: 8.031 kB / 1.208 GB, free: 76.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/2.802, allocations: 135.2 kB / 1.208 GB, free: 76.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/2.803, allocations: 0.5351 MB / 1.208 GB, free: 75.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/2.804, allocations: 29 kB / 1.208 GB, free: 75.44 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.426e-05/2.804, allocations: 40 kB / 1.208 GB, free: 75.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/2.805, allocations: 0.5608 MB / 1.209 GB, free: 74.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/2.805, allocations: 7.938 kB / 1.209 GB, free: 74.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.612e-05/2.805, allocations: 27.92 kB / 1.209 GB, free: 74.76 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/2.805, allocations: 15.95 kB / 1.209 GB, free: 74.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009559/2.806, allocations: 438.9 kB / 1.209 GB, free: 74.32 MB / 490.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.002798/2.809, allocations: 2.592 MB / 1.212 GB, free: 71.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006773/2.809, allocations: 293.1 kB / 1.212 GB, free: 71.21 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/2.81, allocations: 153.4 kB / 1.212 GB, free: 71.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003478/2.81, allocations: 329.9 kB / 1.213 GB, free: 70.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/2.81, allocations: 38.78 kB / 1.213 GB, free: 70.63 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.516e-06/2.81, allocations: 0 / 1.213 GB, free: 70.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.001111/2.811, allocations: 416 kB / 1.213 GB, free: 70.22 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/2.811, allocations: 136.5 kB / 1.213 GB, free: 70.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/2.812, allocations: 383 kB / 1.214 GB, free: 69.67 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/2.812, allocations: 37.64 kB / 1.214 GB, free: 69.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/2.812, allocations: 333.9 kB / 1.214 GB, free: 69.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.434e-05/2.812, allocations: 118.4 kB / 1.214 GB, free: 69.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/2.812, allocations: 12 kB / 1.214 GB, free: 69.17 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.795e-05/2.812, allocations: 334.8 kB / 1.214 GB, free: 68.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003241/2.813, allocations: 173 kB / 1.215 GB, free: 68.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/2.813, allocations: 351.1 kB / 1.215 GB, free: 68.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/2.813, allocations: 215.8 kB / 1.215 GB, free: 68.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.733e-06/2.813, allocations: 4 kB / 1.215 GB, free: 68.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001211/2.815, allocations: 0.6073 MB / 1.216 GB, free: 67.42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/2.815, allocations: 4 kB / 1.216 GB, free: 67.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/2.815, allocations: 11.98 kB / 1.216 GB, free: 67.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001558/2.816, allocations: 232.8 kB / 1.216 GB, free: 67.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006346/2.817, allocations: 155.8 kB / 1.216 GB, free: 67.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005978/2.823, allocations: 23.1 MB / 1.239 GB, free: 42.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006541/2.824, allocations: 67.72 kB / 1.239 GB, free: 42.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.611e-05/2.824, allocations: 51.98 kB / 1.239 GB, free: 42.24 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 () * 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.0001554/2.824, allocations: 147.1 kB / 1.239 GB, free: 42.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/2.824, allocations: 47.44 kB / 1.239 GB, free: 42.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/2.826, allocations: 0.6437 MB / 1.24 GB, free: 41.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.451e-06/2.826, allocations: 4 kB / 1.24 GB, free: 41.37 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.934e-06/2.826, allocations: 0 / 1.24 GB, free: 41.37 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.513e-06/2.826, allocations: 0 / 1.24 GB, free: 41.37 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/2.828, allocations: 1.108 MB / 1.241 GB, free: 40.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.518e-06/2.828, allocations: 0 / 1.241 GB, free: 40.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/2.828, allocations: 63.89 kB / 1.241 GB, free: 40.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001585/2.829, allocations: 232.8 kB / 1.241 GB, free: 39.87 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.612e-05/2.83, allocations: 15.98 kB / 1.241 GB, free: 39.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003943/2.83, allocations: 0.5875 MB / 1.242 GB, free: 39.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.453e-06/2.83, allocations: 3.938 kB / 1.242 GB, free: 39.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007847/2.831, allocations: 0.5688 MB / 1.242 GB, free: 38.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/2.831, allocations: 140.4 kB / 1.242 GB, free: 38.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/2.831, allocations: 8 kB / 1.242 GB, free: 38.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004908/2.832, allocations: 43.88 kB / 1.242 GB, free: 38.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.42e-05/2.832, allocations: 31.84 kB / 1.242 GB, free: 38.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.406e-05/2.832, allocations: 24 kB / 1.242 GB, free: 38.32 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004501/2.832, allocations: 317.2 kB / 1.243 GB, free: 38.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.59e-07/2.832, allocations: 0 / 1.243 GB, free: 38.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002209/2.834, allocations: 475.4 kB / 1.243 GB, free: 37.55 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 () * 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.002416/2.837, allocations: 1.244 MB / 1.244 GB, free: 36.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009967/2.838, allocations: 397 kB / 1.245 GB, free: 35.91 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.303e-06/2.838, allocations: 0 / 1.245 GB, free: 35.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003232/2.838, allocations: 151.7 kB / 1.245 GB, free: 35.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/2.84, allocations: 220.6 kB / 1.245 GB, free: 35.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007401/2.847, allocations: 2.191 MB / 1.247 GB, free: 33.31 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/2.847, allocations: 0.8667 MB / 1.248 GB, free: 32.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004226/2.848, allocations: 95.41 kB / 1.248 GB, free: 32.32 MB / 490.7 MB Notification: Performance of SimCode: time 1.699e-06/2.848, allocations: 0 / 1.248 GB, free: 32.32 MB / 490.7 MB Notification: Performance of Templates: time 0.03232/2.88, allocations: 26.66 MB / 1.274 GB, free: 5.637 MB / 490.7 MB