Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.656/1.656, allocations: 171.1 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003458, allocations: 12 kB / 233.4 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08531/0.08568, allocations: 38.77 MB / 272.1 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.083/2.169, allocations: 0.6963 GB / 0.9621 GB, free: 21.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004804/2.169, allocations: 83.2 kB / 0.9622 GB, free: 21.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.961/5.13, allocations: 0.5695 GB / 1.532 GB, free: 9.695 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.244e-06/5.13, allocations: 4.375 kB / 1.532 GB, free: 9.691 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.845e-05/5.13, allocations: 8 kB / 1.532 GB, free: 9.684 MB / 362.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.002223/5.132, allocations: 0.8379 MB / 1.532 GB, free: 8.797 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/5.132, allocations: 8.031 kB / 1.532 GB, free: 8.789 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002191/5.133, allocations: 78.53 kB / 1.533 GB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008341/5.133, allocations: 123.3 kB / 1.533 GB, free: 8.582 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000745/5.134, allocations: 369.3 kB / 1.533 GB, free: 8.176 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/5.134, allocations: 29 kB / 1.533 GB, free: 8.148 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.318e-05/5.134, allocations: 36 kB / 1.533 GB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/5.136, allocations: 0.542 MB / 1.534 GB, free: 7.555 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/5.136, allocations: 0 / 1.534 GB, free: 7.555 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.85e-05/5.136, allocations: 16 kB / 1.534 GB, free: 7.539 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/5.136, allocations: 12 kB / 1.534 GB, free: 7.527 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009026/5.137, allocations: 430.3 kB / 1.534 GB, free: 7.105 MB / 362.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.003863/5.141, allocations: 1.823 MB / 1.536 GB, free: 5.148 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/5.141, allocations: 159.6 kB / 1.536 GB, free: 4.984 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.174e-05/5.141, allocations: 0 / 1.536 GB, free: 4.984 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.034e-05/5.141, allocations: 46.56 kB / 1.536 GB, free: 4.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 2.064e-06/5.141, allocations: 0 / 1.536 GB, free: 4.93 MB / 362.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.009032/5.15, allocations: 1.658 MB / 1.538 GB, free: 3.117 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/5.15, allocations: 59.41 kB / 1.538 GB, free: 3.047 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006574/5.151, allocations: 428.8 kB / 1.538 GB, free: 2.617 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/5.151, allocations: 29.7 kB / 1.538 GB, free: 2.582 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/5.151, allocations: 322.3 kB / 1.538 GB, free: 2.262 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.9e-05/5.151, allocations: 82.89 kB / 1.539 GB, free: 2.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/5.151, allocations: 8 kB / 1.539 GB, free: 2.172 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.195e-05/5.151, allocations: 354.8 kB / 1.539 GB, free: 1.816 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/5.152, allocations: 137.2 kB / 1.539 GB, free: 1.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/5.152, allocations: 440.5 kB / 1.539 GB, free: 1.109 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004485/5.153, allocations: 223.8 kB / 1.54 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/5.153, allocations: 0 / 1.54 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001373/5.154, allocations: 0.6311 MB / 1.54 GB, free: 252 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/5.154, allocations: 19.94 kB / 1.54 GB, free: 232 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/5.154, allocations: 8.812 kB / 1.54 GB, free: 224 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002415/5.154, allocations: 61.7 kB / 1.54 GB, free: 156 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008154/5.155, allocations: 139.8 kB / 1.54 GB, free: 16 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2546/5.41, allocations: 1.836 MB / 1.542 GB, free: 49.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008112/5.411, allocations: 36.52 kB / 1.542 GB, free: 49.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-05/5.411, allocations: 38.94 kB / 1.542 GB, free: 49.93 MB / 362.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.0003712/5.411, allocations: 215 kB / 1.543 GB, free: 49.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/5.411, allocations: 44.22 kB / 1.543 GB, free: 49.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008435/5.412, allocations: 285.7 kB / 1.543 GB, free: 49.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/5.412, allocations: 7.516 kB / 1.543 GB, free: 49.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/5.412, allocations: 0.9062 kB / 1.543 GB, free: 49.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005998/5.413, allocations: 0.5253 MB / 1.543 GB, free: 49.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/5.414, allocations: 0.702 MB / 1.544 GB, free: 48.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/5.414, allocations: 1.344 kB / 1.544 GB, free: 48.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005143/5.415, allocations: 51.83 kB / 1.544 GB, free: 48.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001259/5.415, allocations: 20.97 kB / 1.544 GB, free: 48.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/5.415, allocations: 11.11 kB / 1.544 GB, free: 48.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009572/5.416, allocations: 1.287 MB / 1.545 GB, free: 47.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/5.416, allocations: 0.6094 kB / 1.545 GB, free: 47.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009682/5.417, allocations: 436 kB / 1.546 GB, free: 47.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/5.417, allocations: 120.1 kB / 1.546 GB, free: 47.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/5.417, allocations: 5.234 kB / 1.546 GB, free: 47.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005075/5.418, allocations: 13.53 kB / 1.546 GB, free: 47.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/5.418, allocations: 16.2 kB / 1.546 GB, free: 47.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-05/5.418, allocations: 14.98 kB / 1.546 GB, free: 47.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007653/5.419, allocations: 334.8 kB / 1.546 GB, free: 47.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.21e-07/5.419, allocations: 0 / 1.546 GB, free: 47.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002456/5.421, allocations: 289 kB / 1.547 GB, free: 47.39 MB / 362.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.00433/5.426, allocations: 1.948 MB / 1.548 GB, free: 46.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001204/5.427, allocations: 460.6 kB / 1.549 GB, free: 46.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/5.427, allocations: 0 / 1.549 GB, free: 46.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003676/5.427, allocations: 212.5 kB / 1.549 GB, free: 46.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/5.429, allocations: 216.3 kB / 1.549 GB, free: 46.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006855/5.436, allocations: 9.705 MB / 1.559 GB, free: 38.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/5.437, allocations: 0.8304 MB / 1.56 GB, free: 53.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009292/5.438, allocations: 142.6 kB / 1.56 GB, free: 53.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/5.439, allocations: 148 kB / 1.56 GB, free: 53.64 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/5.439, allocations: 2.078 kB / 1.56 GB, free: 53.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07583/5.514, allocations: 29.3 MB / 1.589 GB, free: 53.02 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002503/5.515, allocations: 249 kB / 1.589 GB, free: 52.69 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.038/9.553, allocations: 0 / 1.589 GB, free: 52.69 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat