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.Dissipation.TestCases.PressureLoss.Bend.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.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") Notification: Performance of loadModel(ModelicaTest): time 2.28/2.28, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.931e-05, allocations: 4 kB / 309.7 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3212, allocations: 54.86 MB / 364.6 MB, free: 5.387 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.507/1.829, allocations: 0.6147 GB / 0.9707 GB, free: 136 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/1.829, allocations: 93.16 kB / 0.9708 GB, free: 135.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.146/2.974, allocations: 281.7 MB / 1.246 GB, free: 47.74 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.107e-06/2.974, allocations: 0 / 1.246 GB, free: 47.74 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.639e-05/2.975, allocations: 16 kB / 1.246 GB, free: 47.72 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003226/2.978, allocations: 1.228 MB / 1.247 GB, free: 46.45 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/2.978, allocations: 12.03 kB / 1.247 GB, free: 46.44 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/2.979, allocations: 151.1 kB / 1.247 GB, free: 46.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/2.981, allocations: 0.5311 MB / 1.248 GB, free: 45.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/2.981, allocations: 33 kB / 1.248 GB, free: 45.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.078e-05/2.981, allocations: 47.88 kB / 1.248 GB, free: 45.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/2.982, allocations: 0.6184 MB / 1.249 GB, free: 44.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/2.982, allocations: 0 / 1.249 GB, free: 44.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-05/2.982, allocations: 24 kB / 1.249 GB, free: 44.94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/2.982, allocations: 12 kB / 1.249 GB, free: 44.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/2.983, allocations: 479.7 kB / 1.249 GB, free: 44.46 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.002992/2.986, allocations: 2.559 MB / 1.252 GB, free: 41.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007104/2.987, allocations: 300.1 kB / 1.252 GB, free: 41.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/2.987, allocations: 152.8 kB / 1.252 GB, free: 41.26 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003622/2.988, allocations: 333.5 kB / 1.252 GB, free: 40.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/2.988, allocations: 34.56 kB / 1.252 GB, free: 40.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 3.816e-06/2.988, allocations: 0 / 1.252 GB, free: 40.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.001258/2.989, allocations: 446 kB / 1.253 GB, free: 40.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/2.989, allocations: 162.2 kB / 1.253 GB, free: 40.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005303/2.99, allocations: 387 kB / 1.253 GB, free: 39.81 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/2.99, allocations: 33.64 kB / 1.253 GB, free: 39.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/2.99, allocations: 361.7 kB / 1.254 GB, free: 39.42 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/2.99, allocations: 126.2 kB / 1.254 GB, free: 39.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.479e-05/2.99, allocations: 8 kB / 1.254 GB, free: 39.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.433e-05/2.99, allocations: 334.8 kB / 1.254 GB, free: 38.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/2.99, allocations: 133.1 kB / 1.254 GB, free: 38.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/2.991, allocations: 354.7 kB / 1.255 GB, free: 38.37 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/2.991, allocations: 199.9 kB / 1.255 GB, free: 38.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/2.991, allocations: 7.953 kB / 1.255 GB, free: 38.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00112/2.992, allocations: 0.5519 MB / 1.255 GB, free: 37.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/2.992, allocations: 8.875 kB / 1.255 GB, free: 37.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/2.992, allocations: 4 kB / 1.255 GB, free: 37.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001741/2.994, allocations: 232.6 kB / 1.255 GB, free: 37.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005053/2.995, allocations: 139.8 kB / 1.256 GB, free: 37.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004303/2.995, allocations: 0.5875 MB / 1.256 GB, free: 36.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006108/2.996, allocations: 63.42 kB / 1.256 GB, free: 36.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.774e-05/2.996, allocations: 59.94 kB / 1.256 GB, free: 36.49 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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 prepare postOptimizeDAE: time 0.0001504/2.996, allocations: 140.9 kB / 1.256 GB, free: 36.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/2.996, allocations: 55.38 kB / 1.257 GB, free: 36.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/2.998, allocations: 0.6514 MB / 1.257 GB, free: 35.62 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.528e-06/2.998, allocations: 4 kB / 1.257 GB, free: 35.62 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.686e-06/2.998, allocations: 0 / 1.257 GB, free: 35.62 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.545e-06/2.998, allocations: 7.938 kB / 1.257 GB, free: 35.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/3.001, allocations: 1.484 MB / 1.259 GB, free: 33.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.487e-06/3.001, allocations: 4 kB / 1.259 GB, free: 33.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/3.001, allocations: 67.91 kB / 1.259 GB, free: 33.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00162/3.003, allocations: 236.8 kB / 1.259 GB, free: 33.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-05/3.003, allocations: 20 kB / 1.259 GB, free: 33.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000402/3.003, allocations: 0.5913 MB / 1.259 GB, free: 33.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.262e-06/3.003, allocations: 3.938 kB / 1.259 GB, free: 33.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009766/3.004, allocations: 0.6851 MB / 1.26 GB, free: 32.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/3.004, allocations: 132.4 kB / 1.26 GB, free: 32.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/3.004, allocations: 12 kB / 1.26 GB, free: 32.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004738/3.005, allocations: 39.81 kB / 1.26 GB, free: 32.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/3.005, allocations: 31.92 kB / 1.26 GB, free: 32.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.997e-05/3.005, allocations: 31.98 kB / 1.26 GB, free: 31.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004237/3.005, allocations: 317.6 kB / 1.261 GB, free: 31.67 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.48e-07/3.005, allocations: 0 / 1.261 GB, free: 31.67 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00196/3.007, allocations: 495.3 kB / 1.261 GB, free: 31.19 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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.002697/3.01, allocations: 1.348 MB / 1.262 GB, free: 29.83 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/3.011, allocations: 400.5 kB / 1.263 GB, free: 29.44 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.915e-06/3.011, allocations: 4 kB / 1.263 GB, free: 29.44 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003843/3.012, allocations: 185.1 kB / 1.263 GB, free: 29.26 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/3.013, allocations: 281.1 kB / 1.263 GB, free: 28.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007482/3.021, allocations: 2.112 MB / 1.265 GB, free: 26.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/3.021, allocations: 0.8876 MB / 1.266 GB, free: 25.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005079/3.022, allocations: 111.4 kB / 1.266 GB, free: 25.79 MB / 490.7 MB Notification: Performance of SimCode: time 1.757e-06/3.022, allocations: 3.938 kB / 1.266 GB, free: 25.79 MB / 490.7 MB Notification: Performance of Templates: time 0.02893/3.051, allocations: 19.62 MB / 1.286 GB, free: 6.176 MB / 490.7 MB