Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestSuddenExpansion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01016/0.01016, allocations: 164.6 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.575/1.575, allocations: 170.8 MB / 186.6 MB, free: 1.137 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00196/0.00196, allocations: 103.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4303/0.4303, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004546/0.0004548, allocations: 8 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1021, allocations: 48.72 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.581/7.683, allocations: 2.483 GB / 2.885 GB, free: 53.85 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/7.684, allocations: 85.27 kB / 2.885 GB, free: 53.8 MB / 426.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/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 2.666/10.35, allocations: 497.1 MB / 3.371 GB, free: 31.19 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.535e-06/10.35, allocations: 0 / 3.371 GB, free: 31.19 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001274/10.35, allocations: 29.22 kB / 3.371 GB, free: 31.18 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.01096/10.36, allocations: 2.22 MB / 3.373 GB, free: 29.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/10.36, allocations: 11.62 kB / 3.373 GB, free: 29.96 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004738/10.36, allocations: 154.6 kB / 3.373 GB, free: 29.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006312/10.37, allocations: 0.5873 MB / 3.374 GB, free: 29.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/10.37, allocations: 0.9415 MB / 3.375 GB, free: 29.17 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.315e-05/10.37, allocations: 70.09 kB / 3.375 GB, free: 29.14 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/10.37, allocations: 95.03 kB / 3.375 GB, free: 29.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005169/10.38, allocations: 1.647 MB / 3.376 GB, free: 28.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.602e-05/10.38, allocations: 3.938 kB / 3.376 GB, free: 28.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001841/10.38, allocations: 51.42 kB / 3.376 GB, free: 28.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/10.38, allocations: 26.16 kB / 3.376 GB, free: 28.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004629/10.38, allocations: 1.413 MB / 3.378 GB, free: 27.84 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/10.39, allocations: 8.046 MB / 3.386 GB, free: 21.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003922/10.4, allocations: 1.651 MB / 3.387 GB, free: 20.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6753/11.07, allocations: 80.22 MB / 3.466 GB, free: 59.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.207e-05/11.07, allocations: 46.3 kB / 3.466 GB, free: 59.91 MB / 474.7 MB Notification: Performance of pre-optimization done (n=69): time 4.038e-06/11.07, allocations: 0 / 3.466 GB, free: 59.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=69): time 0.007701/11.08, allocations: 1.899 MB / 3.468 GB, free: 59.77 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.825e-05/11.08, allocations: 189.8 kB / 3.468 GB, free: 59.55 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/11.08, allocations: 0.8156 MB / 3.469 GB, free: 59.41 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001206/11.08, allocations: 40.11 kB / 3.469 GB, free: 59.38 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004912/11.08, allocations: 0.6009 MB / 3.469 GB, free: 59.14 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000336/11.08, allocations: 257.6 kB / 3.469 GB, free: 59.02 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.815e-05/11.08, allocations: 20.28 kB / 3.469 GB, free: 59.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/11.08, allocations: 355.4 kB / 3.47 GB, free: 58.71 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007488/11.08, allocations: 296.8 kB / 3.47 GB, free: 58.71 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009981/11.08, allocations: 0.7789 MB / 3.471 GB, free: 58.12 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009778/11.08, allocations: 425.1 kB / 3.471 GB, free: 58.11 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/11.08, allocations: 4.219 kB / 3.471 GB, free: 58.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003257/11.09, allocations: 1.271 MB / 3.472 GB, free: 58 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/11.09, allocations: 13.09 kB / 3.472 GB, free: 58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/11.09, allocations: 12.81 kB / 3.472 GB, free: 58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01184/11.1, allocations: 0.8279 MB / 3.473 GB, free: 58 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002483/11.1, allocations: 309 kB / 3.474 GB, free: 58 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/11.1, allocations: 1.533 MB / 3.475 GB, free: 56.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/11.11, allocations: 147.5 kB / 3.475 GB, free: 56.85 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/11.11, allocations: 70.34 kB / 3.475 GB, free: 56.85 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 20 (rightAdapter.state_b.phase,rightAdapter.state_a.phase,rightAdapter.state_a_nondes.phase,rightAdapter.state_b_des.phase,leftAdapter.state_b.phase,leftAdapter.state_a.phase,leftAdapter.state_a_nondes.phase,leftAdapter.state_b_des.phase,suddenExpansion2.state_b.phase,suddenExpansion2.state_a.phase,suddenExpansion2.state_a_nondes.phase,suddenExpansion2.state_b_des.phase,rightBoundary2.medium.phase,leftBoundary2.medium.phase,suddenExpansion1.state_b.phase,suddenExpansion1.state_a.phase,suddenExpansion1.state_a_nondes.phase,suddenExpansion1.state_b_des.phase,rightBoundary1.medium.phase,leftBoundary1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 12} Notification: Performance of prepare postOptimizeDAE: time 0.0007225/11.11, allocations: 297.8 kB / 3.476 GB, free: 56.73 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002756/11.11, allocations: 107.3 kB / 3.476 GB, free: 56.68 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006481/11.11, allocations: 4.449 MB / 3.48 GB, free: 56.33 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.617e-05/11.11, allocations: 50.09 kB / 3.48 GB, free: 56.33 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/11.11, allocations: 3.953 kB / 3.48 GB, free: 56.32 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/11.11, allocations: 6.5 kB / 3.48 GB, free: 56.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007544/11.12, allocations: 4.894 MB / 3.485 GB, free: 55.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/11.12, allocations: 0 / 3.485 GB, free: 55.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/11.12, allocations: 177 kB / 3.485 GB, free: 55.24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01262/11.14, allocations: 1.886 MB / 3.487 GB, free: 55.22 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/11.14, allocations: 16.22 kB / 3.487 GB, free: 55.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/11.14, allocations: 1.912 MB / 3.489 GB, free: 54.08 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/11.14, allocations: 0 / 3.489 GB, free: 54.08 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003222/11.14, allocations: 1.998 MB / 3.491 GB, free: 53.65 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006507/11.14, allocations: 328.3 kB / 3.491 GB, free: 53.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002778/11.14, allocations: 15.91 kB / 3.491 GB, free: 53.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008799/11.14, allocations: 59.56 kB / 3.491 GB, free: 53.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/11.14, allocations: 51.94 kB / 3.491 GB, free: 53.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-05/11.14, allocations: 29.25 kB / 3.491 GB, free: 53.39 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00142/11.14, allocations: 0.6975 MB / 3.492 GB, free: 53.29 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.272e-06/11.14, allocations: 1.938 kB / 3.492 GB, free: 53.29 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006502/11.15, allocations: 1.326 MB / 3.493 GB, free: 53.21 MB / 474.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: 24 ($cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.01354/11.16, allocations: 4.271 MB / 3.497 GB, free: 52.08 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004482/11.17, allocations: 1.267 MB / 3.499 GB, free: 52.05 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/11.17, allocations: 3.469 kB / 3.499 GB, free: 52.05 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003127/11.17, allocations: 0.9006 MB / 3.499 GB, free: 52.04 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004991/11.18, allocations: 0.525 MB / 3.5 GB, free: 52.02 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2156/11.39, allocations: 93.51 MB / 3.591 GB, free: 30.81 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008944/11.39, allocations: 1.339 MB / 3.593 GB, free: 29.68 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001966/11.4, allocations: 0.5701 MB / 3.593 GB, free: 29.34 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/11.4, allocations: 0.6328 MB / 3.594 GB, free: 29.25 MB / 474.7 MB Notification: Performance of SimCode: time 1.303e-06/11.4, allocations: 3.375 kB / 3.594 GB, free: 29.25 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5121/11.91, allocations: 65.14 MB / 3.657 GB, free: 62.54 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002751/11.91, allocations: 262.7 kB / 3.658 GB, free: 62.18 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.216/17.13, allocations: 7.938 kB / 3.658 GB, free: 62.18 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion_res.mat does not exist to compare? outputFormat=mat