Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadModel(ModelicaTest): time 1.944/1.944, allocations: 209.3 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004292/0.0004296, allocations: 11.94 kB / 282.6 MB, free: 9.562 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2841, allocations: 48.69 MB / 331.3 MB, free: 6.332 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.439/1.724, allocations: 0.6025 GB / 0.926 GB, free: 65.52 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/1.724, allocations: 95.94 kB / 0.9261 GB, free: 65.43 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.336/3.06, allocations: 270 MB / 1.19 GB, free: 74.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.516e-06/3.06, allocations: 0 / 1.19 GB, free: 74.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.265e-05/3.06, allocations: 13.06 kB / 1.19 GB, free: 74.2 MB / 442.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.003547/3.063, allocations: 1.282 MB / 1.191 GB, free: 73.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/3.063, allocations: 10.56 kB / 1.191 GB, free: 73.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/3.065, allocations: 162.1 kB / 1.191 GB, free: 73.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/3.066, allocations: 0.5287 MB / 1.192 GB, free: 73.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/3.066, allocations: 32.09 kB / 1.192 GB, free: 73.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.742e-05/3.066, allocations: 44.47 kB / 1.192 GB, free: 73.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/3.068, allocations: 0.6387 MB / 1.192 GB, free: 73.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/3.068, allocations: 3.609 kB / 1.192 GB, free: 73.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.928e-05/3.068, allocations: 23.16 kB / 1.192 GB, free: 73.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/3.068, allocations: 13.47 kB / 1.192 GB, free: 73.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/3.069, allocations: 0.5028 MB / 1.193 GB, free: 73.29 MB / 442.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.003144/3.072, allocations: 2.571 MB / 1.195 GB, free: 71.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008611/3.073, allocations: 307.1 kB / 1.196 GB, free: 71.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000392/3.074, allocations: 327.8 kB / 1.196 GB, free: 71.33 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/3.074, allocations: 39.41 kB / 1.196 GB, free: 71.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 3.811e-06/3.074, allocations: 0 / 1.196 GB, free: 71.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.002073/3.076, allocations: 0.6858 MB / 1.197 GB, free: 71.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/3.076, allocations: 157.9 kB / 1.197 GB, free: 70.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000604/3.076, allocations: 397.9 kB / 1.197 GB, free: 70.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.446e-05/3.076, allocations: 33.39 kB / 1.197 GB, free: 70.79 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/3.077, allocations: 359.4 kB / 1.198 GB, free: 70.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/3.077, allocations: 128 kB / 1.198 GB, free: 70.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/3.077, allocations: 9.156 kB / 1.198 GB, free: 70.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.973e-05/3.077, allocations: 339.1 kB / 1.198 GB, free: 70.19 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/3.077, allocations: 139.8 kB / 1.198 GB, free: 70.19 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004817/3.078, allocations: 363.8 kB / 1.199 GB, free: 69.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004582/3.078, allocations: 198.8 kB / 1.199 GB, free: 69.92 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.097e-06/3.078, allocations: 3.125 kB / 1.199 GB, free: 69.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001276/3.08, allocations: 0.5667 MB / 1.199 GB, free: 69.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/3.08, allocations: 7.031 kB / 1.199 GB, free: 69.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/3.08, allocations: 10.38 kB / 1.199 GB, free: 69.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/3.081, allocations: 234.5 kB / 1.2 GB, free: 69.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005251/3.082, allocations: 137.4 kB / 1.2 GB, free: 69.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005442/3.082, allocations: 0.5859 MB / 1.2 GB, free: 69.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006491/3.083, allocations: 67.83 kB / 1.2 GB, free: 69.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/3.083, allocations: 59.69 kB / 1.2 GB, free: 69.32 MB / 442.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.0003743/3.084, allocations: 198.1 kB / 1.201 GB, free: 69.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/3.084, allocations: 64.77 kB / 1.201 GB, free: 69.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/3.086, allocations: 0.668 MB / 1.201 GB, free: 69.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/3.086, allocations: 3.875 kB / 1.201 GB, free: 69.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.534e-06/3.086, allocations: 3 kB / 1.201 GB, free: 69.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.282e-06/3.086, allocations: 2.812 kB / 1.201 GB, free: 69.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002637/3.089, allocations: 1.515 MB / 1.203 GB, free: 68.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/3.089, allocations: 7.766 kB / 1.203 GB, free: 68.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003265/3.089, allocations: 76.23 kB / 1.203 GB, free: 68.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001643/3.091, allocations: 235.1 kB / 1.203 GB, free: 68.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.283e-05/3.091, allocations: 15.75 kB / 1.203 GB, free: 68.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004347/3.091, allocations: 0.5852 MB / 1.204 GB, free: 67.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.697e-06/3.091, allocations: 3.281 kB / 1.204 GB, free: 67.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/3.092, allocations: 0.687 MB / 1.204 GB, free: 67.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003053/3.093, allocations: 195 kB / 1.205 GB, free: 67.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/3.093, allocations: 16.25 kB / 1.205 GB, free: 67.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004108/3.093, allocations: 28.94 kB / 1.205 GB, free: 67.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.814e-05/3.093, allocations: 32.58 kB / 1.205 GB, free: 67.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-05/3.093, allocations: 34.03 kB / 1.205 GB, free: 67.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004544/3.094, allocations: 317 kB / 1.205 GB, free: 67.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.08e-07/3.094, allocations: 0 / 1.205 GB, free: 67.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001883/3.096, allocations: 442.9 kB / 1.205 GB, free: 67.22 MB / 442.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.002553/3.098, allocations: 1.282 MB / 1.207 GB, free: 66.97 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00115/3.099, allocations: 426 kB / 1.207 GB, free: 66.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.165e-06/3.1, allocations: 2.875 kB / 1.207 GB, free: 66.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004411/3.1, allocations: 200 kB / 1.207 GB, free: 66.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/3.102, allocations: 287.6 kB / 1.208 GB, free: 66.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007755/3.109, allocations: 2.659 MB / 1.21 GB, free: 66.26 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/3.11, allocations: 0.8818 MB / 1.211 GB, free: 65.56 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005211/3.11, allocations: 102.6 kB / 1.211 GB, free: 65.55 MB / 442.7 MB Notification: Performance of SimCode: time 2.662e-06/3.11, allocations: 0 / 1.211 GB, free: 65.55 MB / 442.7 MB Notification: Performance of Templates: time 0.02934/3.14, allocations: 18.57 MB / 1.229 GB, free: 64.57 MB / 442.7 MB