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.Fittings.TestWallFriction.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.Fittings.TestWallFriction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") Notification: Performance of loadModel(ModelicaTest): time 2.141/2.141, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.945e-05, allocations: 8 kB / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3857, allocations: 54.84 MB / 364.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6301/1.016, allocations: 329.8 MB / 0.678 GB, free: 5.156 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/1.016, allocations: 79.45 kB / 0.6781 GB, free: 5.113 MB / 458.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 1.643/2.659, allocations: 332.3 MB / 1.003 GB, free: 58.59 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.848e-06/2.659, allocations: 0 / 1.003 GB, free: 58.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001073/2.659, allocations: 39.98 kB / 1.003 GB, free: 58.55 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.00426/2.663, allocations: 1.778 MB / 1.004 GB, free: 56.71 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/2.663, allocations: 8.031 kB / 1.004 GB, free: 56.71 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009999/2.664, allocations: 186.1 kB / 1.005 GB, free: 56.52 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002794/2.667, allocations: 1.124 MB / 1.006 GB, free: 55.36 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.894e-05/2.667, allocations: 66 kB / 1.006 GB, free: 55.29 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/2.668, allocations: 99.92 kB / 1.006 GB, free: 55.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/2.67, allocations: 1.435 MB / 1.007 GB, free: 53.66 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/2.67, allocations: 7.984 kB / 1.007 GB, free: 53.65 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002025/2.67, allocations: 44 kB / 1.007 GB, free: 53.61 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.472e-05/2.671, allocations: 49.98 kB / 1.007 GB, free: 53.56 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002462/2.673, allocations: 1.304 MB / 1.009 GB, free: 52.25 MB / 474.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.009351/2.682, allocations: 6.679 MB / 1.015 GB, free: 45.18 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/2.683, allocations: 491.5 kB / 1.016 GB, free: 44.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005419/2.684, allocations: 294.5 kB / 1.016 GB, free: 44.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02005/2.704, allocations: 17.2 MB / 1.033 GB, free: 23.99 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004942/2.705, allocations: 286.2 kB / 1.033 GB, free: 23.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=42): time 3.941e-06/2.705, allocations: 0 / 1.033 GB, free: 23.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=42): time 0.001285/2.706, allocations: 0.5214 MB / 1.033 GB, free: 23.16 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/2.706, allocations: 269 kB / 1.034 GB, free: 22.84 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/2.708, allocations: 0.9986 MB / 1.035 GB, free: 21.83 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.955e-05/2.708, allocations: 37.7 kB / 1.035 GB, free: 21.79 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004658/2.708, allocations: 0.7713 MB / 1.036 GB, free: 21 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/2.708, allocations: 158 kB / 1.036 GB, free: 20.85 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.724e-05/2.708, allocations: 24 kB / 1.036 GB, free: 20.82 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.054e-05/2.709, allocations: 354.8 kB / 1.036 GB, free: 20.47 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005693/2.709, allocations: 262.6 kB / 1.036 GB, free: 20.21 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008281/2.71, allocations: 0.9537 MB / 1.037 GB, free: 18.92 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008029/2.711, allocations: 467 kB / 1.038 GB, free: 18.46 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-05/2.711, allocations: 8 kB / 1.038 GB, free: 18.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002534/2.713, allocations: 1.216 MB / 1.039 GB, free: 17.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001712/2.715, allocations: 9.092 MB / 1.048 GB, free: 7.418 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.9e-05/2.715, allocations: 27.94 kB / 1.048 GB, free: 7.391 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.951e-05/2.715, allocations: 36 kB / 1.048 GB, free: 7.355 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002748/2.718, allocations: 427.3 kB / 1.048 GB, free: 6.938 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006843/2.719, allocations: 1.277 MB / 1.049 GB, free: 5.613 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/2.72, allocations: 190.5 kB / 1.05 GB, free: 5.426 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/2.721, allocations: 79.98 kB / 1.05 GB, free: 5.348 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/2.721, allocations: 8 kB / 1.05 GB, free: 5.34 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002208/2.723, allocations: 1.118 MB / 1.051 GB, free: 4.215 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/2.723, allocations: 24 kB / 1.051 GB, free: 4.191 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.546e-05/2.723, allocations: 36 kB / 1.051 GB, free: 4.156 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/2.724, allocations: 319.5 kB / 1.051 GB, free: 3.844 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003082/2.725, allocations: 0.6369 MB / 1.052 GB, free: 3.184 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/2.726, allocations: 139.1 kB / 1.052 GB, free: 3.047 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/2.726, allocations: 83.98 kB / 1.052 GB, free: 2.965 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003665/2.726, allocations: 226 kB / 1.052 GB, free: 2.73 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/2.727, allocations: 118.6 kB / 1.052 GB, free: 2.613 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003084/2.73, allocations: 1.206 MB / 1.053 GB, free: 1.387 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/2.73, allocations: 7.562 kB / 1.053 GB, free: 1.383 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.199e-06/2.73, allocations: 0 / 1.053 GB, free: 1.383 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/2.73, allocations: 3.984 kB / 1.054 GB, free: 1.379 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003563/2.734, allocations: 1.782 MB / 1.055 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.711e-06/2.734, allocations: 3.953 kB / 1.055 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002079/2.736, allocations: 239.7 kB / 1.055 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/2.736, allocations: 8.031 kB / 1.055 GB, free: 15.28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.17e-05/2.736, allocations: 23.98 kB / 1.056 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/2.737, allocations: 1.227 MB / 1.057 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.923e-06/2.737, allocations: 0 / 1.057 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/2.739, allocations: 0.8237 MB / 1.058 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005622/2.739, allocations: 251.1 kB / 1.058 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/2.74, allocations: 15.95 kB / 1.058 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007545/2.74, allocations: 47.91 kB / 1.058 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/2.74, allocations: 40.5 kB / 1.058 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.035e-05/2.741, allocations: 31.98 kB / 1.058 GB, free: 12.72 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001579/2.742, allocations: 0.7781 MB / 1.059 GB, free: 11.94 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.78e-07/2.742, allocations: 0 / 1.059 GB, free: 11.94 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005338/2.748, allocations: 1.357 MB / 1.06 GB, free: 10.58 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004251/2.752, allocations: 1.315 MB / 1.061 GB, free: 9.293 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005906/2.758, allocations: 1.688 MB / 1.063 GB, free: 7.594 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.039e-06/2.758, allocations: 0 / 1.063 GB, free: 7.594 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003242/2.761, allocations: 0.5576 MB / 1.063 GB, free: 7.023 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/2.764, allocations: 403.4 kB / 1.064 GB, free: 6.633 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005354/2.769, allocations: 2.038 MB / 1.066 GB, free: 4.582 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/2.77, allocations: 1.194 MB / 1.067 GB, free: 3.359 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005116/2.771, allocations: 135.4 kB / 1.067 GB, free: 3.23 MB / 490.7 MB Notification: Performance of SimCode: time 1.806e-06/2.771, allocations: 0 / 1.067 GB, free: 3.23 MB / 490.7 MB Notification: Performance of Templates: time 0.3508/3.122, allocations: 38.79 MB / 1.105 GB, free: 77.4 MB / 490.7 MB