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.InverseIncompressible_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.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.852/1.852, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003786, allocations: 8 kB / 233.4 MB, free: 2.273 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08794/0.08837, allocations: 38.76 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7519/0.8403, allocations: 181.8 MB / 453.9 MB, free: 91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.8407, allocations: 77.42 kB / 454 MB, free: 91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1456/0.9863, allocations: 36.35 MB / 490.4 MB, free: 67.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.055e-06/0.9863, allocations: 4 kB / 490.4 MB, free: 67.58 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.9864, allocations: 4 kB / 490.4 MB, free: 67.58 MB / 346.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.000935/0.9873, allocations: 0.5051 MB / 490.9 MB, free: 67.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.9874, allocations: 12.03 kB / 490.9 MB, free: 67.02 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.558e-05/0.9874, allocations: 34.06 kB / 490.9 MB, free: 66.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.9875, allocations: 7.938 kB / 490.9 MB, free: 66.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.9877, allocations: 190.5 kB / 491.1 MB, free: 66.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.9877, allocations: 0 / 491.1 MB, free: 66.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.9877, allocations: 0 / 491.1 MB, free: 66.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.9879, allocations: 70.33 kB / 491.2 MB, free: 66.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.9879, allocations: 0 / 491.2 MB, free: 66.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.988, allocations: 0 / 491.2 MB, free: 66.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.988, allocations: 7.984 kB / 491.2 MB, free: 66.67 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.9881, allocations: 15.36 kB / 491.2 MB, free: 66.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.9883, allocations: 169.6 kB / 491.4 MB, free: 66.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003461/0.9887, allocations: 84.39 kB / 491.4 MB, free: 66.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/0.9898, allocations: 1.821 MB / 493.3 MB, free: 64.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.9899, allocations: 34.55 kB / 493.3 MB, free: 64.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 4.589e-06/0.9899, allocations: 0 / 493.3 MB, free: 64.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.000451/0.9904, allocations: 84.47 kB / 493.4 MB, free: 64.03 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.9904, allocations: 84.48 kB / 493.5 MB, free: 63.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.893e-05/0.9905, allocations: 108.3 kB / 493.6 MB, free: 63.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.9906, allocations: 25.7 kB / 493.6 MB, free: 63.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.127e-05/0.9906, allocations: 83.58 kB / 493.7 MB, free: 63.71 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.9906, allocations: 23.22 kB / 493.7 MB, free: 63.69 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.9907, allocations: 0 / 493.7 MB, free: 63.69 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.246e-05/0.9907, allocations: 322.3 kB / 494 MB, free: 63.37 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.555e-05/0.9908, allocations: 11.98 kB / 494 MB, free: 63.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.796e-05/0.9909, allocations: 38.92 kB / 494.1 MB, free: 63.31 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.694e-05/0.9911, allocations: 19.36 kB / 494.1 MB, free: 63.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.9911, allocations: 0 / 494.1 MB, free: 63.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002747/0.9914, allocations: 96.58 kB / 494.2 MB, free: 63.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.9914, allocations: 4 kB / 494.2 MB, free: 63.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.9914, allocations: 4 kB / 494.2 MB, free: 63.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.9914, allocations: 0 / 494.2 MB, free: 63.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.9916, allocations: 12 kB / 494.2 MB, free: 63.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.9916, allocations: 7.984 kB / 494.2 MB, free: 63.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.829e-05/0.9917, allocations: 3.438 kB / 494.2 MB, free: 63.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.9917, allocations: 7.938 kB / 494.2 MB, free: 63.17 MB / 346.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.629e-05/0.9918, allocations: 113.9 kB / 494.3 MB, free: 63.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.9918, allocations: 11.42 kB / 494.3 MB, free: 63.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004343/0.9923, allocations: 126.8 kB / 494.5 MB, free: 62.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.9923, allocations: 0 / 494.5 MB, free: 62.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.9923, allocations: 3.984 kB / 494.5 MB, free: 62.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.9923, allocations: 0 / 494.5 MB, free: 62.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.9925, allocations: 177.1 kB / 494.6 MB, free: 62.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.9925, allocations: 3.984 kB / 494.6 MB, free: 62.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.9927, allocations: 15.94 kB / 494.7 MB, free: 62.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.9927, allocations: 0 / 494.7 MB, free: 62.69 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.9927, allocations: 3.953 kB / 494.7 MB, free: 62.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.9927, allocations: 4 kB / 494.7 MB, free: 62.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.9927, allocations: 0 / 494.7 MB, free: 62.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003968/0.9931, allocations: 153.7 kB / 494.8 MB, free: 62.53 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.9932, allocations: 92.47 kB / 494.9 MB, free: 62.42 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.9932, allocations: 11.33 kB / 494.9 MB, free: 62.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.9933, allocations: 3.984 kB / 494.9 MB, free: 62.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.9934, allocations: 4 kB / 494.9 MB, free: 62.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.9934, allocations: 4 kB / 494.9 MB, free: 62.4 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.835e-05/0.9935, allocations: 86.83 kB / 495 MB, free: 62.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.9935, allocations: 4.062 kB / 495 MB, free: 62.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008825/0.9944, allocations: 190.8 kB / 495.2 MB, free: 62.14 MB / 346.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 (7): * Single equations (assignments): 6 * 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.001797/0.9962, allocations: 1.051 MB / 496.3 MB, free: 61.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003014/0.9965, allocations: 47.22 kB / 496.3 MB, free: 61.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.9965, allocations: 0 / 496.3 MB, free: 61.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.9967, allocations: 30.73 kB / 496.3 MB, free: 61.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.9969, allocations: 7.25 kB / 496.3 MB, free: 61.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.9986, allocations: 1.203 MB / 497.5 MB, free: 59.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.9988, allocations: 0.6887 MB / 498.2 MB, free: 59.07 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.9989, allocations: 35.91 kB / 498.3 MB, free: 59.04 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.55e-05/0.999, allocations: 22.92 kB / 498.3 MB, free: 59.02 MB / 346.7 MB Notification: Performance of SimCode: time 1.222e-06/0.999, allocations: 0 / 498.3 MB, free: 59.02 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03164/1.031, allocations: 4.687 MB / 0.4912 GB, free: 54.4 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003067/1.031, allocations: 259.9 kB / 0.4914 GB, free: 54.06 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.659/3.69, allocations: 4 kB / 0.4914 GB, free: 54.05 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat does not exist to compare? outputFormat=mat