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.Orifice.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.Orifice,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.Orifice") Notification: Performance of loadModel(ModelicaTest): time 2.303/2.303, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000432/0.0004322, allocations: 8 kB / 314.4 MB, free: 9.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2794, allocations: 54.87 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.417/1.697, allocations: 0.6093 GB / 0.9699 GB, free: 70.86 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/1.697, allocations: 93.41 kB / 0.97 GB, free: 70.77 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423/3.12, allocations: 270.1 MB / 1.234 GB, free: 84.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.581e-06/3.12, allocations: 0 / 1.234 GB, free: 84.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.357e-05/3.12, allocations: 15.44 kB / 1.234 GB, free: 84.91 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.003427/3.124, allocations: 1.287 MB / 1.235 GB, free: 84.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/3.124, allocations: 10.22 kB / 1.235 GB, free: 84.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001618/3.125, allocations: 150.9 kB / 1.235 GB, free: 84.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/3.127, allocations: 0.5332 MB / 1.236 GB, free: 84.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/3.127, allocations: 30.47 kB / 1.236 GB, free: 84.24 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.917e-05/3.127, allocations: 44.06 kB / 1.236 GB, free: 84.24 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/3.128, allocations: 0.6342 MB / 1.236 GB, free: 84.08 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/3.128, allocations: 2.594 kB / 1.236 GB, free: 84.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.196e-05/3.128, allocations: 23.38 kB / 1.236 GB, free: 84.08 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/3.128, allocations: 10.91 kB / 1.236 GB, free: 84.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/3.13, allocations: 0.4997 MB / 1.237 GB, free: 84.08 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.003327/3.133, allocations: 2.58 MB / 1.239 GB, free: 82.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008512/3.134, allocations: 300.7 kB / 1.24 GB, free: 82.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003609/3.134, allocations: 327.9 kB / 1.24 GB, free: 82.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/3.134, allocations: 35.06 kB / 1.24 GB, free: 82.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 3.883e-06/3.134, allocations: 5.531 kB / 1.24 GB, free: 82.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.001929/3.136, allocations: 0.6787 MB / 1.241 GB, free: 81.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/3.136, allocations: 167.4 kB / 1.241 GB, free: 81.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005609/3.137, allocations: 396.9 kB / 1.241 GB, free: 81.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.805e-05/3.137, allocations: 35.73 kB / 1.241 GB, free: 81.58 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/3.137, allocations: 361 kB / 1.242 GB, free: 81.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/3.137, allocations: 126 kB / 1.242 GB, free: 81.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/3.137, allocations: 11.03 kB / 1.242 GB, free: 81.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.854e-05/3.138, allocations: 335.7 kB / 1.242 GB, free: 80.99 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/3.138, allocations: 142.8 kB / 1.242 GB, free: 80.99 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004543/3.138, allocations: 361 kB / 1.243 GB, free: 80.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/3.139, allocations: 198 kB / 1.243 GB, free: 80.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.715e-06/3.139, allocations: 0 / 1.243 GB, free: 80.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001367/3.14, allocations: 0.5797 MB / 1.243 GB, free: 80.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/3.14, allocations: 9.594 kB / 1.243 GB, free: 80.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/3.14, allocations: 9.875 kB / 1.243 GB, free: 80.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/3.142, allocations: 236.5 kB / 1.244 GB, free: 80.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/3.142, allocations: 132.6 kB / 1.244 GB, free: 80.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000458/3.143, allocations: 0.592 MB / 1.244 GB, free: 80.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006229/3.144, allocations: 66.81 kB / 1.244 GB, free: 80.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.986e-05/3.144, allocations: 59.19 kB / 1.244 GB, free: 80.12 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 () * Number of clocked 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.0003519/3.144, allocations: 198.1 kB / 1.245 GB, free: 80 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/3.144, allocations: 50.97 kB / 1.245 GB, free: 79.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/3.146, allocations: 0.6772 MB / 1.245 GB, free: 79.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/3.146, allocations: 4.688 kB / 1.245 GB, free: 79.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.225e-06/3.146, allocations: 3.875 kB / 1.245 GB, free: 79.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.686e-06/3.146, allocations: 0 / 1.245 GB, free: 79.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00277/3.149, allocations: 1.522 MB / 1.247 GB, free: 79.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.104e-06/3.149, allocations: 2.469 kB / 1.247 GB, free: 79.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000313/3.15, allocations: 72.86 kB / 1.247 GB, free: 79.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001695/3.151, allocations: 241 kB / 1.247 GB, free: 79.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-05/3.151, allocations: 22 kB / 1.247 GB, free: 79.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004318/3.152, allocations: 0.5836 MB / 1.248 GB, free: 78.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/3.152, allocations: 0 / 1.248 GB, free: 78.68 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/3.153, allocations: 0.6974 MB / 1.248 GB, free: 78.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/3.153, allocations: 142.5 kB / 1.248 GB, free: 78.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/3.153, allocations: 15.05 kB / 1.248 GB, free: 78.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/3.154, allocations: 23.19 kB / 1.249 GB, free: 78.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.66e-05/3.154, allocations: 39.12 kB / 1.249 GB, free: 78.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.166e-05/3.154, allocations: 27.55 kB / 1.249 GB, free: 78.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004427/3.154, allocations: 317.6 kB / 1.249 GB, free: 78.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.64e-07/3.154, allocations: 0 / 1.249 GB, free: 78.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001842/3.156, allocations: 442.9 kB / 1.249 GB, free: 78.05 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 () * Number of clocked 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.002366/3.159, allocations: 1.297 MB / 1.251 GB, free: 77.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001104/3.16, allocations: 408.3 kB / 1.251 GB, free: 77.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.289e-06/3.16, allocations: 0 / 1.251 GB, free: 77.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000419/3.16, allocations: 194.1 kB / 1.251 GB, free: 77.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/3.162, allocations: 285.6 kB / 1.251 GB, free: 77.81 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008242/3.17, allocations: 2.663 MB / 1.254 GB, free: 77.15 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/3.171, allocations: 0.8757 MB / 1.255 GB, free: 76.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005302/3.171, allocations: 109.8 kB / 1.255 GB, free: 76.44 MB / 490.7 MB Notification: Performance of SimCode: time 1.531e-06/3.171, allocations: 0 / 1.255 GB, free: 76.44 MB / 490.7 MB Notification: Performance of Templates: time 0.02888/3.2, allocations: 18.56 MB / 1.273 GB, free: 75.87 MB / 490.7 MB