Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.284/2.284, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004435/0.0004437, allocations: 15.98 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3497, allocations: 54.85 MB / 369.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.195/1.545, allocations: 329.9 MB / 0.6828 GB, free: 126.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003909/1.545, allocations: 89.67 kB / 0.6829 GB, free: 126.4 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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.53/3.076, allocations: 333.5 MB / 1.009 GB, free: 19.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.244e-06/3.076, allocations: 0 / 1.009 GB, free: 19.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001295/3.076, allocations: 35.98 kB / 1.009 GB, free: 19.94 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.0062/3.082, allocations: 1.964 MB / 1.011 GB, free: 17.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/3.082, allocations: 16.03 kB / 1.011 GB, free: 17.89 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005537/3.083, allocations: 156.3 kB / 1.011 GB, free: 17.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009264/3.084, allocations: 186.1 kB / 1.011 GB, free: 17.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003475/3.087, allocations: 1.132 MB / 1.012 GB, free: 16.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.41e-05/3.087, allocations: 70 kB / 1.012 GB, free: 16.31 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002386/3.088, allocations: 95.98 kB / 1.012 GB, free: 16.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003265/3.091, allocations: 1.458 MB / 1.014 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.675e-05/3.091, allocations: 7.938 kB / 1.014 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002158/3.091, allocations: 40 kB / 1.014 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-05/3.091, allocations: 57.94 kB / 1.014 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003033/3.094, allocations: 1.319 MB / 1.015 GB, free: 13.23 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.01135/3.106, allocations: 6.675 MB / 1.022 GB, free: 6.148 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/3.107, allocations: 0.5012 MB / 1.022 GB, free: 5.645 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.419/3.526, allocations: 17.02 MB / 1.039 GB, free: 56.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006498/3.527, allocations: 284.3 kB / 1.039 GB, free: 56.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 4.227e-06/3.527, allocations: 2.188 kB / 1.039 GB, free: 56.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.002194/3.529, allocations: 0.7491 MB / 1.04 GB, free: 56.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.461e-05/3.529, allocations: 263.9 kB / 1.04 GB, free: 55.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/3.531, allocations: 1.019 MB / 1.041 GB, free: 55.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001616/3.531, allocations: 35.3 kB / 1.041 GB, free: 55.81 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006693/3.532, allocations: 0.7742 MB / 1.042 GB, free: 55.42 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/3.532, allocations: 149.4 kB / 1.042 GB, free: 55.36 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.377e-05/3.532, allocations: 24.44 kB / 1.042 GB, free: 55.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/3.532, allocations: 361.4 kB / 1.042 GB, free: 55.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008312/3.533, allocations: 271.9 kB / 1.042 GB, free: 55.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/3.534, allocations: 0.9489 MB / 1.043 GB, free: 54.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009777/3.535, allocations: 478.7 kB / 1.044 GB, free: 54.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-05/3.535, allocations: 7.438 kB / 1.044 GB, free: 54.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002924/3.538, allocations: 1.238 MB / 1.045 GB, free: 54.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00214/3.541, allocations: 9.085 MB / 1.054 GB, free: 44.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.422e-05/3.541, allocations: 22.09 kB / 1.054 GB, free: 44.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.833e-05/3.541, allocations: 35.75 kB / 1.054 GB, free: 44.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004095/3.545, allocations: 427.1 kB / 1.054 GB, free: 44.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008513/3.546, allocations: 1.278 MB / 1.056 GB, free: 43.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/3.548, allocations: 192.7 kB / 1.056 GB, free: 43.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002059/3.548, allocations: 84.52 kB / 1.056 GB, free: 43.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/3.548, allocations: 2.75 kB / 1.056 GB, free: 43.36 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002699/3.551, allocations: 1.139 MB / 1.057 GB, free: 43.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/3.551, allocations: 21.72 kB / 1.057 GB, free: 43.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.532e-05/3.551, allocations: 35.22 kB / 1.057 GB, free: 43.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/3.553, allocations: 321.9 kB / 1.057 GB, free: 43.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003444/3.553, allocations: 0.6344 MB / 1.058 GB, free: 42.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/3.554, allocations: 145.4 kB / 1.058 GB, free: 42.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/3.555, allocations: 78.08 kB / 1.058 GB, free: 42.71 MB / 490.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 () * Number of clocked 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.0009937/3.556, allocations: 441.6 kB / 1.059 GB, free: 42.49 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003374/3.556, allocations: 122.6 kB / 1.059 GB, free: 42.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003588/3.559, allocations: 1.199 MB / 1.06 GB, free: 42.24 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.981e-05/3.56, allocations: 14.94 kB / 1.06 GB, free: 42.24 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/3.56, allocations: 1 kB / 1.06 GB, free: 42.24 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/3.56, allocations: 10.58 kB / 1.06 GB, free: 42.24 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003824/3.563, allocations: 1.787 MB / 1.062 GB, free: 41.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.242e-05/3.563, allocations: 3.094 kB / 1.062 GB, free: 41.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002995/3.566, allocations: 242.9 kB / 1.062 GB, free: 41.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/3.567, allocations: 3.719 kB / 1.062 GB, free: 41.87 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.172e-05/3.567, allocations: 21.89 kB / 1.062 GB, free: 41.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006352/3.567, allocations: 1.234 MB / 1.063 GB, free: 40.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/3.567, allocations: 0 / 1.063 GB, free: 40.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/3.569, allocations: 0.8292 MB / 1.064 GB, free: 40.42 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004703/3.57, allocations: 253.1 kB / 1.064 GB, free: 40.25 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002636/3.57, allocations: 13.09 kB / 1.064 GB, free: 40.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000872/3.571, allocations: 52.44 kB / 1.064 GB, free: 40.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/3.571, allocations: 41.72 kB / 1.064 GB, free: 40.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-05/3.571, allocations: 29.12 kB / 1.064 GB, free: 40.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001474/3.572, allocations: 0.795 MB / 1.065 GB, free: 40.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/3.572, allocations: 1.969 kB / 1.065 GB, free: 40.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00571/3.578, allocations: 1.346 MB / 1.066 GB, free: 40.12 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) * Number of clocked states: 0 () * 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.006359/3.585, allocations: 2.659 MB / 1.069 GB, free: 39.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006848/3.591, allocations: 1.708 MB / 1.071 GB, free: 39.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/3.592, allocations: 0 / 1.071 GB, free: 39.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004618/3.596, allocations: 0.5706 MB / 1.071 GB, free: 39.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/3.599, allocations: 405.6 kB / 1.072 GB, free: 39.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/3.614, allocations: 20.16 MB / 1.091 GB, free: 37.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008973/3.615, allocations: 1.19 MB / 1.092 GB, free: 36.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/3.617, allocations: 0.5226 MB / 1.093 GB, free: 36.59 MB / 0.4948 GB Notification: Performance of SimCode: time 1.182e-06/3.617, allocations: 0 / 1.093 GB, free: 36.59 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.446/7.063, allocations: 44.23 MB / 1.136 GB, free: 33.82 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat does not exist to compare? outputFormat=mat