Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadModel(Modelica): time 1.854/1.854, allocations: 194.8 MB / 211.6 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003572, allocations: 11.98 kB / 263.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08104/0.08143, allocations: 44.51 MB / 308.3 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001509/0.08298, allocations: 1.027 MB / 309.4 MB, free: 0 / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008794/0.09179, allocations: 5.336 MB / 314.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.916e-05/0.09188, allocations: 0 / 314.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.09191, allocations: 0 / 314.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.09296, allocations: 239.3 kB / 314.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.09468, allocations: 0.5066 MB / 315.5 MB, free: 9.898 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.749e-05/0.09477, allocations: 39.88 kB / 315.5 MB, free: 9.859 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.461e-05/0.09483, allocations: 7.984 kB / 315.5 MB, free: 9.852 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.09496, allocations: 35.84 kB / 315.5 MB, free: 9.816 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009399/0.09592, allocations: 375.5 kB / 315.9 MB, free: 9.449 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.09595, allocations: 0 / 315.9 MB, free: 9.449 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.09726, allocations: 0.5421 MB / 316.4 MB, free: 8.906 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.09729, allocations: 7.984 kB / 316.5 MB, free: 8.898 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.09734, allocations: 33.7 kB / 316.5 MB, free: 8.859 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007544/0.0981, allocations: 315.7 kB / 316.8 MB, free: 8.551 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.09813, allocations: 0 / 316.8 MB, free: 8.551 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.233e-06/0.09814, allocations: 7.938 kB / 316.8 MB, free: 8.543 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.09815, allocations: 0 / 316.8 MB, free: 8.543 MB / 266.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.0006239/0.09879, allocations: 439.2 kB / 317.2 MB, free: 8.066 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.09884, allocations: 8.031 kB / 317.2 MB, free: 8.059 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.09889, allocations: 19.8 kB / 317.3 MB, free: 8.039 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.09916, allocations: 183 kB / 317.4 MB, free: 7.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.09919, allocations: 0 / 317.4 MB, free: 7.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.09922, allocations: 4 kB / 317.4 MB, free: 7.816 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.0994, allocations: 63.39 kB / 317.5 MB, free: 7.742 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.95e-06/0.09943, allocations: 0 / 317.5 MB, free: 7.742 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.09945, allocations: 4 kB / 317.5 MB, free: 7.738 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.412e-06/0.09946, allocations: 0 / 317.5 MB, free: 7.738 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.09958, allocations: 31.86 kB / 317.5 MB, free: 7.707 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002224/0.09981, allocations: 162.6 kB / 317.7 MB, free: 7.496 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.1002, allocations: 81.17 kB / 317.8 MB, free: 7.398 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/0.1015, allocations: 1.457 MB / 319.2 MB, free: 5.609 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.1016, allocations: 34.56 kB / 319.3 MB, free: 5.566 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.263e-06/0.1016, allocations: 0 / 319.3 MB, free: 5.566 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003513/0.1019, allocations: 89.5 kB / 319.4 MB, free: 5.473 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.102, allocations: 77.11 kB / 319.4 MB, free: 5.379 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.1021, allocations: 109.8 kB / 319.5 MB, free: 5.262 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.1022, allocations: 25.7 kB / 319.6 MB, free: 5.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.466e-05/0.1023, allocations: 154.6 kB / 319.7 MB, free: 5.078 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.1023, allocations: 31.62 kB / 319.7 MB, free: 5.047 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.563e-06/0.1023, allocations: 0 / 319.7 MB, free: 5.047 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1025, allocations: 314.8 kB / 320 MB, free: 4.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.476e-05/0.1026, allocations: 19.98 kB / 320.1 MB, free: 4.711 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.962e-05/0.1027, allocations: 43.36 kB / 320.1 MB, free: 4.656 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.606e-05/0.1028, allocations: 12 kB / 320.1 MB, free: 4.645 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.599e-06/0.1028, allocations: 0 / 320.1 MB, free: 4.645 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002612/0.1031, allocations: 89.53 kB / 320.2 MB, free: 4.551 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1031, allocations: 6.031 kB / 320.2 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.775e-06/0.1031, allocations: 0 / 320.2 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1032, allocations: 4 kB / 320.2 MB, free: 4.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.894e-05/0.1033, allocations: 19.92 kB / 320.2 MB, free: 4.523 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.123e-06/0.1033, allocations: 0 / 320.2 MB, free: 4.523 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.117e-05/0.1034, allocations: 4 kB / 320.2 MB, free: 4.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.1034, allocations: 4 kB / 320.2 MB, free: 4.516 MB / 266.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.0001029/0.1035, allocations: 113.9 kB / 320.4 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.1035, allocations: 11.91 kB / 320.4 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000397/0.1039, allocations: 125.3 kB / 320.5 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.104, allocations: 7.984 kB / 320.5 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.099e-06/0.104, allocations: 0 / 320.5 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.707e-06/0.104, allocations: 0 / 320.5 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.1042, allocations: 177.5 kB / 320.7 MB, free: 4.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.316e-06/0.1042, allocations: 4 kB / 320.7 MB, free: 4.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.1044, allocations: 15.94 kB / 320.7 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.453e-06/0.1044, allocations: 0 / 320.7 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.1044, allocations: 0 / 320.7 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.164e-05/0.1044, allocations: 8.469 kB / 320.7 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.381e-06/0.1044, allocations: 3.984 kB / 320.7 MB, free: 3.992 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.1048, allocations: 142.4 kB / 320.8 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.663e-05/0.1049, allocations: 93.03 kB / 320.9 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.105, allocations: 0 / 320.9 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.203e-05/0.105, allocations: 15.92 kB / 320.9 MB, free: 3.707 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.1051, allocations: 4 kB / 321 MB, free: 3.703 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.1051, allocations: 7.969 kB / 321 MB, free: 3.695 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.892e-05/0.1052, allocations: 87.28 kB / 321 MB, free: 3.609 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.44e-07/0.1052, allocations: 0 / 321 MB, free: 3.609 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000624/0.1058, allocations: 167.9 kB / 321.2 MB, free: 3.445 MB / 266.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.000895/0.1067, allocations: 352.4 kB / 321.6 MB, free: 3.098 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.107, allocations: 47.91 kB / 321.6 MB, free: 3.051 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.873e-06/0.107, allocations: 0 / 321.6 MB, free: 3.051 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.1072, allocations: 32.05 kB / 321.6 MB, free: 3.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.1074, allocations: 22.38 kB / 321.7 MB, free: 3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006646/0.1081, allocations: 367.5 kB / 322 MB, free: 2.605 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.1084, allocations: 0.6887 MB / 322.7 MB, free: 1.891 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.257e-05/0.1085, allocations: 27.36 kB / 322.7 MB, free: 1.863 MB / 266.7 MB Notification: Performance of SimCode: time 1.315e-06/0.1085, allocations: 0 / 322.7 MB, free: 1.863 MB / 266.7 MB Notification: Performance of Templates: time 0.008127/0.1167, allocations: 3.671 MB / 326.4 MB, free: 14.19 MB / 282.7 MB