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.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_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.966/1.966, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003984, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.103, allocations: 44.51 MB / 309 MB, free: 384 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.94/2.043, allocations: 0.5907 GB / 0.8925 GB, free: 96.47 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/2.044, allocations: 82.77 kB / 0.8926 GB, free: 96.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1538/2.198, allocations: 41.75 MB / 0.9334 GB, free: 61.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/2.198, allocations: 0 / 0.9334 GB, free: 61.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.155e-06/2.198, allocations: 0 / 0.9334 GB, free: 61.34 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.0007531/2.199, allocations: 466.5 kB / 0.9338 GB, free: 60.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/2.199, allocations: 12.03 kB / 0.9339 GB, free: 60.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/2.2, allocations: 90.89 kB / 0.9339 GB, free: 60.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/2.201, allocations: 217.8 kB / 0.9342 GB, free: 60.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/2.201, allocations: 0 / 0.9342 GB, free: 60.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/2.201, allocations: 4 kB / 0.9342 GB, free: 60.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/2.201, allocations: 99.89 kB / 0.9342 GB, free: 60.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/2.201, allocations: 4 kB / 0.9343 GB, free: 60.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/2.201, allocations: 0 / 0.9343 GB, free: 60.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/2.201, allocations: 0 / 0.9343 GB, free: 60.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002671/2.201, allocations: 41.7 kB / 0.9343 GB, free: 60.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002788/2.202, allocations: 207.3 kB / 0.9345 GB, free: 60.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006956/2.202, allocations: 129.3 kB / 0.9346 GB, free: 60.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009002/2.203, allocations: 1.374 MB / 0.936 GB, free: 58.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/2.203, allocations: 36.94 kB / 0.936 GB, free: 58.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/2.203, allocations: 0 / 0.936 GB, free: 58.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007227/2.204, allocations: 135.3 kB / 0.9361 GB, free: 58.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/2.204, allocations: 81.11 kB / 0.9362 GB, free: 58.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/2.204, allocations: 162 kB / 0.9364 GB, free: 57.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/2.204, allocations: 28.08 kB / 0.9364 GB, free: 57.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.051e-05/2.204, allocations: 86.5 kB / 0.9365 GB, free: 57.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/2.204, allocations: 26.2 kB / 0.9365 GB, free: 57.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.709e-05/2.205, allocations: 0 / 0.9365 GB, free: 57.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.941e-05/2.205, allocations: 316.1 kB / 0.9368 GB, free: 57.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/2.205, allocations: 33.59 kB / 0.9368 GB, free: 57.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/2.205, allocations: 49.03 kB / 0.9369 GB, free: 57.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/2.205, allocations: 33.92 kB / 0.9369 GB, free: 57.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/2.205, allocations: 0 / 0.9369 GB, free: 57.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005004/2.206, allocations: 115.4 kB / 0.937 GB, free: 57.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/2.206, allocations: 8.688 kB / 0.937 GB, free: 57.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/2.206, allocations: 0 / 0.937 GB, free: 57.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/2.206, allocations: 8.078 kB / 0.937 GB, free: 57.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/2.206, allocations: 30.39 kB / 0.9371 GB, free: 57.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/2.206, allocations: 0 / 0.9371 GB, free: 57.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/2.206, allocations: 14.17 kB / 0.9371 GB, free: 57.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/2.206, allocations: 10.36 kB / 0.9371 GB, free: 57.24 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 8.865e-05/2.207, allocations: 116.2 kB / 0.9372 GB, free: 57.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/2.207, allocations: 4 kB / 0.9372 GB, free: 57.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007824/2.207, allocations: 245.6 kB / 0.9374 GB, free: 56.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/2.207, allocations: 4 kB / 0.9374 GB, free: 56.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/2.207, allocations: 64 / 0.9374 GB, free: 56.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/2.207, allocations: 4 kB / 0.9374 GB, free: 56.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/2.208, allocations: 220.5 kB / 0.9376 GB, free: 56.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/2.208, allocations: 0 / 0.9376 GB, free: 56.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/2.208, allocations: 19.97 kB / 0.9377 GB, free: 56.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/2.208, allocations: 0 / 0.9377 GB, free: 56.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/2.208, allocations: 7.562 kB / 0.9377 GB, free: 56.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/2.208, allocations: 0 / 0.9377 GB, free: 56.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/2.208, allocations: 7.875 kB / 0.9377 GB, free: 56.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006165/2.209, allocations: 179.8 kB / 0.9378 GB, free: 56.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.565e-05/2.209, allocations: 95.61 kB / 0.9379 GB, free: 56.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.395e-05/2.209, allocations: 2.375 kB / 0.9379 GB, free: 56.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/2.209, allocations: 7.938 kB / 0.938 GB, free: 56.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.388e-05/2.209, allocations: 14.48 kB / 0.938 GB, free: 56.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/2.209, allocations: 0 / 0.938 GB, free: 56.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002428/2.21, allocations: 138.8 kB / 0.9381 GB, free: 56.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.21, allocations: 0 / 0.9381 GB, free: 56.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001115/2.211, allocations: 223.2 kB / 0.9383 GB, free: 56.02 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.001792/2.212, allocations: 0.8369 MB / 0.9391 GB, free: 55.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004432/2.213, allocations: 75.88 kB / 0.9392 GB, free: 55.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/2.213, allocations: 0 / 0.9392 GB, free: 55.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001827/2.213, allocations: 43.92 kB / 0.9392 GB, free: 55.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/2.213, allocations: 12.5 kB / 0.9393 GB, free: 55.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006999/2.214, allocations: 361.9 kB / 0.9396 GB, free: 54.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/2.214, allocations: 0.6887 MB / 0.9403 GB, free: 53.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008487/2.215, allocations: 438.9 kB / 0.9407 GB, free: 53.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/2.215, allocations: 39.33 kB / 0.9407 GB, free: 53.47 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/2.215, allocations: 0 / 0.9407 GB, free: 53.47 MB / 410.7 MB Notification: Performance of Templates: time 0.02539/2.241, allocations: 12.23 MB / 0.9527 GB, free: 41.22 MB / 410.7 MB