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.SimpleNaturalGas.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.SimpleNaturalGas,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.664/1.664, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003771, allocations: 12 kB / 233.4 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08349/0.08392, allocations: 38.77 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.09/2.174, allocations: 0.6955 GB / 0.9613 GB, free: 23.15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003524/2.175, allocations: 91.38 kB / 0.9613 GB, free: 23.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.851/5.025, allocations: 0.5514 GB / 1.513 GB, free: 28.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.765e-06/5.025, allocations: 0 / 1.513 GB, free: 28.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.87e-05/5.026, allocations: 19.98 kB / 1.513 GB, free: 28.65 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003268/5.029, allocations: 1.01 MB / 1.514 GB, free: 27.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/5.029, allocations: 8.031 kB / 1.514 GB, free: 27.59 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004174/5.029, allocations: 118.5 kB / 1.514 GB, free: 27.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000977/5.03, allocations: 151.1 kB / 1.514 GB, free: 27.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/5.032, allocations: 477.4 kB / 1.514 GB, free: 26.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.983e-05/5.032, allocations: 54 kB / 1.514 GB, free: 26.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003245/5.032, allocations: 75.91 kB / 1.515 GB, free: 26.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003265/5.035, allocations: 0.9208 MB / 1.515 GB, free: 25.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.23e-05/5.036, allocations: 4 kB / 1.515 GB, free: 25.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/5.036, allocations: 36 kB / 1.515 GB, free: 25.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/5.036, allocations: 16 kB / 1.516 GB, free: 25.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/5.038, allocations: 0.8472 MB / 1.516 GB, free: 24.85 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.007689/5.045, allocations: 3.042 MB / 1.519 GB, free: 21.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/5.047, allocations: 0.6351 MB / 1.52 GB, free: 20.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.909e-05/5.047, allocations: 20.53 kB / 1.52 GB, free: 20.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/5.047, allocations: 51.06 kB / 1.52 GB, free: 20.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 3.526e-06/5.047, allocations: 0 / 1.52 GB, free: 20.89 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.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.02453/5.072, allocations: 6.114 MB / 1.526 GB, free: 14.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/5.072, allocations: 60.06 kB / 1.526 GB, free: 14.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008834/5.073, allocations: 0.4932 MB / 1.527 GB, free: 13.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002252/5.073, allocations: 41.7 kB / 1.527 GB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/5.073, allocations: 284.5 kB / 1.527 GB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002379/5.073, allocations: 248.4 kB / 1.527 GB, free: 13.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.118e-05/5.073, allocations: 15.94 kB / 1.527 GB, free: 13.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/5.073, allocations: 370.8 kB / 1.527 GB, free: 12.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009507/5.074, allocations: 445.7 kB / 1.528 GB, free: 12.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009801/5.075, allocations: 0.5037 MB / 1.528 GB, free: 11.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/5.077, allocations: 0.5027 MB / 1.529 GB, free: 11.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/5.077, allocations: 0 / 1.529 GB, free: 11.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003007/5.08, allocations: 1.339 MB / 1.53 GB, free: 10.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/5.08, allocations: 4 kB / 1.53 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/5.08, allocations: 4 kB / 1.53 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009038/5.081, allocations: 334.6 kB / 1.53 GB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/5.082, allocations: 171.8 kB / 1.531 GB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2708/5.353, allocations: 10.27 MB / 1.541 GB, free: 47.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/5.355, allocations: 83.86 kB / 1.541 GB, free: 47.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/5.355, allocations: 47.28 kB / 1.541 GB, free: 47.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (80): * Single equations (assignments): 72 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007165/5.356, allocations: 277.3 kB / 1.541 GB, free: 46.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002694/5.356, allocations: 62.94 kB / 1.541 GB, free: 46.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003629/5.36, allocations: 1.275 MB / 1.542 GB, free: 46.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/5.36, allocations: 11.41 kB / 1.542 GB, free: 46.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/5.36, allocations: 4.312 kB / 1.542 GB, free: 46.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002972/5.363, allocations: 1.598 MB / 1.544 GB, free: 46.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005613/5.368, allocations: 2.263 MB / 1.546 GB, free: 45.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/5.368, allocations: 0 / 1.546 GB, free: 45.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002261/5.371, allocations: 229.2 kB / 1.546 GB, free: 45.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000324/5.371, allocations: 75.34 kB / 1.546 GB, free: 45.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001657/5.371, allocations: 33.62 kB / 1.546 GB, free: 45.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001439/5.373, allocations: 1.443 MB / 1.548 GB, free: 44.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/5.373, allocations: 0 / 1.548 GB, free: 44.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003854/5.377, allocations: 1.625 MB / 1.549 GB, free: 44.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003788/5.377, allocations: 149.2 kB / 1.55 GB, free: 44.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/5.377, allocations: 33.12 kB / 1.55 GB, free: 44.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/5.379, allocations: 74.44 kB / 1.55 GB, free: 44.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/5.379, allocations: 56.41 kB / 1.55 GB, free: 44.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001863/5.379, allocations: 63.84 kB / 1.55 GB, free: 44.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007623/5.38, allocations: 404.4 kB / 1.55 GB, free: 44.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.6e-07/5.38, allocations: 0 / 1.55 GB, free: 44.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002276/5.382, allocations: 416.1 kB / 1.551 GB, free: 44.03 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (77): * Single equations (assignments): 76 * 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.007871/5.39, allocations: 3.482 MB / 1.554 GB, free: 42.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004137/5.394, allocations: 1.863 MB / 1.556 GB, free: 42.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/5.394, allocations: 3.219 kB / 1.556 GB, free: 42.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001766/5.396, allocations: 0.685 MB / 1.556 GB, free: 42.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004643/5.401, allocations: 494.3 kB / 1.557 GB, free: 42.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/5.415, allocations: 6.829 MB / 1.564 GB, free: 40.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/5.417, allocations: 0.9861 MB / 1.565 GB, free: 55.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001811/5.419, allocations: 272.8 kB / 1.565 GB, free: 55.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007611/5.419, allocations: 278.2 kB / 1.565 GB, free: 55.31 MB / 378.7 MB Notification: Performance of SimCode: time 1.503e-06/5.419, allocations: 0 / 1.565 GB, free: 55.31 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1292/5.549, allocations: 44.34 MB / 1.608 GB, free: 53.9 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/5.549, allocations: 230.7 kB / 1.609 GB, free: 53.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.724/10.27, allocations: 3.781 kB / 1.609 GB, free: 53.66 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.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat