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.SolveOneNonlinearEquation.Inverse_sh_T.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.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.712/1.712, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004846, allocations: 8 kB / 233.3 MB, free: 2.93 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08597/0.0865, allocations: 38.77 MB / 272.1 MB, free: 12.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.661/1.748, allocations: 0.5851 GB / 0.8508 GB, free: 332 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/1.748, allocations: 79.08 kB / 0.8509 GB, free: 288 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3686/2.116, allocations: 41.74 MB / 0.8916 GB, free: 113.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.883e-06/2.117, allocations: 3.938 kB / 0.8916 GB, free: 113.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.213e-06/2.117, allocations: 0 / 0.8916 GB, free: 113.8 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.0007389/2.117, allocations: 455 kB / 0.8921 GB, free: 113.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/2.117, allocations: 16.03 kB / 0.8921 GB, free: 113.3 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.576e-05/2.117, allocations: 30.56 kB / 0.8921 GB, free: 113.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/2.119, allocations: 87.86 kB / 0.8922 GB, free: 113.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/2.119, allocations: 234.7 kB / 0.8924 GB, free: 112.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/2.119, allocations: 3.953 kB / 0.8924 GB, free: 112.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.471e-05/2.119, allocations: 4 kB / 0.8924 GB, free: 112.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/2.12, allocations: 95.33 kB / 0.8925 GB, free: 112.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/2.12, allocations: 4 kB / 0.8925 GB, free: 112.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/2.12, allocations: 3.984 kB / 0.8925 GB, free: 112.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/2.12, allocations: 0 / 0.8925 GB, free: 112.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002626/2.12, allocations: 51.89 kB / 0.8926 GB, free: 112.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/2.12, allocations: 206.8 kB / 0.8928 GB, free: 112.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006717/2.121, allocations: 129.1 kB / 0.8929 GB, free: 112.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008545/2.122, allocations: 1.376 MB / 0.8942 GB, free: 110.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/2.122, allocations: 34.56 kB / 0.8943 GB, free: 110.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.036e-06/2.122, allocations: 0 / 0.8943 GB, free: 110.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007355/2.123, allocations: 133.4 kB / 0.8944 GB, free: 110.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/2.123, allocations: 81.11 kB / 0.8945 GB, free: 110.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/2.123, allocations: 152.9 kB / 0.8946 GB, free: 110.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/2.123, allocations: 25.7 kB / 0.8946 GB, free: 110.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/2.123, allocations: 162.5 kB / 0.8948 GB, free: 110.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.009e-05/2.123, allocations: 23.66 kB / 0.8948 GB, free: 110.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.426e-05/2.123, allocations: 0 / 0.8948 GB, free: 110.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.814e-05/2.123, allocations: 318.8 kB / 0.8951 GB, free: 109.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/2.123, allocations: 27.97 kB / 0.8951 GB, free: 109.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/2.124, allocations: 51.41 kB / 0.8952 GB, free: 109.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/2.124, allocations: 35.92 kB / 0.8952 GB, free: 109.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/2.124, allocations: 0 / 0.8952 GB, free: 109.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004661/2.124, allocations: 117.5 kB / 0.8953 GB, free: 109.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/2.124, allocations: 8.688 kB / 0.8953 GB, free: 109.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/2.124, allocations: 4 kB / 0.8954 GB, free: 109.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/2.124, allocations: 0 / 0.8954 GB, free: 109.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/2.125, allocations: 27.97 kB / 0.8954 GB, free: 109.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/2.125, allocations: 3.938 kB / 0.8954 GB, free: 109.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/2.125, allocations: 4 kB / 0.8954 GB, free: 109.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/2.125, allocations: 7.984 kB / 0.8954 GB, free: 109.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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.351e-05/2.125, allocations: 117.8 kB / 0.8955 GB, free: 109.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/2.125, allocations: 11.91 kB / 0.8955 GB, free: 109.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007315/2.126, allocations: 241.6 kB / 0.8957 GB, free: 109.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/2.126, allocations: 4 kB / 0.8958 GB, free: 109 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/2.126, allocations: 0 / 0.8958 GB, free: 109 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/2.126, allocations: 0 / 0.8958 GB, free: 109 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/2.126, allocations: 218.9 kB / 0.896 GB, free: 108.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/2.126, allocations: 4 kB / 0.896 GB, free: 108.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/2.127, allocations: 27.91 kB / 0.896 GB, free: 108.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/2.127, allocations: 4 kB / 0.896 GB, free: 108.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/2.127, allocations: 0 / 0.896 GB, free: 108.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/2.127, allocations: 0 / 0.896 GB, free: 108.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/2.127, allocations: 0 / 0.896 GB, free: 108.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005932/2.127, allocations: 195.4 kB / 0.8962 GB, free: 108.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.581e-05/2.127, allocations: 97.02 kB / 0.8963 GB, free: 108.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.743e-05/2.127, allocations: 0 / 0.8963 GB, free: 108.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/2.128, allocations: 12.05 kB / 0.8963 GB, free: 108.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/2.128, allocations: 8 kB / 0.8963 GB, free: 108.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/2.128, allocations: 7.984 kB / 0.8963 GB, free: 108.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002318/2.128, allocations: 131.2 kB / 0.8964 GB, free: 108.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/2.128, allocations: 0 / 0.8964 GB, free: 108.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001042/2.129, allocations: 227.7 kB / 0.8966 GB, free: 108 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002567/2.132, allocations: 1.53 MB / 0.8981 GB, free: 106.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004403/2.132, allocations: 71.88 kB / 0.8982 GB, free: 106.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/2.132, allocations: 8.125 kB / 0.8982 GB, free: 106.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001831/2.132, allocations: 43.91 kB / 0.8983 GB, free: 106.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/2.133, allocations: 8 kB / 0.8983 GB, free: 106.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/2.135, allocations: 1.405 MB / 0.8996 GB, free: 104.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/2.135, allocations: 0.6926 MB / 0.9003 GB, free: 104.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/2.136, allocations: 47.38 kB / 0.9004 GB, free: 104.1 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/2.136, allocations: 4 kB / 0.9004 GB, free: 104.1 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.665/4.801, allocations: 7.877 MB / 0.9081 GB, free: 96.21 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat