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_TX.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_TX,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.024/2.024, allocations: 194.9 MB / 211.1 MB, free: 7.602 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004867/0.0004864, allocations: 8 kB / 264.1 MB, free: 2.52 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3301, allocations: 44.5 MB / 308.6 MB, free: 12.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.36/19.7, allocations: 6.544 GB / 6.845 GB, free: 96.62 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/19.7, allocations: 77.27 kB / 6.845 GB, free: 96.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9601/20.66, allocations: 179.5 MB / 7.02 GB, free: 76.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.665e-06/20.66, allocations: 4 kB / 7.02 GB, free: 76.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/20.66, allocations: 0 / 7.02 GB, free: 76.69 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.00525/20.66, allocations: 1.106 MB / 7.021 GB, free: 76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/20.66, allocations: 7.406 kB / 7.021 GB, free: 76 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.278e-05/20.66, allocations: 38.19 kB / 7.021 GB, free: 75.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/20.66, allocations: 11.38 kB / 7.021 GB, free: 75.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/20.66, allocations: 184.9 kB / 7.022 GB, free: 75.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/20.66, allocations: 6.062 kB / 7.022 GB, free: 75.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/20.66, allocations: 3.344 kB / 7.022 GB, free: 75.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/20.66, allocations: 79.25 kB / 7.022 GB, free: 75.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/20.66, allocations: 0 / 7.022 GB, free: 75.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/20.66, allocations: 7.766 kB / 7.022 GB, free: 75.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/20.66, allocations: 0 / 7.022 GB, free: 75.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/20.66, allocations: 44.58 kB / 7.022 GB, free: 75.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002255/20.66, allocations: 188.3 kB / 7.022 GB, free: 75.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004465/20.66, allocations: 109.5 kB / 7.022 GB, free: 75.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.487e-05/20.66, allocations: 7.562 kB / 7.022 GB, free: 75.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/20.66, allocations: 34.22 kB / 7.022 GB, free: 75.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/20.66, allocations: 7.875 kB / 7.022 GB, free: 75.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005807/20.66, allocations: 100.3 kB / 7.022 GB, free: 75.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/20.66, allocations: 88.48 kB / 7.022 GB, free: 75.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/20.66, allocations: 122.3 kB / 7.022 GB, free: 75.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/20.66, allocations: 32.64 kB / 7.022 GB, free: 75.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.933e-05/20.66, allocations: 80.52 kB / 7.022 GB, free: 75.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/20.66, allocations: 25.25 kB / 7.023 GB, free: 75.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-06/20.66, allocations: 3.938 kB / 7.023 GB, free: 75.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.16e-05/20.66, allocations: 318.6 kB / 7.023 GB, free: 74.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/20.66, allocations: 18.81 kB / 7.023 GB, free: 74.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/20.66, allocations: 39.23 kB / 7.023 GB, free: 74.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/20.66, allocations: 23.97 kB / 7.023 GB, free: 74.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/20.66, allocations: 4 kB / 7.023 GB, free: 74.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003455/20.66, allocations: 85.36 kB / 7.023 GB, free: 74.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/20.66, allocations: 3.156 kB / 7.023 GB, free: 74.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/20.66, allocations: 0 / 7.023 GB, free: 74.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/20.66, allocations: 6.938 kB / 7.023 GB, free: 74.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/20.66, allocations: 16.78 kB / 7.023 GB, free: 74.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/20.66, allocations: 0 / 7.023 GB, free: 74.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.077e-05/20.66, allocations: 11.77 kB / 7.023 GB, free: 74.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/20.66, allocations: 3.906 kB / 7.023 GB, free: 74.65 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 8.112e-05/20.66, allocations: 120.9 kB / 7.023 GB, free: 74.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/20.66, allocations: 3.906 kB / 7.023 GB, free: 74.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004529/20.67, allocations: 119.5 kB / 7.023 GB, free: 74.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/20.67, allocations: 0 / 7.023 GB, free: 74.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/20.67, allocations: 0 / 7.023 GB, free: 74.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/20.67, allocations: 3.812 kB / 7.023 GB, free: 74.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/20.67, allocations: 179.2 kB / 7.023 GB, free: 74.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/20.67, allocations: 4 kB / 7.023 GB, free: 74.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/20.67, allocations: 18.45 kB / 7.023 GB, free: 74.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/20.67, allocations: 0 / 7.023 GB, free: 74.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/20.67, allocations: 0 / 7.023 GB, free: 74.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/20.67, allocations: 3.5 kB / 7.023 GB, free: 74.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/20.67, allocations: 0 / 7.023 GB, free: 74.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/20.67, allocations: 141.6 kB / 7.024 GB, free: 74.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.104e-05/20.67, allocations: 99.52 kB / 7.024 GB, free: 74.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/20.67, allocations: 0 / 7.024 GB, free: 74.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/20.67, allocations: 7.375 kB / 7.024 GB, free: 74.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/20.67, allocations: 7.484 kB / 7.024 GB, free: 74.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/20.67, allocations: 7.781 kB / 7.024 GB, free: 74.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.346e-05/20.67, allocations: 105.2 kB / 7.024 GB, free: 74.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/20.67, allocations: 0 / 7.024 GB, free: 74.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004814/20.67, allocations: 0.987 MB / 7.025 GB, free: 73.84 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.0103/20.68, allocations: 2.101 MB / 7.027 GB, free: 72.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004003/20.68, allocations: 51.53 kB / 7.027 GB, free: 72.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/20.68, allocations: 0 / 7.027 GB, free: 72.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001452/20.68, allocations: 29.12 kB / 7.027 GB, free: 72.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/20.68, allocations: 23.31 kB / 7.027 GB, free: 72.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004446/20.69, allocations: 1.15 MB / 7.028 GB, free: 72.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/20.69, allocations: 0.6879 MB / 7.029 GB, free: 71.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001041/20.69, allocations: 18.36 kB / 7.029 GB, free: 71.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.574e-05/20.69, allocations: 25.73 kB / 7.029 GB, free: 71.46 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/20.69, allocations: 0 / 7.029 GB, free: 71.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07665/20.76, allocations: 30.59 MB / 7.059 GB, free: 59.89 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/20.76, allocations: 222.9 kB / 7.059 GB, free: 59.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.187/24.95, allocations: 0 / 7.059 GB, free: 59.65 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_TX_res.mat does not exist to compare? outputFormat=mat