Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.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.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.964/1.964, allocations: 194.9 MB / 211.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.000374, allocations: 12 kB / 264.1 MB, free: 2.508 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2955, allocations: 44.5 MB / 308.6 MB, free: 12.55 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.332/2.627, allocations: 0.7439 GB / 1.045 GB, free: 112.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/2.628, allocations: 67.17 kB / 1.045 GB, free: 112.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2918/2.92, allocations: 78.08 MB / 1.122 GB, free: 61.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.334e-06/2.92, allocations: 0 / 1.122 GB, free: 61.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.728e-05/2.92, allocations: 4 kB / 1.122 GB, free: 61.88 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.0009341/2.921, allocations: 498.7 kB / 1.122 GB, free: 61.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/2.921, allocations: 12.03 kB / 1.122 GB, free: 61.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/2.921, allocations: 30.56 kB / 1.122 GB, free: 61.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003734/2.921, allocations: 35.91 kB / 1.122 GB, free: 61.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/2.921, allocations: 194.9 kB / 1.122 GB, free: 61.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/2.921, allocations: 0 / 1.122 GB, free: 61.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/2.921, allocations: 4 kB / 1.122 GB, free: 61.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/2.922, allocations: 75.38 kB / 1.122 GB, free: 60.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/2.922, allocations: 0 / 1.122 GB, free: 60.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/2.922, allocations: 4 kB / 1.122 GB, free: 60.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/2.922, allocations: 0 / 1.122 GB, free: 60.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/2.922, allocations: 55.83 kB / 1.122 GB, free: 60.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002181/2.922, allocations: 194.5 kB / 1.123 GB, free: 60.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004484/2.923, allocations: 121.2 kB / 1.123 GB, free: 60.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005814/2.923, allocations: 133.2 kB / 1.123 GB, free: 60.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/2.923, allocations: 30.56 kB / 1.123 GB, free: 60.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/2.923, allocations: 0 / 1.123 GB, free: 60.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005337/2.924, allocations: 137.8 kB / 1.123 GB, free: 60.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/2.924, allocations: 77.11 kB / 1.123 GB, free: 60.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/2.924, allocations: 132.9 kB / 1.123 GB, free: 59.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/2.924, allocations: 25.7 kB / 1.123 GB, free: 59.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.938e-05/2.924, allocations: 88.14 kB / 1.123 GB, free: 59.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/2.924, allocations: 27.62 kB / 1.123 GB, free: 59.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.904e-06/2.924, allocations: 7.938 kB / 1.123 GB, free: 59.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.679e-05/2.924, allocations: 322.8 kB / 1.124 GB, free: 59.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/2.924, allocations: 23.97 kB / 1.124 GB, free: 59.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/2.924, allocations: 55.34 kB / 1.124 GB, free: 59.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/2.925, allocations: 27.97 kB / 1.124 GB, free: 59.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/2.925, allocations: 0 / 1.124 GB, free: 59.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003801/2.925, allocations: 117.5 kB / 1.124 GB, free: 59.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/2.925, allocations: 4 kB / 1.124 GB, free: 59.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/2.925, allocations: 4 kB / 1.124 GB, free: 59.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/2.925, allocations: 0 / 1.124 GB, free: 59.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/2.925, allocations: 23.92 kB / 1.124 GB, free: 59.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/2.925, allocations: 4 kB / 1.124 GB, free: 59.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.379e-05/2.925, allocations: 0 / 1.124 GB, free: 59.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/2.925, allocations: 8 kB / 1.124 GB, free: 59.18 MB / 410.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.087e-05/2.925, allocations: 125.8 kB / 1.124 GB, free: 59.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.441e-05/2.925, allocations: 7.906 kB / 1.124 GB, free: 59.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004371/2.926, allocations: 121.5 kB / 1.124 GB, free: 58.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/2.926, allocations: 4 kB / 1.124 GB, free: 58.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/2.926, allocations: 0 / 1.124 GB, free: 58.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/2.926, allocations: 0 / 1.124 GB, free: 58.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/2.926, allocations: 185.5 kB / 1.124 GB, free: 58.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/2.926, allocations: 3.984 kB / 1.124 GB, free: 58.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/2.926, allocations: 15.94 kB / 1.124 GB, free: 58.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/2.926, allocations: 4 kB / 1.124 GB, free: 58.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/2.926, allocations: 4 kB / 1.124 GB, free: 58.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/2.926, allocations: 7.922 kB / 1.124 GB, free: 58.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/2.926, allocations: 0 / 1.124 GB, free: 58.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005097/2.927, allocations: 175.5 kB / 1.125 GB, free: 58.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.746e-05/2.927, allocations: 109.1 kB / 1.125 GB, free: 58.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/2.927, allocations: 0 / 1.125 GB, free: 58.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/2.927, allocations: 7.984 kB / 1.125 GB, free: 58.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/2.927, allocations: 4 kB / 1.125 GB, free: 58.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/2.927, allocations: 7.984 kB / 1.125 GB, free: 58.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.531e-05/2.927, allocations: 107.6 kB / 1.125 GB, free: 58.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.71e-07/2.927, allocations: 0 / 1.125 GB, free: 58.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001155/2.928, allocations: 267.7 kB / 1.125 GB, free: 57.93 MB / 410.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 (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.003268/2.932, allocations: 1.629 MB / 1.127 GB, free: 56.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003279/2.932, allocations: 63.89 kB / 1.127 GB, free: 56.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/2.932, allocations: 0 / 1.127 GB, free: 56.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/2.932, allocations: 31.92 kB / 1.127 GB, free: 56.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/2.933, allocations: 33.97 kB / 1.127 GB, free: 56.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/2.935, allocations: 1.378 MB / 1.128 GB, free: 54.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/2.935, allocations: 0.6965 MB / 1.129 GB, free: 53.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001101/2.935, allocations: 12.27 kB / 1.129 GB, free: 53.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.277e-05/2.935, allocations: 27.44 kB / 1.129 GB, free: 53.94 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/2.935, allocations: 0 / 1.129 GB, free: 53.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04418/2.979, allocations: 16.2 MB / 1.145 GB, free: 37.75 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000253/2.979, allocations: 253.6 kB / 1.145 GB, free: 37.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.401/6.38, allocations: 4 kB / 1.145 GB, free: 37.49 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat does not exist to compare? outputFormat=mat