Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01041/0.0104, allocations: 176 kB / 15.12 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.946/1.946, allocations: 194.5 MB / 210.3 MB, free: 7.801 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00203/0.002029, allocations: 116.7 kB / 255.6 MB, free: 10.43 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2399/0.2399, allocations: 40 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000683/0.000683, allocations: 15.84 kB / 406.3 MB, free: 52.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1086, allocations: 54.88 MB / 461.1 MB, free: 3.227 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.073/1.181, allocations: 283.9 MB / 0.7275 GB, free: 134.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/1.182, allocations: 90.03 kB / 0.7276 GB, free: 134.3 MB / 490.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+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.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+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 0.3683/1.55, allocations: 116.3 MB / 0.8412 GB, free: 67.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.394e-06/1.55, allocations: 0 / 0.8412 GB, free: 67.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.326e-05/1.55, allocations: 16 kB / 0.8413 GB, free: 67.05 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002283/1.552, allocations: 0.9406 MB / 0.8422 GB, free: 66.06 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/1.552, allocations: 8.031 kB / 0.8422 GB, free: 66.05 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000217/1.553, allocations: 82.53 kB / 0.8423 GB, free: 65.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004433/1.553, allocations: 83.14 kB / 0.8423 GB, free: 65.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/1.555, allocations: 0.556 MB / 0.8429 GB, free: 65.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/1.555, allocations: 29 kB / 0.8429 GB, free: 65.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.746e-05/1.555, allocations: 44 kB / 0.843 GB, free: 65.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/1.556, allocations: 0.6511 MB / 0.8436 GB, free: 64.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/1.556, allocations: 3.938 kB / 0.8436 GB, free: 64.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.634e-05/1.556, allocations: 20 kB / 0.8436 GB, free: 64.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/1.556, allocations: 12 kB / 0.8436 GB, free: 64.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/1.557, allocations: 0.5074 MB / 0.8441 GB, free: 63.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004603/1.562, allocations: 3.095 MB / 0.8471 GB, free: 60.67 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005004/1.563, allocations: 195.1 kB / 0.8473 GB, free: 60.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001875/1.564, allocations: 1.017 MB / 0.8483 GB, free: 59.35 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003648/1.565, allocations: 188.9 kB / 0.8485 GB, free: 59.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 3.837e-06/1.565, allocations: 0 / 0.8485 GB, free: 59.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.001087/1.566, allocations: 448.2 kB / 0.8489 GB, free: 58.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/1.566, allocations: 158.2 kB / 0.8491 GB, free: 58.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006673/1.567, allocations: 433.9 kB / 0.8495 GB, free: 58.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/1.567, allocations: 37.7 kB / 0.8495 GB, free: 58.01 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/1.567, allocations: 366.5 kB / 0.8499 GB, free: 57.64 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.54e-05/1.567, allocations: 90.83 kB / 0.85 GB, free: 57.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/1.567, allocations: 8 kB / 0.85 GB, free: 57.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/1.567, allocations: 362.8 kB / 0.8503 GB, free: 57.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/1.568, allocations: 117 kB / 0.8504 GB, free: 57.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/1.568, allocations: 397.4 kB / 0.8508 GB, free: 56.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/1.569, allocations: 206.6 kB / 0.851 GB, free: 56.33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/1.569, allocations: 8 kB / 0.851 GB, free: 56.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001318/1.57, allocations: 0.5733 MB / 0.8516 GB, free: 55.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007883/1.571, allocations: 3.697 MB / 0.8552 GB, free: 51.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/1.571, allocations: 12 kB / 0.8552 GB, free: 51.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.555e-05/1.571, allocations: 12 kB / 0.8552 GB, free: 51.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/1.573, allocations: 195.7 kB / 0.8554 GB, free: 51.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000517/1.573, allocations: 0.6094 MB / 0.856 GB, free: 50.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008168/1.574, allocations: 87.34 kB / 0.8561 GB, free: 50.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.483e-05/1.574, allocations: 35.98 kB / 0.8561 GB, free: 50.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/1.574, allocations: 7.953 kB / 0.8561 GB, free: 50.78 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001103/1.575, allocations: 0.5144 MB / 0.8566 GB, free: 50.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/1.575, allocations: 8.219 kB / 0.8566 GB, free: 50.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/1.575, allocations: 16 kB / 0.8566 GB, free: 50.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006408/1.576, allocations: 135.7 kB / 0.8568 GB, free: 50.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.89e-05/1.576, allocations: 19.92 kB / 0.8568 GB, free: 50.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006126/1.577, allocations: 55.61 kB / 0.8568 GB, free: 50.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-05/1.577, allocations: 36 kB / 0.8569 GB, free: 49.99 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004521/1.577, allocations: 306.6 kB / 0.8572 GB, free: 49.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/1.577, allocations: 59.3 kB / 0.8572 GB, free: 49.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/1.579, allocations: 0.6354 MB / 0.8579 GB, free: 48.97 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/1.579, allocations: 4 kB / 0.8579 GB, free: 48.96 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/1.579, allocations: 0 / 0.8579 GB, free: 48.96 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/1.579, allocations: 3.984 kB / 0.8579 GB, free: 48.96 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007822/1.58, allocations: 488.9 kB / 0.8583 GB, free: 48.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/1.58, allocations: 0 / 0.8583 GB, free: 48.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000952/1.581, allocations: 115.8 kB / 0.8584 GB, free: 48.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/1.581, allocations: 0 / 0.8584 GB, free: 48.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/1.581, allocations: 15.98 kB / 0.8585 GB, free: 48.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003201/1.582, allocations: 0.5899 MB / 0.859 GB, free: 47.69 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.582, allocations: 3.938 kB / 0.859 GB, free: 47.69 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008624/1.582, allocations: 414.7 kB / 0.8594 GB, free: 47.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003118/1.583, allocations: 184.2 kB / 0.8596 GB, free: 47.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/1.583, allocations: 8 kB / 0.8596 GB, free: 47.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/1.583, allocations: 24.08 kB / 0.8596 GB, free: 47.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/1.583, allocations: 23.92 kB / 0.8597 GB, free: 47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.927e-05/1.583, allocations: 19.98 kB / 0.8597 GB, free: 46.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000561/1.584, allocations: 350.8 kB / 0.86 GB, free: 46.64 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.584, allocations: 0 / 0.86 GB, free: 46.64 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001906/1.586, allocations: 435.3 kB / 0.8604 GB, free: 46.21 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00216/1.588, allocations: 1.279 MB / 0.8617 GB, free: 44.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003125/1.591, allocations: 0.8275 MB / 0.8625 GB, free: 44.06 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/1.591, allocations: 0 / 0.8625 GB, free: 44.06 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001317/1.593, allocations: 324 kB / 0.8628 GB, free: 43.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/1.594, allocations: 190.4 kB / 0.863 GB, free: 43.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008176/1.603, allocations: 9.521 MB / 0.8723 GB, free: 33.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/1.603, allocations: 0.8999 MB / 0.8731 GB, free: 32.86 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001142/1.604, allocations: 196.4 kB / 0.8733 GB, free: 32.67 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/1.605, allocations: 219.3 kB / 0.8735 GB, free: 32.46 MB / 490.7 MB Notification: Performance of SimCode: time 1.182e-06/1.605, allocations: 4 kB / 0.8735 GB, free: 32.45 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05343/1.658, allocations: 17.57 MB / 0.8907 GB, free: 14.95 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003027/1.658, allocations: 275.5 kB / 0.891 GB, free: 14.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.157/4.815, allocations: 0 / 0.891 GB, free: 14.59 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice_res.mat does not exist to compare? outputFormat=mat