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/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.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.479/2.479, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006957/0.0006956, allocations: 8 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3682, allocations: 54.86 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.949/8.317, allocations: 2.596 GB / 2.956 GB, free: 104.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/8.318, allocations: 93.59 kB / 2.956 GB, free: 104.5 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 .... Notification: Performance of FrontEnd - DAE generated: time 2.164/10.48, allocations: 411 MB / 3.358 GB, free: 59.24 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.904e-06/10.48, allocations: 0 / 3.358 GB, free: 59.24 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.903e-05/10.48, allocations: 10.34 kB / 3.358 GB, free: 59.24 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.007183/10.49, allocations: 1.566 MB / 3.359 GB, free: 58.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/10.49, allocations: 10.25 kB / 3.359 GB, free: 58.29 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002162/10.49, allocations: 87.81 kB / 3.359 GB, free: 58.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002678/10.49, allocations: 239.2 kB / 3.36 GB, free: 58.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/10.49, allocations: 453.9 kB / 3.36 GB, free: 57.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.416e-05/10.49, allocations: 30.34 kB / 3.36 GB, free: 57.85 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.072e-05/10.49, allocations: 39.88 kB / 3.36 GB, free: 57.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002461/10.5, allocations: 0.6788 MB / 3.361 GB, free: 57.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/10.5, allocations: 3.594 kB / 3.361 GB, free: 57.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.841e-05/10.5, allocations: 15.78 kB / 3.361 GB, free: 57.49 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/10.5, allocations: 11.34 kB / 3.361 GB, free: 57.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002596/10.5, allocations: 0.5867 MB / 3.361 GB, free: 57.34 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.00454/10.5, allocations: 3.139 MB / 3.365 GB, free: 54.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/10.51, allocations: 391.5 kB / 3.365 GB, free: 54.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2917/10.8, allocations: 80.62 MB / 3.444 GB, free: 1.723 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.884e-05/10.8, allocations: 39.03 kB / 3.444 GB, free: 1.676 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=27): time 3.226e-06/10.8, allocations: 7.875 kB / 3.444 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.004367/10.8, allocations: 0.7917 MB / 3.444 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.668e-05/10.8, allocations: 106.8 kB / 3.445 GB, free: 0.7188 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005621/10.8, allocations: 312.6 kB / 3.445 GB, free: 420 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.159e-05/10.8, allocations: 29.7 kB / 3.445 GB, free: 384 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/10.8, allocations: 309.7 kB / 3.445 GB, free: 72 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.4856/11.29, allocations: 90.91 kB / 3.445 GB, free: 80.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/11.29, allocations: 9.062 kB / 3.445 GB, free: 80.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001055/11.29, allocations: 331.4 kB / 3.446 GB, free: 80.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006707/11.29, allocations: 122.7 kB / 3.446 GB, free: 80.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007297/11.29, allocations: 318.1 kB / 3.446 GB, free: 80.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007554/11.29, allocations: 168 kB / 3.446 GB, free: 80.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/11.29, allocations: 1.875 kB / 3.446 GB, free: 80.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001908/11.29, allocations: 498.9 kB / 3.447 GB, free: 80.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005813/11.29, allocations: 2.439 MB / 3.449 GB, free: 77.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/11.29, allocations: 7.078 kB / 3.449 GB, free: 77.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003162/11.3, allocations: 200.7 kB / 3.449 GB, free: 77.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007768/11.3, allocations: 110.8 kB / 3.449 GB, free: 77.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006189/11.3, allocations: 0.5751 MB / 3.45 GB, free: 76.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007735/11.3, allocations: 74.7 kB / 3.45 GB, free: 76.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.512e-05/11.3, allocations: 27.23 kB / 3.45 GB, free: 76.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/11.3, allocations: 4.094 kB / 3.45 GB, free: 76.98 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001602/11.3, allocations: 422 kB / 3.45 GB, free: 76.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/11.3, allocations: 6.281 kB / 3.45 GB, free: 76.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/11.3, allocations: 10.58 kB / 3.45 GB, free: 76.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007724/11.3, allocations: 122.7 kB / 3.451 GB, free: 76.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-05/11.3, allocations: 12.25 kB / 3.451 GB, free: 76.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005322/11.3, allocations: 57.48 kB / 3.451 GB, free: 76.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.809e-05/11.3, allocations: 24.02 kB / 3.451 GB, free: 76.98 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 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Number of clocked 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.0004377/11.3, allocations: 254.1 kB / 3.451 GB, free: 76.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/11.3, allocations: 38.44 kB / 3.451 GB, free: 76.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003674/11.31, allocations: 1.849 MB / 3.453 GB, free: 76.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.291e-05/11.31, allocations: 25.75 kB / 3.453 GB, free: 76.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/11.31, allocations: 1.312 kB / 3.453 GB, free: 76.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/11.31, allocations: 3.844 kB / 3.453 GB, free: 76.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/11.31, allocations: 0.931 MB / 3.454 GB, free: 76.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/11.31, allocations: 1.219 kB / 3.454 GB, free: 76.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005545/11.31, allocations: 61.95 kB / 3.454 GB, free: 76.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002115/11.31, allocations: 0.594 MB / 3.454 GB, free: 76.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.531e-05/11.31, allocations: 6 kB / 3.454 GB, free: 76.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009499/11.31, allocations: 0.9948 MB / 3.455 GB, free: 75.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/11.31, allocations: 3.469 kB / 3.455 GB, free: 75.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002153/11.31, allocations: 1.244 MB / 3.456 GB, free: 75.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004727/11.31, allocations: 240.4 kB / 3.457 GB, free: 75.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/11.31, allocations: 10.28 kB / 3.457 GB, free: 75.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004809/11.32, allocations: 31.59 kB / 3.457 GB, free: 75.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/11.32, allocations: 26.91 kB / 3.457 GB, free: 75.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/11.32, allocations: 11.78 kB / 3.457 GB, free: 75.43 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005229/11.32, allocations: 297.7 kB / 3.457 GB, free: 75.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.232e-06/11.32, allocations: 1.125 kB / 3.457 GB, free: 75.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00612/11.32, allocations: 1.197 MB / 3.458 GB, free: 75.33 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01271/11.33, allocations: 3.148 MB / 3.461 GB, free: 74.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002588/11.34, allocations: 0.7673 MB / 3.462 GB, free: 74.53 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/11.34, allocations: 0 / 3.462 GB, free: 74.53 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/11.34, allocations: 465.4 kB / 3.462 GB, free: 74.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/11.34, allocations: 188 kB / 3.463 GB, free: 74.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4564/11.8, allocations: 158.7 MB / 3.618 GB, free: 18.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/11.8, allocations: 0.9878 MB / 3.619 GB, free: 17.63 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004945/11.8, allocations: 267.2 kB / 3.619 GB, free: 17.39 MB / 0.4948 GB Notification: Performance of SimCode: time 1.543e-06/11.8, allocations: 0 / 3.619 GB, free: 17.39 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.192/15.99, allocations: 33.76 MB / 3.652 GB, free: 70.98 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