Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadModel(Modelica): time 1.78/1.78, allocations: 171.1 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003584, allocations: 15.98 kB / 233.2 MB, free: 3.055 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06861/0.06899, allocations: 38.77 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001537/0.07058, allocations: 1.027 MB / 273 MB, free: 11.16 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008752/0.07935, allocations: 5.304 MB / 278.3 MB, free: 5.832 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.565e-05/0.07945, allocations: 0 / 278.3 MB, free: 5.832 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.352e-05/0.07949, allocations: 3.984 kB / 278.3 MB, free: 5.828 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009793/0.08048, allocations: 227.3 kB / 278.5 MB, free: 5.605 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.08214, allocations: 0.5066 MB / 279 MB, free: 5.098 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.786e-05/0.08225, allocations: 39.92 kB / 279 MB, free: 5.059 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.0823, allocations: 8 kB / 279 MB, free: 5.051 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.08244, allocations: 35.84 kB / 279.1 MB, free: 5.016 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008672/0.08332, allocations: 347.6 kB / 279.4 MB, free: 4.676 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.08336, allocations: 0 / 279.4 MB, free: 4.676 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001397/0.08476, allocations: 0.546 MB / 280 MB, free: 4.129 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.0848, allocations: 7.984 kB / 280 MB, free: 4.121 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.08485, allocations: 29.7 kB / 280 MB, free: 4.086 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007579/0.08562, allocations: 311.7 kB / 280.3 MB, free: 3.781 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.119e-06/0.08563, allocations: 0 / 280.3 MB, free: 3.781 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.572e-06/0.08565, allocations: 3.938 kB / 280.3 MB, free: 3.777 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.147e-06/0.08566, allocations: 0 / 280.3 MB, free: 3.777 MB / 234.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.0006396/0.08631, allocations: 451 kB / 280.7 MB, free: 3.289 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.08637, allocations: 8.031 kB / 280.8 MB, free: 3.281 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.08642, allocations: 11.94 kB / 280.8 MB, free: 3.27 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.08669, allocations: 186.9 kB / 280.9 MB, free: 3.047 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.08672, allocations: 4 kB / 280.9 MB, free: 3.043 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.08676, allocations: 3.906 kB / 281 MB, free: 3.039 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.08693, allocations: 63.39 kB / 281 MB, free: 2.965 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.452e-06/0.08696, allocations: 0 / 281 MB, free: 2.965 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.08698, allocations: 0 / 281 MB, free: 2.965 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.08699, allocations: 4 kB / 281 MB, free: 2.961 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.52e-05/0.0871, allocations: 19.92 kB / 281 MB, free: 2.941 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002431/0.08736, allocations: 178.5 kB / 281.2 MB, free: 2.715 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/0.08772, allocations: 81.12 kB / 281.3 MB, free: 2.617 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001305/0.08904, allocations: 1.453 MB / 282.7 MB, free: 0.832 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.08911, allocations: 42.55 kB / 282.8 MB, free: 0.7812 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 2.628e-06/0.08912, allocations: 0 / 282.8 MB, free: 0.7812 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003418/0.08947, allocations: 77.59 kB / 282.9 MB, free: 0.6992 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.08955, allocations: 81.11 kB / 282.9 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.08968, allocations: 109.8 kB / 283 MB, free: 496 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.08972, allocations: 29.7 kB / 283.1 MB, free: 460 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.083e-05/0.08981, allocations: 150.6 kB / 283.2 MB, free: 308 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.08986, allocations: 23.66 kB / 283.2 MB, free: 284 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.556e-06/0.08988, allocations: 4 kB / 283.3 MB, free: 280 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.09006, allocations: 314.8 kB / 283.6 MB, free: 15.96 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.226e-05/0.09015, allocations: 8 kB / 283.6 MB, free: 15.95 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.804e-05/0.09025, allocations: 43.36 kB / 283.6 MB, free: 15.89 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.368e-05/0.09035, allocations: 27.88 kB / 283.6 MB, free: 15.87 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.09036, allocations: 0 / 283.6 MB, free: 15.87 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002512/0.09062, allocations: 85.52 kB / 283.7 MB, free: 15.78 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.09066, allocations: 7.984 kB / 283.7 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.445e-06/0.09067, allocations: 0 / 283.7 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.0907, allocations: 4 kB / 283.7 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.314e-05/0.0908, allocations: 12.06 kB / 283.7 MB, free: 15.75 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.68e-06/0.09082, allocations: 7.938 kB / 283.8 MB, free: 15.75 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.468e-05/0.0909, allocations: 7.984 kB / 283.8 MB, free: 15.74 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.09093, allocations: 4 kB / 283.8 MB, free: 15.73 MB / 250.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 0.0001044/0.09104, allocations: 113.8 kB / 283.9 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.09108, allocations: 4 kB / 283.9 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004349/0.09152, allocations: 125.3 kB / 284 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.09155, allocations: 4 kB / 284 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.206e-06/0.09157, allocations: 0 / 284 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.385e-06/0.09158, allocations: 0.5625 kB / 284 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.09179, allocations: 181.6 kB / 284.2 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.006e-06/0.09181, allocations: 3.953 kB / 284.2 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.09194, allocations: 19.92 kB / 284.2 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.788e-06/0.09196, allocations: 4 kB / 284.2 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.09198, allocations: 0 / 284.2 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.627e-06/0.09199, allocations: 0 / 284.2 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.091e-06/0.092, allocations: 4 kB / 284.2 MB, free: 15.22 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.09238, allocations: 141.8 kB / 284.4 MB, free: 15.06 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.723e-05/0.09249, allocations: 96.98 kB / 284.4 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.09253, allocations: 0 / 284.4 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.858e-05/0.0926, allocations: 4 kB / 284.5 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.09266, allocations: 15.98 kB / 284.5 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.09268, allocations: 4 kB / 284.5 MB, free: 14.93 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.004e-05/0.09277, allocations: 91.81 kB / 284.6 MB, free: 14.84 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.33e-07/0.09278, allocations: 0 / 284.6 MB, free: 14.84 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000653/0.09345, allocations: 159.9 kB / 284.7 MB, free: 14.68 MB / 250.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.0009287/0.09439, allocations: 373.5 kB / 285.1 MB, free: 14.31 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002362/0.09464, allocations: 47.91 kB / 285.1 MB, free: 14.26 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.633e-06/0.09466, allocations: 0 / 285.1 MB, free: 14.26 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.09478, allocations: 23.98 kB / 285.2 MB, free: 14.24 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.09498, allocations: 15.39 kB / 285.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006574/0.09565, allocations: 371.7 kB / 285.5 MB, free: 13.83 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.09602, allocations: 0.6965 MB / 286.2 MB, free: 13.11 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/0.0961, allocations: 23.42 kB / 286.2 MB, free: 13.08 MB / 250.7 MB Notification: Performance of SimCode: time 1.398e-06/0.09611, allocations: 0 / 286.2 MB, free: 13.08 MB / 250.7 MB Notification: Performance of Templates: time 0.008046/0.1042, allocations: 3.669 MB / 289.9 MB, free: 9.41 MB / 250.7 MB