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.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_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.873/1.873, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000514/0.0005141, allocations: 12 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.102, allocations: 44.5 MB / 308.5 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.859/1.962, allocations: 0.6415 GB / 0.9428 GB, free: 47.13 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/1.962, allocations: 80.52 kB / 0.9429 GB, free: 47.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5369/2.499, allocations: 117.2 MB / 1.057 GB, free: 107.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.366e-06/2.499, allocations: 4 kB / 1.057 GB, free: 107.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.806e-06/2.499, allocations: 0 / 1.057 GB, free: 107.3 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.001502/2.5, allocations: 0.5758 MB / 1.058 GB, free: 106.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/2.5, allocations: 8.031 kB / 1.058 GB, free: 106.6 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/2.5, allocations: 42.36 kB / 1.058 GB, free: 106.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/2.501, allocations: 11.78 kB / 1.058 GB, free: 106.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/2.501, allocations: 182.6 kB / 1.058 GB, free: 106.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/2.501, allocations: 4 kB / 1.058 GB, free: 106.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/2.501, allocations: 4 kB / 1.058 GB, free: 106.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/2.501, allocations: 74.33 kB / 1.058 GB, free: 106.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/2.501, allocations: 0 / 1.058 GB, free: 106.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/2.501, allocations: 0 / 1.058 GB, free: 106.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/2.501, allocations: 0 / 1.058 GB, free: 106.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/2.501, allocations: 27.55 kB / 1.058 GB, free: 106.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001924/2.502, allocations: 188.9 kB / 1.058 GB, free: 106 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003844/2.502, allocations: 75.89 kB / 1.058 GB, free: 106 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1294/2.631, allocations: 35.41 MB / 1.093 GB, free: 67.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/2.631, allocations: 42.55 kB / 1.093 GB, free: 67.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 6.021e-06/2.632, allocations: 3.984 kB / 1.093 GB, free: 67.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007272/2.632, allocations: 85.5 kB / 1.093 GB, free: 67.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/2.632, allocations: 81.11 kB / 1.093 GB, free: 67.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.278e-05/2.632, allocations: 105 kB / 1.093 GB, free: 67.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/2.632, allocations: 33.7 kB / 1.093 GB, free: 66.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.56e-05/2.632, allocations: 154.6 kB / 1.094 GB, free: 66.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/2.633, allocations: 31.58 kB / 1.094 GB, free: 66.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/2.633, allocations: 0 / 1.094 GB, free: 66.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.907e-05/2.633, allocations: 310.8 kB / 1.094 GB, free: 66.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/2.633, allocations: 11.98 kB / 1.094 GB, free: 66.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/2.633, allocations: 29.7 kB / 1.094 GB, free: 66.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/2.633, allocations: 15.98 kB / 1.094 GB, free: 66.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/2.633, allocations: 0 / 1.094 GB, free: 66.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000307/2.633, allocations: 81.55 kB / 1.094 GB, free: 66.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/2.633, allocations: 4 kB / 1.094 GB, free: 66.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/2.633, allocations: 2.25 kB / 1.094 GB, free: 66.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/2.633, allocations: 4 kB / 1.094 GB, free: 66.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/2.634, allocations: 15.92 kB / 1.094 GB, free: 66.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/2.634, allocations: 4 kB / 1.094 GB, free: 66.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.069e-05/2.634, allocations: 4 kB / 1.094 GB, free: 66.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/2.634, allocations: 0 / 1.094 GB, free: 66.3 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 7.522e-05/2.634, allocations: 117.8 kB / 1.094 GB, free: 66.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/2.634, allocations: 11.86 kB / 1.094 GB, free: 66.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004475/2.634, allocations: 113.4 kB / 1.094 GB, free: 66.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/2.634, allocations: 0 / 1.094 GB, free: 66.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/2.634, allocations: 0 / 1.094 GB, free: 66.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/2.634, allocations: 4 kB / 1.094 GB, free: 66.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/2.634, allocations: 161.7 kB / 1.094 GB, free: 65.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/2.634, allocations: 0 / 1.094 GB, free: 65.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/2.635, allocations: 11.98 kB / 1.094 GB, free: 65.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/2.635, allocations: 7.953 kB / 1.094 GB, free: 65.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/2.635, allocations: 0 / 1.094 GB, free: 65.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/2.635, allocations: 6.125 kB / 1.094 GB, free: 65.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/2.635, allocations: 0 / 1.094 GB, free: 65.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/2.635, allocations: 120.1 kB / 1.095 GB, free: 65.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.588e-05/2.635, allocations: 96.97 kB / 1.095 GB, free: 65.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/2.635, allocations: 4 kB / 1.095 GB, free: 65.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/2.635, allocations: 8 kB / 1.095 GB, free: 65.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/2.635, allocations: 11.97 kB / 1.095 GB, free: 65.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/2.635, allocations: 7.938 kB / 1.095 GB, free: 65.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.401e-05/2.635, allocations: 91.27 kB / 1.095 GB, free: 65.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.8e-07/2.635, allocations: 0 / 1.095 GB, free: 65.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001563/2.637, allocations: 331.6 kB / 1.095 GB, free: 65.11 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.003314/2.64, allocations: 1.353 MB / 1.096 GB, free: 63.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003877/2.641, allocations: 39.95 kB / 1.096 GB, free: 63.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/2.641, allocations: 4 kB / 1.096 GB, free: 63.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/2.641, allocations: 27.92 kB / 1.096 GB, free: 63.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/2.641, allocations: 4 kB / 1.096 GB, free: 63.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/2.643, allocations: 0.8446 MB / 1.097 GB, free: 62.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/2.644, allocations: 0.6888 MB / 1.098 GB, free: 62.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/2.644, allocations: 27.42 kB / 1.098 GB, free: 62 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/2.644, allocations: 0 / 1.098 GB, free: 62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.73/5.374, allocations: 7.029 MB / 1.105 GB, free: 54.96 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat