Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.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.405/2.405, allocations: 234.9 MB / 251.1 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004261/0.0004262, allocations: 12 kB / 315 MB, free: 10.55 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3479, allocations: 54.87 MB / 369.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.78/2.128, allocations: 0.6093 GB / 0.9704 GB, free: 54.19 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/2.129, allocations: 94.14 kB / 0.9705 GB, free: 54.14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.775/3.904, allocations: 270.1 MB / 1.234 GB, free: 88.42 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.954e-06/3.904, allocations: 1.375 kB / 1.234 GB, free: 88.42 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.399e-05/3.904, allocations: 22.11 kB / 1.234 GB, free: 88.42 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.004155/3.908, allocations: 1.282 MB / 1.236 GB, free: 88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/3.908, allocations: 9.938 kB / 1.236 GB, free: 88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/3.91, allocations: 156.4 kB / 1.236 GB, free: 87.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/3.911, allocations: 0.5192 MB / 1.236 GB, free: 87.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.17e-05/3.911, allocations: 36.12 kB / 1.236 GB, free: 87.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/3.911, allocations: 43.34 kB / 1.236 GB, free: 87.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/3.913, allocations: 0.6406 MB / 1.237 GB, free: 87.58 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/3.913, allocations: 3.562 kB / 1.237 GB, free: 87.58 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/3.913, allocations: 25.06 kB / 1.237 GB, free: 87.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/3.913, allocations: 15.73 kB / 1.237 GB, free: 87.58 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/3.915, allocations: 0.5013 MB / 1.237 GB, free: 87.57 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.003945/3.919, allocations: 2.578 MB / 1.24 GB, free: 85.92 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009875/3.92, allocations: 295.8 kB / 1.24 GB, free: 85.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004633/3.92, allocations: 328.2 kB / 1.241 GB, free: 85.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/3.92, allocations: 37.25 kB / 1.241 GB, free: 85.58 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 3.266e-06/3.92, allocations: 0 / 1.241 GB, free: 85.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.002485/3.923, allocations: 0.683 MB / 1.241 GB, free: 85.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/3.923, allocations: 163.5 kB / 1.241 GB, free: 85.22 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007585/3.924, allocations: 452 kB / 1.242 GB, free: 85.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001185/3.924, allocations: 28.33 kB / 1.242 GB, free: 85.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/3.924, allocations: 357.8 kB / 1.242 GB, free: 84.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/3.924, allocations: 124 kB / 1.242 GB, free: 84.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/3.924, allocations: 18.02 kB / 1.242 GB, free: 84.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.858e-05/3.924, allocations: 327.8 kB / 1.243 GB, free: 84.47 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004552/3.925, allocations: 143.8 kB / 1.243 GB, free: 84.47 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005579/3.925, allocations: 369.1 kB / 1.243 GB, free: 84.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005642/3.926, allocations: 199.6 kB / 1.243 GB, free: 84.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/3.926, allocations: 0 / 1.243 GB, free: 84.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001581/3.928, allocations: 0.5755 MB / 1.244 GB, free: 84.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/3.928, allocations: 17.03 kB / 1.244 GB, free: 84.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/3.928, allocations: 7.688 kB / 1.244 GB, free: 84.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002229/3.93, allocations: 235.5 kB / 1.244 GB, free: 84.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007598/3.931, allocations: 132.3 kB / 1.244 GB, free: 84.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005682/3.931, allocations: 0.5884 MB / 1.245 GB, free: 83.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007576/3.932, allocations: 69.03 kB / 1.245 GB, free: 83.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/3.932, allocations: 57.27 kB / 1.245 GB, free: 83.6 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.0004267/3.933, allocations: 197.5 kB / 1.245 GB, free: 83.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/3.933, allocations: 49.84 kB / 1.245 GB, free: 83.46 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/3.935, allocations: 0.6886 MB / 1.246 GB, free: 83.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/3.935, allocations: 3.938 kB / 1.246 GB, free: 83.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/3.935, allocations: 0 / 1.246 GB, free: 83.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/3.935, allocations: 5.781 kB / 1.246 GB, free: 83.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003018/3.938, allocations: 1.523 MB / 1.247 GB, free: 82.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/3.939, allocations: 3.469 kB / 1.247 GB, free: 82.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004224/3.939, allocations: 73.25 kB / 1.247 GB, free: 82.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002058/3.941, allocations: 231.1 kB / 1.248 GB, free: 82.67 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-05/3.941, allocations: 17.84 kB / 1.248 GB, free: 82.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004904/3.942, allocations: 0.5786 MB / 1.248 GB, free: 82.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/3.942, allocations: 5.906 kB / 1.248 GB, free: 82.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/3.943, allocations: 0.5723 MB / 1.249 GB, free: 81.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002359/3.943, allocations: 149.7 kB / 1.249 GB, free: 81.78 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/3.943, allocations: 11.31 kB / 1.249 GB, free: 81.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005085/3.944, allocations: 29.67 kB / 1.249 GB, free: 81.78 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/3.944, allocations: 38.27 kB / 1.249 GB, free: 81.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.998e-05/3.944, allocations: 29.2 kB / 1.249 GB, free: 81.78 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005124/3.945, allocations: 315.8 kB / 1.249 GB, free: 81.69 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.61e-07/3.945, allocations: 0 / 1.249 GB, free: 81.69 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002144/3.947, allocations: 445.3 kB / 1.25 GB, free: 81.64 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.00313/3.95, allocations: 1.282 MB / 1.251 GB, free: 81.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001413/3.951, allocations: 413.5 kB / 1.251 GB, free: 81.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/3.952, allocations: 0 / 1.251 GB, free: 81.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005455/3.952, allocations: 185.8 kB / 1.252 GB, free: 81.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/3.955, allocations: 293.6 kB / 1.252 GB, free: 81.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009892/3.965, allocations: 2.667 MB / 1.254 GB, free: 80.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/3.965, allocations: 0.8763 MB / 1.255 GB, free: 80.03 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005852/3.966, allocations: 108.1 kB / 1.255 GB, free: 80.02 MB / 490.7 MB Notification: Performance of SimCode: time 1.082e-06/3.966, allocations: 2.281 kB / 1.255 GB, free: 80.02 MB / 490.7 MB Notification: Performance of Templates: time 0.03703/4.003, allocations: 18.56 MB / 1.274 GB, free: 79.29 MB / 490.7 MB