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.Sensors.TestPressure.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.43/2.43, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.796e-05/1.798e-05, allocations: 4 kB / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3447, allocations: 54.85 MB / 358.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.835/8.18, allocations: 2.595 GB / 2.945 GB, free: 118.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/8.18, allocations: 88.23 kB / 2.945 GB, free: 118.7 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 2.085/10.27, allocations: 405.7 MB / 3.341 GB, free: 63.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.934e-06/10.27, allocations: 0 / 3.341 GB, free: 63.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.146e-05/10.27, allocations: 13.84 kB / 3.341 GB, free: 63.39 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.006952/10.27, allocations: 1.531 MB / 3.342 GB, free: 62.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/10.27, allocations: 10.19 kB / 3.342 GB, free: 62.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00266/10.28, allocations: 247.1 kB / 3.343 GB, free: 62.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/10.28, allocations: 443.2 kB / 3.343 GB, free: 62.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.254e-05/10.28, allocations: 15.06 kB / 3.343 GB, free: 62.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.408e-05/10.28, allocations: 24.97 kB / 3.343 GB, free: 62.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008833/10.28, allocations: 343.3 kB / 3.344 GB, free: 62.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009054/10.28, allocations: 473.6 kB / 3.344 GB, free: 62.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/10.28, allocations: 1.688 kB / 3.344 GB, free: 62.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.206e-05/10.28, allocations: 3.812 kB / 3.344 GB, free: 62.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/10.28, allocations: 13.81 kB / 3.344 GB, free: 62.31 MB / 490.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.1575/10.44, allocations: 39.56 MB / 3.383 GB, free: 45.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008379/10.44, allocations: 222.7 kB / 3.383 GB, free: 45.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/10.44, allocations: 97.75 kB / 3.383 GB, free: 45.58 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1559/10.59, allocations: 49.63 MB / 3.431 GB, free: 30.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/10.59, allocations: 37.44 kB / 3.431 GB, free: 30.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=22): time 2.565e-06/10.59, allocations: 0 / 3.431 GB, free: 30.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22): time 0.002893/10.6, allocations: 0.5035 MB / 3.432 GB, free: 30.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/10.6, allocations: 106.8 kB / 3.432 GB, free: 30.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004762/10.6, allocations: 296.3 kB / 3.432 GB, free: 30.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/10.6, allocations: 28.11 kB / 3.432 GB, free: 30.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/10.6, allocations: 332.8 kB / 3.433 GB, free: 29.83 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.21e-05/10.6, allocations: 79.11 kB / 3.433 GB, free: 29.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/10.6, allocations: 2.25 kB / 3.433 GB, free: 29.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001298/10.6, allocations: 324.7 kB / 3.433 GB, free: 29.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/10.6, allocations: 87.06 kB / 3.433 GB, free: 29.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/10.6, allocations: 280.5 kB / 3.433 GB, free: 29.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/10.6, allocations: 235.8 kB / 3.434 GB, free: 29.22 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/10.6, allocations: 3.875 kB / 3.434 GB, free: 29.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002116/10.6, allocations: 488.5 kB / 3.434 GB, free: 29.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009089/10.6, allocations: 2.448 MB / 3.436 GB, free: 26.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/10.6, allocations: 6.844 kB / 3.436 GB, free: 26.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000257/10.6, allocations: 47.98 kB / 3.437 GB, free: 26.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006949/10.6, allocations: 111.7 kB / 3.437 GB, free: 26.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/10.6, allocations: 0.6337 MB / 3.437 GB, free: 26.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007697/10.61, allocations: 66.09 kB / 3.437 GB, free: 26.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/10.61, allocations: 28.69 kB / 3.437 GB, free: 26.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/10.61, allocations: 4.656 kB / 3.437 GB, free: 26.04 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001381/10.61, allocations: 362 kB / 3.438 GB, free: 26.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/10.61, allocations: 3.906 kB / 3.438 GB, free: 26.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/10.61, allocations: 11.34 kB / 3.438 GB, free: 26.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007034/10.61, allocations: 122.9 kB / 3.438 GB, free: 26.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/10.61, allocations: 14.38 kB / 3.438 GB, free: 26.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005085/10.61, allocations: 42.06 kB / 3.438 GB, free: 26.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.694e-05/10.61, allocations: 26.78 kB / 3.438 GB, free: 26.01 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 4 (massFlowRate1.medium.phase,boundary_fixed.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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.0002564/10.61, allocations: 131.9 kB / 3.438 GB, free: 25.9 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001657/10.61, allocations: 330 kB / 3.438 GB, free: 25.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.246e-05/10.61, allocations: 39.22 kB / 3.438 GB, free: 25.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002674/10.61, allocations: 1.452 MB / 3.44 GB, free: 25.64 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.167e-05/10.61, allocations: 26.36 kB / 3.44 GB, free: 25.64 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/10.61, allocations: 3.953 kB / 3.44 GB, free: 25.63 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/10.61, allocations: 6.281 kB / 3.44 GB, free: 25.63 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003383/10.62, allocations: 2.017 MB / 3.442 GB, free: 25.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/10.62, allocations: 3.938 kB / 3.442 GB, free: 25.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003738/10.62, allocations: 54.12 kB / 3.442 GB, free: 25.24 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008629/10.62, allocations: 0.5839 MB / 3.442 GB, free: 25.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/10.62, allocations: 3.531 kB / 3.442 GB, free: 25.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/10.62, allocations: 1.079 MB / 3.443 GB, free: 24.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/10.62, allocations: 0 / 3.443 GB, free: 24.67 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/10.62, allocations: 1.169 MB / 3.445 GB, free: 24.38 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002895/10.62, allocations: 178.8 kB / 3.445 GB, free: 24.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-05/10.62, allocations: 0 / 3.445 GB, free: 24.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004363/10.62, allocations: 30.02 kB / 3.445 GB, free: 24.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.22e-05/10.62, allocations: 23.12 kB / 3.445 GB, free: 24.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/10.62, allocations: 7.469 kB / 3.445 GB, free: 24.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003207/10.62, allocations: 217.5 kB / 3.445 GB, free: 24.15 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.9e-07/10.62, allocations: 2.844 kB / 3.445 GB, free: 24.15 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00609/10.63, allocations: 1.151 MB / 3.446 GB, free: 23.96 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,massFlowRate1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01289/10.64, allocations: 3.295 MB / 3.449 GB, free: 22.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001546/10.64, allocations: 0.6087 MB / 3.45 GB, free: 21.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/10.64, allocations: 0 / 3.45 GB, free: 21.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000587/10.64, allocations: 374 kB / 3.45 GB, free: 21.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/10.65, allocations: 162.2 kB / 3.45 GB, free: 21.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005915/10.65, allocations: 1.414 MB / 3.452 GB, free: 20.55 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005295/10.65, allocations: 0.9353 MB / 3.453 GB, free: 19.68 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003994/10.65, allocations: 225.1 kB / 3.453 GB, free: 19.64 MB / 0.4948 GB Notification: Performance of SimCode: time 9.91e-07/10.65, allocations: 4 kB / 3.453 GB, free: 19.63 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.166/14.82, allocations: 33.4 MB / 3.486 GB, free: 76.79 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat does not exist to compare? outputFormat=mat