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_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.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.715/1.715, allocations: 171.2 MB / 186.8 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003458, allocations: 8 kB / 233.3 MB, free: 2.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08055/0.08093, allocations: 38.77 MB / 272.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.307/2.388, allocations: 0.7307 GB / 0.9965 GB, free: 106.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/2.389, allocations: 75.11 kB / 0.9965 GB, free: 106.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2749/2.664, allocations: 77.55 MB / 1.072 GB, free: 56.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.324e-06/2.664, allocations: 4 kB / 1.072 GB, free: 56.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.845e-06/2.664, allocations: 0 / 1.072 GB, free: 56.66 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.001007/2.665, allocations: 490.8 kB / 1.073 GB, free: 56.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/2.665, allocations: 8.031 kB / 1.073 GB, free: 56.12 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/2.665, allocations: 34.56 kB / 1.073 GB, free: 56.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003866/2.665, allocations: 39.84 kB / 1.073 GB, free: 56.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/2.665, allocations: 202.8 kB / 1.073 GB, free: 55.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/2.665, allocations: 8 kB / 1.073 GB, free: 55.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/2.665, allocations: 0 / 1.073 GB, free: 55.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/2.666, allocations: 71.38 kB / 1.073 GB, free: 55.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/2.666, allocations: 7.984 kB / 1.073 GB, free: 55.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/2.666, allocations: 0 / 1.073 GB, free: 55.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/2.666, allocations: 7.938 kB / 1.073 GB, free: 55.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/2.666, allocations: 43.95 kB / 1.073 GB, free: 55.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002243/2.666, allocations: 190.5 kB / 1.073 GB, free: 55.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/2.667, allocations: 125.2 kB / 1.073 GB, free: 55.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000588/2.667, allocations: 129.1 kB / 1.074 GB, free: 55.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/2.667, allocations: 38.55 kB / 1.074 GB, free: 55.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.023e-06/2.667, allocations: 4 kB / 1.074 GB, free: 55.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.000557/2.668, allocations: 121.5 kB / 1.074 GB, free: 54.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/2.668, allocations: 81.11 kB / 1.074 GB, free: 54.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/2.668, allocations: 121 kB / 1.074 GB, free: 54.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/2.668, allocations: 33.7 kB / 1.074 GB, free: 54.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/2.668, allocations: 150.6 kB / 1.074 GB, free: 54.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/2.668, allocations: 27.64 kB / 1.074 GB, free: 54.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-06/2.668, allocations: 0 / 1.074 GB, free: 54.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.895e-05/2.668, allocations: 318.8 kB / 1.074 GB, free: 54.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/2.668, allocations: 23.97 kB / 1.074 GB, free: 54.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/2.668, allocations: 55.34 kB / 1.075 GB, free: 54.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/2.669, allocations: 27.97 kB / 1.075 GB, free: 54.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/2.669, allocations: 7.953 kB / 1.075 GB, free: 54.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003523/2.669, allocations: 106 kB / 1.075 GB, free: 53.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/2.669, allocations: 8 kB / 1.075 GB, free: 53.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/2.669, allocations: 0 / 1.075 GB, free: 53.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/2.669, allocations: 0 / 1.075 GB, free: 53.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/2.669, allocations: 19.94 kB / 1.075 GB, free: 53.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/2.669, allocations: 3.984 kB / 1.075 GB, free: 53.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.152e-05/2.669, allocations: 8 kB / 1.075 GB, free: 53.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/2.669, allocations: 11.94 kB / 1.075 GB, free: 53.91 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 7.418e-05/2.669, allocations: 121.8 kB / 1.075 GB, free: 53.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.892e-05/2.67, allocations: 15.89 kB / 1.075 GB, free: 53.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004349/2.67, allocations: 133.8 kB / 1.075 GB, free: 53.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/2.67, allocations: 0 / 1.075 GB, free: 53.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/2.67, allocations: 0 / 1.075 GB, free: 53.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/2.67, allocations: 0 / 1.075 GB, free: 53.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/2.67, allocations: 189.6 kB / 1.075 GB, free: 53.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/2.67, allocations: 0 / 1.075 GB, free: 53.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/2.67, allocations: 19.94 kB / 1.075 GB, free: 53.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/2.67, allocations: 4 kB / 1.075 GB, free: 53.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/2.67, allocations: 0 / 1.075 GB, free: 53.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/2.67, allocations: 3.938 kB / 1.075 GB, free: 53.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/2.67, allocations: 4 kB / 1.075 GB, free: 53.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005114/2.671, allocations: 179.5 kB / 1.075 GB, free: 53.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.784e-05/2.671, allocations: 105 kB / 1.075 GB, free: 53.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/2.671, allocations: 4 kB / 1.075 GB, free: 53.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.311e-05/2.671, allocations: 0 / 1.075 GB, free: 53.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/2.671, allocations: 7.984 kB / 1.075 GB, free: 53.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/2.671, allocations: 4 kB / 1.075 GB, free: 53.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001126/2.671, allocations: 111.2 kB / 1.076 GB, free: 52.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.671, allocations: 0 / 1.076 GB, free: 52.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001199/2.673, allocations: 263.7 kB / 1.076 GB, free: 52.66 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 (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.003199/2.676, allocations: 1.635 MB / 1.077 GB, free: 51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003638/2.676, allocations: 63.89 kB / 1.077 GB, free: 50.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/2.676, allocations: 0 / 1.077 GB, free: 50.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/2.676, allocations: 36.05 kB / 1.077 GB, free: 50.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/2.677, allocations: 23.97 kB / 1.078 GB, free: 50.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/2.679, allocations: 1.411 MB / 1.079 GB, free: 49.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/2.679, allocations: 0.6926 MB / 1.08 GB, free: 48.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.536e-05/2.679, allocations: 23.42 kB / 1.08 GB, free: 48.64 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/2.679, allocations: 4 kB / 1.08 GB, free: 48.64 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.803/5.482, allocations: 8.453 MB / 1.088 GB, free: 40.19 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_TX_res.mat does not exist to compare? outputFormat=mat