Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.044/2.044, allocations: 194.8 MB / 211.1 MB, free: 7.598 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005195/0.0005201, allocations: 8 kB / 264.1 MB, free: 2.512 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3054, allocations: 44.51 MB / 308.6 MB, free: 12.55 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.89/2.196, allocations: 0.6415 GB / 0.9429 GB, free: 81.72 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/2.196, allocations: 76.64 kB / 0.9429 GB, free: 81.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5527/2.749, allocations: 117.2 MB / 1.057 GB, free: 133.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.605e-06/2.749, allocations: 0 / 1.057 GB, free: 133.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/2.749, allocations: 0 / 1.057 GB, free: 133.1 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001532/2.75, allocations: 0.574 MB / 1.058 GB, free: 132.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/2.75, allocations: 11.66 kB / 1.058 GB, free: 132.6 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/2.75, allocations: 36.23 kB / 1.058 GB, free: 132.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/2.751, allocations: 11.22 kB / 1.058 GB, free: 132.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/2.751, allocations: 186 kB / 1.058 GB, free: 132.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/2.751, allocations: 3.625 kB / 1.058 GB, free: 132.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/2.751, allocations: 3.906 kB / 1.058 GB, free: 132.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/2.751, allocations: 69.66 kB / 1.058 GB, free: 132.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/2.751, allocations: 0 / 1.058 GB, free: 132.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/2.751, allocations: 3.938 kB / 1.058 GB, free: 132.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/2.751, allocations: 0 / 1.058 GB, free: 132.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002497/2.751, allocations: 31.17 kB / 1.058 GB, free: 132.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/2.752, allocations: 176.3 kB / 1.058 GB, free: 132.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/2.752, allocations: 87.3 kB / 1.058 GB, free: 132.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1407/2.893, allocations: 35.4 MB / 1.093 GB, free: 102.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/2.893, allocations: 41.94 kB / 1.093 GB, free: 102.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 3.105e-06/2.893, allocations: 0 / 1.093 GB, free: 102.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005944/2.894, allocations: 89.39 kB / 1.093 GB, free: 102 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/2.894, allocations: 85.11 kB / 1.093 GB, free: 101.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/2.894, allocations: 104.1 kB / 1.093 GB, free: 101.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/2.894, allocations: 29.7 kB / 1.093 GB, free: 101.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.952e-05/2.894, allocations: 84.14 kB / 1.093 GB, free: 101.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/2.894, allocations: 31.16 kB / 1.094 GB, free: 101.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/2.894, allocations: 0 / 1.094 GB, free: 101.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.179e-05/2.894, allocations: 310.8 kB / 1.094 GB, free: 101.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/2.894, allocations: 15.28 kB / 1.094 GB, free: 101.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/2.894, allocations: 32.05 kB / 1.094 GB, free: 101.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/2.894, allocations: 18.14 kB / 1.094 GB, free: 101.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/2.894, allocations: 0 / 1.094 GB, free: 101.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003407/2.895, allocations: 75.11 kB / 1.094 GB, free: 101.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/2.895, allocations: 4 kB / 1.094 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/2.895, allocations: 4 kB / 1.094 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/2.895, allocations: 0 / 1.094 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/2.895, allocations: 22.73 kB / 1.094 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/2.895, allocations: 4 kB / 1.094 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.77e-05/2.895, allocations: 0 / 1.094 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/2.895, allocations: 4 kB / 1.094 GB, free: 101.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.274e-05/2.895, allocations: 113.5 kB / 1.094 GB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/2.895, allocations: 11.86 kB / 1.094 GB, free: 101 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/2.896, allocations: 115.3 kB / 1.094 GB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/2.896, allocations: 4 kB / 1.094 GB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/2.896, allocations: 3.938 kB / 1.094 GB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/2.896, allocations: 0 / 1.094 GB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/2.896, allocations: 168 kB / 1.094 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/2.896, allocations: 0 / 1.094 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/2.896, allocations: 19.66 kB / 1.094 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/2.896, allocations: 7.953 kB / 1.094 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/2.896, allocations: 0 / 1.094 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/2.896, allocations: 7.25 kB / 1.094 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/2.896, allocations: 0 / 1.094 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/2.897, allocations: 118.6 kB / 1.095 GB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.601e-05/2.897, allocations: 100.8 kB / 1.095 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/2.897, allocations: 4 kB / 1.095 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/2.897, allocations: 7.141 kB / 1.095 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/2.897, allocations: 7.797 kB / 1.095 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/2.897, allocations: 0 / 1.095 GB, free: 100.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.188e-05/2.897, allocations: 95.08 kB / 1.095 GB, free: 100.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/2.897, allocations: 0 / 1.095 GB, free: 100.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001486/2.899, allocations: 335.1 kB / 1.095 GB, free: 100 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003866/2.903, allocations: 1.344 MB / 1.096 GB, free: 98.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004231/2.903, allocations: 35.88 kB / 1.096 GB, free: 98.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/2.903, allocations: 4 kB / 1.096 GB, free: 98.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/2.903, allocations: 27.81 kB / 1.096 GB, free: 98.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/2.903, allocations: 8 kB / 1.096 GB, free: 98.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/2.906, allocations: 0.8213 MB / 1.097 GB, free: 97.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/2.906, allocations: 0.6888 MB / 1.098 GB, free: 97.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001939/2.906, allocations: 51.28 kB / 1.098 GB, free: 97.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.515e-05/2.906, allocations: 27.42 kB / 1.098 GB, free: 97.05 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/2.906, allocations: 0 / 1.098 GB, free: 97.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03972/2.946, allocations: 10.81 MB / 1.109 GB, free: 86.27 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002835/2.946, allocations: 175.6 kB / 1.109 GB, free: 86.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.397/6.344, allocations: 4 kB / 1.109 GB, free: 86.03 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat