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.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_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.023/2.023, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005566/0.0005568, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1036, allocations: 44.51 MB / 308.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.362/2.465, allocations: 0.7439 GB / 1.045 GB, free: 93.88 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/2.465, allocations: 71.03 kB / 1.045 GB, free: 93.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.276/2.742, allocations: 78.07 MB / 1.121 GB, free: 22.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/2.742, allocations: 0 / 1.121 GB, free: 22.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.216e-05/2.742, allocations: 4 kB / 1.121 GB, free: 22.85 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.001014/2.743, allocations: 498.7 kB / 1.122 GB, free: 22.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/2.743, allocations: 12.03 kB / 1.122 GB, free: 22.3 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/2.743, allocations: 30.56 kB / 1.122 GB, free: 22.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003871/2.743, allocations: 35.91 kB / 1.122 GB, free: 22.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/2.743, allocations: 194.9 kB / 1.122 GB, free: 22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/2.743, allocations: 0 / 1.122 GB, free: 22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/2.743, allocations: 8 kB / 1.122 GB, free: 21.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/2.744, allocations: 75.38 kB / 1.122 GB, free: 21.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/2.744, allocations: 0 / 1.122 GB, free: 21.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/2.744, allocations: 0 / 1.122 GB, free: 21.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/2.744, allocations: 0 / 1.122 GB, free: 21.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/2.744, allocations: 63.77 kB / 1.122 GB, free: 21.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002259/2.744, allocations: 186.6 kB / 1.123 GB, free: 21.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004685/2.745, allocations: 121.2 kB / 1.123 GB, free: 21.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005833/2.745, allocations: 133.2 kB / 1.123 GB, free: 21.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/2.745, allocations: 34.56 kB / 1.123 GB, free: 21.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.043e-06/2.745, allocations: 4 kB / 1.123 GB, free: 21.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005473/2.746, allocations: 121.8 kB / 1.123 GB, free: 21.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/2.746, allocations: 81.11 kB / 1.123 GB, free: 21.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/2.746, allocations: 125 kB / 1.123 GB, free: 20.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/2.746, allocations: 29.7 kB / 1.123 GB, free: 20.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/2.746, allocations: 162.5 kB / 1.123 GB, free: 20.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/2.746, allocations: 19.66 kB / 1.123 GB, free: 20.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-06/2.746, allocations: 0 / 1.123 GB, free: 20.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.064e-05/2.746, allocations: 322.8 kB / 1.124 GB, free: 20.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/2.746, allocations: 27.97 kB / 1.124 GB, free: 20.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/2.747, allocations: 55.33 kB / 1.124 GB, free: 20.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/2.747, allocations: 40 kB / 1.124 GB, free: 20.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/2.747, allocations: 0 / 1.124 GB, free: 20.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003541/2.747, allocations: 101.6 kB / 1.124 GB, free: 20.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/2.747, allocations: 8.625 kB / 1.124 GB, free: 20.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/2.747, allocations: 0 / 1.124 GB, free: 20.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/2.747, allocations: 0 / 1.124 GB, free: 20.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/2.747, allocations: 27.98 kB / 1.124 GB, free: 20.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/2.747, allocations: 0 / 1.124 GB, free: 20.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.439e-05/2.747, allocations: 7.906 kB / 1.124 GB, free: 20.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/2.747, allocations: 11.92 kB / 1.124 GB, free: 20.09 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 7.78e-05/2.748, allocations: 117.8 kB / 1.124 GB, free: 19.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.402e-05/2.748, allocations: 4 kB / 1.124 GB, free: 19.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004429/2.748, allocations: 137.7 kB / 1.124 GB, free: 19.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/2.748, allocations: 0 / 1.124 GB, free: 19.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/2.748, allocations: 4 kB / 1.124 GB, free: 19.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/2.748, allocations: 0 / 1.124 GB, free: 19.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/2.748, allocations: 185.5 kB / 1.124 GB, free: 19.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/2.748, allocations: 7.938 kB / 1.124 GB, free: 19.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/2.748, allocations: 15.98 kB / 1.124 GB, free: 19.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/2.749, allocations: 4 kB / 1.124 GB, free: 19.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/2.749, allocations: 0 / 1.124 GB, free: 19.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/2.749, allocations: 3.938 kB / 1.124 GB, free: 19.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/2.749, allocations: 0 / 1.124 GB, free: 19.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/2.749, allocations: 187.5 kB / 1.125 GB, free: 19.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.884e-05/2.749, allocations: 97.11 kB / 1.125 GB, free: 19.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/2.749, allocations: 4 kB / 1.125 GB, free: 19.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/2.749, allocations: 0 / 1.125 GB, free: 19.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/2.749, allocations: 11.98 kB / 1.125 GB, free: 19.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/2.749, allocations: 4 kB / 1.125 GB, free: 19.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.759e-05/2.749, allocations: 111.3 kB / 1.125 GB, free: 19.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.2e-07/2.749, allocations: 0 / 1.125 GB, free: 19.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001184/2.751, allocations: 263.7 kB / 1.125 GB, free: 18.84 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.003131/2.754, allocations: 1.635 MB / 1.127 GB, free: 17.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003288/2.754, allocations: 63.91 kB / 1.127 GB, free: 17.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/2.754, allocations: 0 / 1.127 GB, free: 17.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/2.754, allocations: 35.91 kB / 1.127 GB, free: 17.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/2.755, allocations: 20.12 kB / 1.127 GB, free: 17.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/2.757, allocations: 1.418 MB / 1.128 GB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/2.757, allocations: 0.6887 MB / 1.129 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.546e-05/2.757, allocations: 27.42 kB / 1.129 GB, free: 14.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/2.757, allocations: 4 kB / 1.129 GB, free: 14.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.941/5.698, allocations: 8.441 MB / 1.137 GB, free: 6.383 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat does not exist to compare? outputFormat=mat