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.InverseIncompressible_sh_T.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.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.999/1.999, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003559, allocations: 11.98 kB / 264.1 MB, free: 3.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3063, allocations: 44.51 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5927/0.899, allocations: 187.2 MB / 495.8 MB, free: 13.08 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.8993, allocations: 68.28 kB / 495.8 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1501/1.049, allocations: 36.81 MB / 0.5202 GB, free: 13.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.953e-06/1.05, allocations: 0 / 0.5202 GB, free: 13.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.574e-06/1.05, allocations: 4 kB / 0.5202 GB, free: 13.62 MB / 378.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.001002/1.051, allocations: 0.5011 MB / 0.5207 GB, free: 13.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/1.051, allocations: 12.03 kB / 0.5207 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.174e-05/1.051, allocations: 37.61 kB / 0.5207 GB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/1.051, allocations: 3.906 kB / 0.5207 GB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/1.051, allocations: 189.8 kB / 0.5209 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/1.051, allocations: 7.375 kB / 0.5209 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/1.051, allocations: 0 / 0.5209 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/1.051, allocations: 69.12 kB / 0.521 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.051, allocations: 0 / 0.521 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/1.051, allocations: 0 / 0.521 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.051, allocations: 0 / 0.521 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/1.051, allocations: 23.92 kB / 0.521 GB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/1.052, allocations: 178.5 kB / 0.5212 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/1.052, allocations: 81.22 kB / 0.5212 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001559/1.054, allocations: 1.821 MB / 0.523 GB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/1.054, allocations: 30.56 kB / 0.523 GB, free: 10.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/1.054, allocations: 0 / 0.523 GB, free: 10.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004284/1.054, allocations: 85.59 kB / 0.5231 GB, free: 10.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/1.054, allocations: 77.11 kB / 0.5232 GB, free: 9.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/1.054, allocations: 109 kB / 0.5233 GB, free: 9.816 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/1.054, allocations: 25.7 kB / 0.5233 GB, free: 9.785 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/1.054, allocations: 88.08 kB / 0.5234 GB, free: 9.695 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/1.054, allocations: 23.64 kB / 0.5234 GB, free: 9.672 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/1.054, allocations: 4 kB / 0.5234 GB, free: 9.668 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/1.055, allocations: 318.8 kB / 0.5237 GB, free: 9.348 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.116e-05/1.055, allocations: 19.98 kB / 0.5238 GB, free: 9.328 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/1.055, allocations: 35.42 kB / 0.5238 GB, free: 9.281 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/1.055, allocations: 19.94 kB / 0.5238 GB, free: 9.262 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.055, allocations: 0 / 0.5238 GB, free: 9.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002961/1.055, allocations: 89.5 kB / 0.5239 GB, free: 9.168 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/1.055, allocations: 4 kB / 0.5239 GB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/1.055, allocations: 0 / 0.5239 GB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/1.055, allocations: 4 kB / 0.5239 GB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/1.055, allocations: 15.98 kB / 0.5239 GB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/1.055, allocations: 3.938 kB / 0.5239 GB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.39e-05/1.056, allocations: 4 kB / 0.5239 GB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/1.056, allocations: 4 kB / 0.5239 GB, free: 9.133 MB / 378.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 9.517e-05/1.056, allocations: 121.8 kB / 0.5241 GB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/1.056, allocations: 8.375 kB / 0.5241 GB, free: 8.996 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004491/1.056, allocations: 125.4 kB / 0.5242 GB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/1.056, allocations: 4 kB / 0.5242 GB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.056, allocations: 0 / 0.5242 GB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.056, allocations: 0 / 0.5242 GB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/1.056, allocations: 185.6 kB / 0.5244 GB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.056, allocations: 0 / 0.5244 GB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/1.057, allocations: 15.94 kB / 0.5244 GB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.057, allocations: 0 / 0.5244 GB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/1.057, allocations: 3.984 kB / 0.5244 GB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.057, allocations: 0 / 0.5244 GB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.057, allocations: 4 kB / 0.5244 GB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004324/1.057, allocations: 151.5 kB / 0.5245 GB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-05/1.057, allocations: 97.02 kB / 0.5246 GB, free: 8.316 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/1.057, allocations: 4 kB / 0.5246 GB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.481e-05/1.057, allocations: 4 kB / 0.5246 GB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/1.057, allocations: 7.984 kB / 0.5246 GB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/1.057, allocations: 0 / 0.5246 GB, free: 8.301 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.437e-05/1.057, allocations: 91.22 kB / 0.5247 GB, free: 8.211 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.057, allocations: 3.938 kB / 0.5247 GB, free: 8.207 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008378/1.058, allocations: 195.8 kB / 0.5249 GB, free: 8.016 MB / 378.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.00172/1.06, allocations: 1.025 MB / 0.5259 GB, free: 6.961 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002654/1.06, allocations: 47.91 kB / 0.526 GB, free: 6.914 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.06, allocations: 0 / 0.526 GB, free: 6.914 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/1.061, allocations: 31.92 kB / 0.526 GB, free: 6.883 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/1.061, allocations: 10.75 kB / 0.526 GB, free: 6.875 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/1.062, allocations: 1.214 MB / 0.5272 GB, free: 5.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/1.063, allocations: 0.6887 MB / 0.5279 GB, free: 4.875 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001209/1.063, allocations: 27.97 kB / 0.5279 GB, free: 4.848 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.318e-05/1.063, allocations: 27.42 kB / 0.5279 GB, free: 4.82 MB / 378.7 MB Notification: Performance of SimCode: time 8.21e-07/1.063, allocations: 3.938 kB / 0.5279 GB, free: 4.816 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/1.094, allocations: 4.69 MB / 0.5325 GB, free: 160 kB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003531/1.094, allocations: 248.5 kB / 0.5327 GB, free: 15.82 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/3.732, allocations: 0 / 0.5327 GB, free: 15.82 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat does not exist to compare? outputFormat=mat