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.Air.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.Air,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.678/1.678, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.000379, allocations: 16 kB / 233.4 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08944/0.08985, allocations: 38.77 MB / 272.1 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.717/1.806, allocations: 0.5804 GB / 0.8462 GB, free: 7.344 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/1.807, allocations: 92.62 kB / 0.8463 GB, free: 7.289 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7393/2.546, allocations: 153.7 MB / 0.9964 GB, free: 7.266 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.385e-06/2.546, allocations: 3.938 kB / 0.9964 GB, free: 7.262 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.228e-05/2.546, allocations: 4 kB / 0.9964 GB, free: 7.258 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001249/2.547, allocations: 0.6206 MB / 0.997 GB, free: 6.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/2.547, allocations: 12.03 kB / 0.997 GB, free: 6.578 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/2.548, allocations: 62.53 kB / 0.997 GB, free: 6.508 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003523/2.548, allocations: 43.61 kB / 0.9971 GB, free: 6.465 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004389/2.548, allocations: 282.9 kB / 0.9974 GB, free: 6.148 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/2.548, allocations: 20.56 kB / 0.9974 GB, free: 6.129 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.336e-05/2.549, allocations: 27.94 kB / 0.9974 GB, free: 6.102 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006601/2.549, allocations: 311.7 kB / 0.9977 GB, free: 5.766 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/2.549, allocations: 11.84 kB / 0.9977 GB, free: 5.754 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.381e-05/2.549, allocations: 12 kB / 0.9977 GB, free: 5.742 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/2.549, allocations: 4 kB / 0.9977 GB, free: 5.738 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004475/2.55, allocations: 205.6 kB / 0.9979 GB, free: 5.539 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.002203/2.552, allocations: 1.574 MB / 0.9995 GB, free: 3.809 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000379/2.552, allocations: 171 kB / 0.9996 GB, free: 3.633 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.046e-05/2.552, allocations: 4.188 kB / 0.9996 GB, free: 3.629 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/2.553, allocations: 38.75 kB / 0.9997 GB, free: 3.582 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.996e-06/2.553, allocations: 0 / 0.9997 GB, free: 3.582 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=27): time 0.008907/2.561, allocations: 1.618 MB / 1.001 GB, free: 1.836 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/2.562, allocations: 59.39 kB / 1.001 GB, free: 1.766 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/2.562, allocations: 232.1 kB / 1.002 GB, free: 1.531 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/2.562, allocations: 29.7 kB / 1.002 GB, free: 1.496 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.718e-05/2.562, allocations: 176.2 kB / 1.002 GB, free: 1.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.297e-05/2.562, allocations: 98.62 kB / 1.002 GB, free: 1.223 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/2.562, allocations: 8 kB / 1.002 GB, free: 1.215 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.891e-05/2.562, allocations: 338.8 kB / 1.002 GB, free: 0.875 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/2.562, allocations: 87.75 kB / 1.002 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/2.563, allocations: 191.8 kB / 1.002 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/2.563, allocations: 127.9 kB / 1.003 GB, free: 444 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/2.563, allocations: 0 / 1.003 GB, free: 444 kB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009399/2.564, allocations: 390.6 kB / 1.003 GB, free: 40 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/2.564, allocations: 4 kB / 1.003 GB, free: 36 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/2.564, allocations: 4 kB / 1.003 GB, free: 32 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2614/2.826, allocations: 70.44 kB / 1.003 GB, free: 73.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009633/2.827, allocations: 87.31 kB / 1.003 GB, free: 73.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/2.829, allocations: 1.851 MB / 1.005 GB, free: 72.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007135/2.83, allocations: 24.88 kB / 1.005 GB, free: 72.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/2.83, allocations: 44.75 kB / 1.005 GB, free: 72.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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.0003435/2.83, allocations: 155.7 kB / 1.005 GB, free: 72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/2.83, allocations: 28.23 kB / 1.005 GB, free: 72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/2.833, allocations: 431.4 kB / 1.006 GB, free: 71.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/2.833, allocations: 7.031 kB / 1.006 GB, free: 71.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/2.833, allocations: 1.375 kB / 1.006 GB, free: 71.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001023/2.834, allocations: 0.5658 MB / 1.006 GB, free: 71.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/2.836, allocations: 0.7185 MB / 1.007 GB, free: 71.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/2.836, allocations: 3.875 kB / 1.007 GB, free: 71.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008013/2.837, allocations: 74.19 kB / 1.007 GB, free: 71.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001598/2.837, allocations: 23.58 kB / 1.007 GB, free: 71.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.565e-05/2.837, allocations: 10.56 kB / 1.007 GB, free: 71.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/2.838, allocations: 1.286 MB / 1.008 GB, free: 69.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/2.838, allocations: 8.281 kB / 1.008 GB, free: 69.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/2.84, allocations: 498.5 kB / 1.009 GB, free: 69.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/2.84, allocations: 107.3 kB / 1.009 GB, free: 69.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/2.841, allocations: 5.438 kB / 1.009 GB, free: 69.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007577/2.841, allocations: 22.2 kB / 1.009 GB, free: 69.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/2.842, allocations: 25.84 kB / 1.009 GB, free: 69.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/2.842, allocations: 31.52 kB / 1.009 GB, free: 69.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004384/2.842, allocations: 186.7 kB / 1.009 GB, free: 69.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.32e-07/2.842, allocations: 2.156 kB / 1.009 GB, free: 69.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001658/2.844, allocations: 189.7 kB / 1.009 GB, free: 69.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.004328/2.848, allocations: 1.845 MB / 1.011 GB, free: 68.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001561/2.85, allocations: 381.5 kB / 1.011 GB, free: 68.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/2.85, allocations: 0 / 1.011 GB, free: 68.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006714/2.851, allocations: 234.9 kB / 1.012 GB, free: 68.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/2.853, allocations: 161.1 kB / 1.012 GB, free: 68.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004608/2.858, allocations: 3.829 MB / 1.015 GB, free: 65.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/2.858, allocations: 0.7774 MB / 1.016 GB, free: 64.97 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001016/2.859, allocations: 112.1 kB / 1.016 GB, free: 64.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004559/2.86, allocations: 128 kB / 1.016 GB, free: 64.96 MB / 362.7 MB Notification: Performance of SimCode: time 1.153e-06/2.86, allocations: 0 / 1.016 GB, free: 64.96 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06812/2.928, allocations: 23.09 MB / 1.039 GB, free: 64.39 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003088/2.928, allocations: 227.3 kB / 1.039 GB, free: 64.15 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.488/6.416, allocations: 3.719 kB / 1.039 GB, free: 64.15 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat