Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.641/1.641, allocations: 171.2 MB / 186.8 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003703, allocations: 12 kB / 233.3 MB, free: 2.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08541/0.08582, allocations: 38.77 MB / 272.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.84/19.92, allocations: 6.538 GB / 6.803 GB, free: 47.79 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/19.92, allocations: 79.52 kB / 6.803 GB, free: 47.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9621/20.89, allocations: 178.9 MB / 6.978 GB, free: 21.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.285e-06/20.89, allocations: 0 / 6.978 GB, free: 21.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/20.89, allocations: 0 / 6.978 GB, free: 21.46 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.005306/20.89, allocations: 1.103 MB / 6.979 GB, free: 20.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/20.89, allocations: 8.031 kB / 6.979 GB, free: 20.3 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/20.89, allocations: 34.56 kB / 6.979 GB, free: 20.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/20.89, allocations: 14.67 kB / 6.979 GB, free: 20.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/20.89, allocations: 202.8 kB / 6.979 GB, free: 20.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/20.89, allocations: 4 kB / 6.979 GB, free: 20 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/20.89, allocations: 4 kB / 6.979 GB, free: 20 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/20.89, allocations: 71.38 kB / 6.979 GB, free: 19.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/20.89, allocations: 0 / 6.979 GB, free: 19.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/20.89, allocations: 4 kB / 6.979 GB, free: 19.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/20.89, allocations: 0 / 6.979 GB, free: 19.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002719/20.89, allocations: 43.89 kB / 6.979 GB, free: 19.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002179/20.89, allocations: 194.5 kB / 6.98 GB, free: 19.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/20.89, allocations: 105.2 kB / 6.98 GB, free: 19.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/20.89, allocations: 8.062 kB / 6.98 GB, free: 19.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/20.89, allocations: 34.56 kB / 6.98 GB, free: 19.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.933e-06/20.89, allocations: 0 / 6.98 GB, free: 19.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005556/20.89, allocations: 113.5 kB / 6.98 GB, free: 19.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/20.89, allocations: 81.11 kB / 6.98 GB, free: 19.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/20.89, allocations: 125.2 kB / 6.98 GB, free: 19.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/20.89, allocations: 25.7 kB / 6.98 GB, free: 19.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/20.89, allocations: 154.6 kB / 6.98 GB, free: 18.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/20.89, allocations: 23.66 kB / 6.98 GB, free: 18.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/20.89, allocations: 0 / 6.98 GB, free: 18.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.902e-05/20.89, allocations: 322.8 kB / 6.981 GB, free: 18.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/20.89, allocations: 15.98 kB / 6.981 GB, free: 18.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/20.89, allocations: 41.62 kB / 6.981 GB, free: 18.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/20.89, allocations: 23.98 kB / 6.981 GB, free: 18.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/20.89, allocations: 384 / 6.981 GB, free: 18.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003449/20.89, allocations: 81.64 kB / 6.981 GB, free: 18.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/20.89, allocations: 5.094 kB / 6.981 GB, free: 18.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/20.89, allocations: 0 / 6.981 GB, free: 18.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/20.89, allocations: 3.938 kB / 6.981 GB, free: 18.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/20.89, allocations: 19.92 kB / 6.981 GB, free: 18.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/20.89, allocations: 1.641 kB / 6.981 GB, free: 18.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.636e-05/20.89, allocations: 11.98 kB / 6.981 GB, free: 18.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/20.9, allocations: 8 kB / 6.981 GB, free: 18.36 MB / 362.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.592e-05/20.9, allocations: 109.8 kB / 6.981 GB, free: 18.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/20.9, allocations: 7.906 kB / 6.981 GB, free: 18.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004471/20.9, allocations: 121.3 kB / 6.981 GB, free: 18.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/20.9, allocations: 3.812 kB / 6.981 GB, free: 18.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/20.9, allocations: 0 / 6.981 GB, free: 18.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/20.9, allocations: 8 kB / 6.981 GB, free: 18.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/20.9, allocations: 185.5 kB / 6.981 GB, free: 17.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/20.9, allocations: 0 / 6.981 GB, free: 17.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/20.9, allocations: 15.98 kB / 6.981 GB, free: 17.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/20.9, allocations: 0 / 6.981 GB, free: 17.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/20.9, allocations: 0 / 6.981 GB, free: 17.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/20.9, allocations: 0 / 6.981 GB, free: 17.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/20.9, allocations: 7.984 kB / 6.981 GB, free: 17.85 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/20.9, allocations: 139.5 kB / 6.981 GB, free: 17.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.444e-05/20.9, allocations: 97 kB / 6.981 GB, free: 17.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/20.9, allocations: 0 / 6.981 GB, free: 17.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/20.9, allocations: 11.98 kB / 6.981 GB, free: 17.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/20.9, allocations: 7.984 kB / 6.981 GB, free: 17.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/20.9, allocations: 4 kB / 6.981 GB, free: 17.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.487e-05/20.9, allocations: 107.3 kB / 6.982 GB, free: 17.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/20.9, allocations: 0 / 6.982 GB, free: 17.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004769/20.9, allocations: 0.9717 MB / 6.982 GB, free: 16.47 MB / 362.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.01058/20.91, allocations: 2.115 MB / 6.985 GB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000421/20.91, allocations: 51.89 kB / 6.985 GB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/20.91, allocations: 0 / 6.985 GB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/20.91, allocations: 31.98 kB / 6.985 GB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/20.91, allocations: 19.92 kB / 6.985 GB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004596/20.92, allocations: 1.175 MB / 6.986 GB, free: 13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/20.92, allocations: 0.6887 MB / 6.986 GB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.982e-05/20.92, allocations: 23.44 kB / 6.986 GB, free: 12.26 MB / 362.7 MB Notification: Performance of SimCode: time 1.423e-06/20.92, allocations: 7.938 kB / 6.987 GB, free: 12.25 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.643/24.56, allocations: 23.16 MB / 7.009 GB, free: 52.51 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat does not exist to compare? outputFormat=mat