Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.765/1.765, allocations: 171.1 MB / 186.1 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003609, allocations: 8 kB / 233.4 MB, free: 172 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08693/0.08732, allocations: 38.76 MB / 272.1 MB, free: 9.324 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.035/2.122, allocations: 0.5851 GB / 0.8508 GB, free: 103.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/2.123, allocations: 75.8 kB / 0.8509 GB, free: 103.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1749/2.298, allocations: 41.74 MB / 0.8916 GB, free: 82.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.834e-06/2.298, allocations: 3.938 kB / 0.8916 GB, free: 82.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.654e-06/2.298, allocations: 4 kB / 0.8916 GB, free: 82.07 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.0007779/2.299, allocations: 462.9 kB / 0.8921 GB, free: 81.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/2.299, allocations: 12.03 kB / 0.8921 GB, free: 81.55 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.879e-05/2.299, allocations: 38.56 kB / 0.8921 GB, free: 81.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/2.3, allocations: 87.86 kB / 0.8922 GB, free: 81.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/2.301, allocations: 218.8 kB / 0.8924 GB, free: 81.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/2.301, allocations: 3.953 kB / 0.8924 GB, free: 81.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/2.301, allocations: 11.98 kB / 0.8924 GB, free: 81.15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/2.301, allocations: 91.33 kB / 0.8925 GB, free: 81.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/2.301, allocations: 0 / 0.8925 GB, free: 81.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/2.301, allocations: 4 kB / 0.8925 GB, free: 81.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/2.301, allocations: 0 / 0.8925 GB, free: 81.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002665/2.301, allocations: 43.89 kB / 0.8926 GB, free: 81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/2.302, allocations: 210.8 kB / 0.8928 GB, free: 80.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006871/2.302, allocations: 125.2 kB / 0.8929 GB, free: 80.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008629/2.303, allocations: 1.384 MB / 0.8943 GB, free: 78.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/2.303, allocations: 30.56 kB / 0.8943 GB, free: 78.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.494e-06/2.303, allocations: 0 / 0.8943 GB, free: 78.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007691/2.304, allocations: 137.8 kB / 0.8944 GB, free: 78.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/2.304, allocations: 85.11 kB / 0.8945 GB, free: 78.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/2.304, allocations: 144.9 kB / 0.8946 GB, free: 78.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/2.304, allocations: 25.7 kB / 0.8947 GB, free: 78.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.824e-05/2.304, allocations: 92.12 kB / 0.8947 GB, free: 78.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.819e-05/2.304, allocations: 23.66 kB / 0.8948 GB, free: 78.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/2.305, allocations: 0 / 0.8948 GB, free: 78.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.915e-05/2.305, allocations: 314.8 kB / 0.8951 GB, free: 78.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/2.305, allocations: 27.97 kB / 0.8951 GB, free: 78.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/2.305, allocations: 55.41 kB / 0.8951 GB, free: 77.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/2.305, allocations: 35.92 kB / 0.8952 GB, free: 77.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/2.305, allocations: 0 / 0.8952 GB, free: 77.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005112/2.306, allocations: 117.5 kB / 0.8953 GB, free: 77.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/2.306, allocations: 12.06 kB / 0.8953 GB, free: 77.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/2.306, allocations: 0 / 0.8953 GB, free: 77.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/2.306, allocations: 3.938 kB / 0.8953 GB, free: 77.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/2.306, allocations: 23.97 kB / 0.8953 GB, free: 77.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/2.306, allocations: 4 kB / 0.8953 GB, free: 77.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/2.306, allocations: 11.98 kB / 0.8953 GB, free: 77.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/2.306, allocations: 8 kB / 0.8954 GB, free: 77.72 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.694e-05/2.306, allocations: 117.7 kB / 0.8955 GB, free: 77.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/2.307, allocations: 11.89 kB / 0.8955 GB, free: 77.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007445/2.307, allocations: 241.2 kB / 0.8957 GB, free: 77.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/2.307, allocations: 0 / 0.8957 GB, free: 77.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/2.307, allocations: 0 / 0.8957 GB, free: 77.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/2.307, allocations: 4 kB / 0.8957 GB, free: 77.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/2.308, allocations: 214.9 kB / 0.8959 GB, free: 77.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/2.308, allocations: 8 kB / 0.8959 GB, free: 77.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/2.308, allocations: 27.91 kB / 0.8959 GB, free: 77.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/2.308, allocations: 0 / 0.8959 GB, free: 77.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/2.308, allocations: 3.984 kB / 0.896 GB, free: 77.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/2.308, allocations: 4.469 kB / 0.896 GB, free: 77.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/2.308, allocations: 0 / 0.896 GB, free: 77.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006024/2.309, allocations: 195.4 kB / 0.8961 GB, free: 76.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.327e-05/2.309, allocations: 89.12 kB / 0.8962 GB, free: 76.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.534e-05/2.309, allocations: 4 kB / 0.8962 GB, free: 76.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/2.309, allocations: 3.984 kB / 0.8962 GB, free: 76.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/2.309, allocations: 11.98 kB / 0.8962 GB, free: 76.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/2.309, allocations: 4 kB / 0.8963 GB, free: 76.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002351/2.309, allocations: 131.3 kB / 0.8964 GB, free: 76.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-07/2.309, allocations: 0 / 0.8964 GB, free: 76.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001026/2.31, allocations: 231.8 kB / 0.8966 GB, free: 76.34 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.002702/2.313, allocations: 1.533 MB / 0.8981 GB, free: 74.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004706/2.314, allocations: 79.86 kB / 0.8982 GB, free: 74.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/2.314, allocations: 4.125 kB / 0.8982 GB, free: 74.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001872/2.314, allocations: 43.91 kB / 0.8982 GB, free: 74.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/2.314, allocations: 4 kB / 0.8982 GB, free: 74.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/2.317, allocations: 1.385 MB / 0.8996 GB, free: 73.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/2.317, allocations: 0.6888 MB / 0.9002 GB, free: 72.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008531/2.318, allocations: 434.9 kB / 0.9007 GB, free: 72.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/2.318, allocations: 51.39 kB / 0.9007 GB, free: 72 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/2.318, allocations: 0 / 0.9007 GB, free: 72 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04426/2.362, allocations: 15.11 MB / 0.9155 GB, free: 56.93 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/2.363, allocations: 236.2 kB / 0.9157 GB, free: 56.69 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.252/5.614, allocations: 3.938 kB / 0.9157 GB, free: 56.68 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat