Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 2.527/2.527, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003732, allocations: 8 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1005, allocations: 44.5 MB / 309 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.831/1.932, allocations: 0.5908 GB / 0.8925 GB, free: 97.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/1.932, allocations: 80.02 kB / 0.8925 GB, free: 97.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1576/2.09, allocations: 41.75 MB / 0.9333 GB, free: 62.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.144e-06/2.09, allocations: 0 / 0.9333 GB, free: 62.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.263e-06/2.09, allocations: 0 / 0.9333 GB, free: 62.12 MB / 410.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.0007622/2.09, allocations: 460.3 kB / 0.9338 GB, free: 61.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/2.09, allocations: 12.03 kB / 0.9338 GB, free: 61.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/2.092, allocations: 95.33 kB / 0.9339 GB, free: 61.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/2.092, allocations: 217.2 kB / 0.9341 GB, free: 61.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/2.092, allocations: 0 / 0.9341 GB, free: 61.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.279e-05/2.093, allocations: 6.438 kB / 0.9341 GB, free: 61.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/2.093, allocations: 84.83 kB / 0.9342 GB, free: 61.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/2.093, allocations: 7.938 kB / 0.9342 GB, free: 61.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/2.093, allocations: 2.312 kB / 0.9342 GB, free: 61.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/2.093, allocations: 4 kB / 0.9342 GB, free: 61.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/2.093, allocations: 41.83 kB / 0.9342 GB, free: 61.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/2.093, allocations: 203.5 kB / 0.9344 GB, free: 60.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006922/2.094, allocations: 124.7 kB / 0.9345 GB, free: 60.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008924/2.095, allocations: 1.386 MB / 0.9359 GB, free: 59.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/2.095, allocations: 34.55 kB / 0.9359 GB, free: 59.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.615e-06/2.095, allocations: 0 / 0.9359 GB, free: 59.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007957/2.096, allocations: 132.8 kB / 0.936 GB, free: 59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/2.096, allocations: 89.05 kB / 0.9361 GB, free: 58.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/2.096, allocations: 159.2 kB / 0.9363 GB, free: 58.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/2.096, allocations: 31.83 kB / 0.9363 GB, free: 58.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/2.096, allocations: 150.6 kB / 0.9364 GB, free: 58.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/2.096, allocations: 24.41 kB / 0.9365 GB, free: 58.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/2.097, allocations: 0 / 0.9365 GB, free: 58.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.051e-05/2.097, allocations: 317.1 kB / 0.9368 GB, free: 58.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/2.097, allocations: 20.98 kB / 0.9368 GB, free: 58.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/2.097, allocations: 58.28 kB / 0.9368 GB, free: 58.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/2.097, allocations: 37.41 kB / 0.9369 GB, free: 58.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/2.097, allocations: 0 / 0.9369 GB, free: 58.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000497/2.098, allocations: 111.7 kB / 0.937 GB, free: 58.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/2.098, allocations: 4.625 kB / 0.937 GB, free: 58.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/2.098, allocations: 8.062 kB / 0.937 GB, free: 58.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/2.098, allocations: 0 / 0.937 GB, free: 58.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/2.098, allocations: 30.53 kB / 0.937 GB, free: 57.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/2.098, allocations: 0 / 0.937 GB, free: 57.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/2.098, allocations: 15.06 kB / 0.937 GB, free: 57.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/2.098, allocations: 4 kB / 0.937 GB, free: 57.97 MB / 410.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.283e-05/2.099, allocations: 121 kB / 0.9372 GB, free: 57.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/2.099, allocations: 7.906 kB / 0.9372 GB, free: 57.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008267/2.099, allocations: 242.7 kB / 0.9374 GB, free: 57.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/2.099, allocations: 0 / 0.9374 GB, free: 57.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/2.099, allocations: 0 / 0.9374 GB, free: 57.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/2.099, allocations: 0 / 0.9374 GB, free: 57.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/2.1, allocations: 225.8 kB / 0.9376 GB, free: 57.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/2.1, allocations: 4.062 kB / 0.9376 GB, free: 57.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003001/2.1, allocations: 23.97 kB / 0.9376 GB, free: 57.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/2.1, allocations: 4.516 kB / 0.9376 GB, free: 57.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/2.1, allocations: 3.984 kB / 0.9377 GB, free: 57.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/2.1, allocations: 0 / 0.9377 GB, free: 57.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/2.1, allocations: 0 / 0.9377 GB, free: 57.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000621/2.101, allocations: 180.6 kB / 0.9378 GB, free: 57.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.083e-05/2.101, allocations: 98.17 kB / 0.9379 GB, free: 57.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/2.101, allocations: 0 / 0.9379 GB, free: 57.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/2.101, allocations: 10.61 kB / 0.9379 GB, free: 57.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/2.101, allocations: 11.92 kB / 0.9379 GB, free: 57.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/2.101, allocations: 7.938 kB / 0.9379 GB, free: 57.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002358/2.102, allocations: 128.8 kB / 0.9381 GB, free: 56.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/2.102, allocations: 0 / 0.9381 GB, free: 56.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001014/2.103, allocations: 226.5 kB / 0.9383 GB, free: 56.76 MB / 410.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.001824/2.104, allocations: 0.8359 MB / 0.9391 GB, free: 55.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004763/2.105, allocations: 79.88 kB / 0.9392 GB, free: 55.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/2.105, allocations: 0 / 0.9392 GB, free: 55.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001904/2.105, allocations: 35.97 kB / 0.9392 GB, free: 55.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/2.105, allocations: 8.516 kB / 0.9392 GB, free: 55.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007212/2.106, allocations: 395.5 kB / 0.9396 GB, free: 55.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/2.106, allocations: 0.6926 MB / 0.9403 GB, free: 54.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/2.107, allocations: 51.33 kB / 0.9403 GB, free: 54.6 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/2.107, allocations: 0 / 0.9403 GB, free: 54.6 MB / 410.7 MB Notification: Performance of Templates: time 0.02099/2.128, allocations: 7.551 MB / 0.9477 GB, free: 47.03 MB / 410.7 MB