Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.032/2.032, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 8 kB / 264 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09912/0.09951, allocations: 44.5 MB / 308.5 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.257/2.356, allocations: 0.7085 GB / 1.01 GB, free: 108.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/2.357, allocations: 88.91 kB / 1.01 GB, free: 108.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885/5.242, allocations: 0.5736 GB / 1.583 GB, free: 26.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.424e-06/5.242, allocations: 0 / 1.583 GB, free: 26.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.307e-05/5.242, allocations: 8 kB / 1.583 GB, free: 26.06 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.00234/5.245, allocations: 0.839 MB / 1.584 GB, free: 25.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/5.245, allocations: 8.031 kB / 1.584 GB, free: 25.17 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00022/5.245, allocations: 78.53 kB / 1.584 GB, free: 25.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008349/5.246, allocations: 123.3 kB / 1.585 GB, free: 24.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007654/5.246, allocations: 373.7 kB / 1.585 GB, free: 24.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/5.247, allocations: 25 kB / 1.585 GB, free: 24.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.7e-05/5.247, allocations: 36 kB / 1.585 GB, free: 24.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/5.248, allocations: 0.5459 MB / 1.585 GB, free: 23.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/5.248, allocations: 0 / 1.585 GB, free: 23.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/5.248, allocations: 20 kB / 1.585 GB, free: 23.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/5.248, allocations: 8 kB / 1.585 GB, free: 23.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009092/5.249, allocations: 422.3 kB / 1.586 GB, free: 23.49 MB / 410.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.004213/5.253, allocations: 2.032 MB / 1.588 GB, free: 21.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/5.254, allocations: 154.6 kB / 1.588 GB, free: 21.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.21e-05/5.254, allocations: 8 kB / 1.588 GB, free: 21.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/5.254, allocations: 34.52 kB / 1.588 GB, free: 21.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 2.785e-06/5.254, allocations: 0 / 1.588 GB, free: 21.07 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.00926/5.263, allocations: 1.679 MB / 1.59 GB, free: 19.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/5.263, allocations: 51.41 kB / 1.59 GB, free: 19.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006762/5.264, allocations: 424.8 kB / 1.59 GB, free: 18.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.403e-05/5.264, allocations: 37.64 kB / 1.59 GB, free: 18.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/5.264, allocations: 368.8 kB / 1.591 GB, free: 18.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.111e-05/5.264, allocations: 90.73 kB / 1.591 GB, free: 18.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/5.264, allocations: 16 kB / 1.591 GB, free: 18.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.897e-05/5.264, allocations: 330.8 kB / 1.591 GB, free: 17.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/5.265, allocations: 133.2 kB / 1.591 GB, free: 17.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004465/5.265, allocations: 428.5 kB / 1.591 GB, free: 17.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/5.266, allocations: 229.3 kB / 1.592 GB, free: 16.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/5.266, allocations: 4 kB / 1.592 GB, free: 16.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001352/5.267, allocations: 0.6161 MB / 1.592 GB, free: 16.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/5.267, allocations: 8 kB / 1.592 GB, free: 16.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/5.267, allocations: 12 kB / 1.592 GB, free: 16.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002452/5.267, allocations: 53.7 kB / 1.592 GB, free: 16.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008387/5.268, allocations: 143.7 kB / 1.593 GB, free: 16.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/5.27, allocations: 1.852 MB / 1.594 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008361/5.271, allocations: 31.89 kB / 1.594 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.609e-05/5.271, allocations: 40 kB / 1.594 GB, free: 14.06 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003571/5.271, allocations: 209.5 kB / 1.595 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/5.271, allocations: 51.62 kB / 1.595 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007972/5.272, allocations: 287 kB / 1.595 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/5.272, allocations: 3.953 kB / 1.595 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/5.272, allocations: 4 kB / 1.595 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005457/5.273, allocations: 0.5277 MB / 1.595 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/5.274, allocations: 0.6944 MB / 1.596 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/5.274, allocations: 3.938 kB / 1.596 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/5.275, allocations: 63.89 kB / 1.596 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001209/5.275, allocations: 28.83 kB / 1.596 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/5.275, allocations: 4 kB / 1.596 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000885/5.276, allocations: 1.288 MB / 1.597 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/5.276, allocations: 0 / 1.597 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000873/5.277, allocations: 424.2 kB / 1.598 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/5.277, allocations: 116.7 kB / 1.598 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/5.277, allocations: 4 kB / 1.598 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005004/5.277, allocations: 24.14 kB / 1.598 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/5.277, allocations: 11.98 kB / 1.598 GB, free: 9.992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-05/5.278, allocations: 19.98 kB / 1.598 GB, free: 9.973 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00052/5.278, allocations: 327 kB / 1.598 GB, free: 9.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.3e-07/5.278, allocations: 0 / 1.598 GB, free: 9.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001647/5.28, allocations: 291.8 kB / 1.599 GB, free: 9.375 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004177/5.284, allocations: 1.967 MB / 1.601 GB, free: 7.379 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001178/5.285, allocations: 464.5 kB / 1.601 GB, free: 6.914 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/5.285, allocations: 4 kB / 1.601 GB, free: 6.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003316/5.286, allocations: 202.9 kB / 1.601 GB, free: 6.699 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/5.287, allocations: 213.2 kB / 1.601 GB, free: 6.488 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3151/5.603, allocations: 9.742 MB / 1.611 GB, free: 63.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/5.603, allocations: 0.832 MB / 1.612 GB, free: 62.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000442/5.603, allocations: 155.3 kB / 1.612 GB, free: 62.96 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/5.603, allocations: 2.672 kB / 1.612 GB, free: 62.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.478/9.082, allocations: 18.69 MB / 1.63 GB, free: 62.63 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat