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.Inverse_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.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 1.8/1.8, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003578, allocations: 11.94 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07556/0.07594, allocations: 44.49 MB / 308.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.59/1.666, allocations: 0.5908 GB / 0.892 GB, free: 118.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/1.666, allocations: 79.95 kB / 0.892 GB, free: 118 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1404/1.807, allocations: 41.74 MB / 0.9328 GB, free: 76.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.64e-06/1.807, allocations: 0 / 0.9328 GB, free: 76.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.808e-06/1.807, allocations: 0 / 0.9328 GB, free: 76.14 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.0006166/1.807, allocations: 458.8 kB / 0.9332 GB, free: 75.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/1.807, allocations: 12.03 kB / 0.9333 GB, free: 75.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/1.809, allocations: 95.77 kB / 0.9333 GB, free: 75.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/1.809, allocations: 218.9 kB / 0.9336 GB, free: 75.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/1.809, allocations: 0 / 0.9336 GB, free: 75.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/1.809, allocations: 4 kB / 0.9336 GB, free: 75.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/1.809, allocations: 91.31 kB / 0.9336 GB, free: 75.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/1.809, allocations: 4 kB / 0.9336 GB, free: 75.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/1.809, allocations: 4 kB / 0.9337 GB, free: 75.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.072e-06/1.809, allocations: 0 / 0.9337 GB, free: 75.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002367/1.809, allocations: 51.88 kB / 0.9337 GB, free: 75.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002413/1.81, allocations: 206.9 kB / 0.9339 GB, free: 74.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005316/1.81, allocations: 121.2 kB / 0.934 GB, free: 74.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007614/1.811, allocations: 1.384 MB / 0.9354 GB, free: 73.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/1.811, allocations: 34.56 kB / 0.9354 GB, free: 73.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.342e-06/1.811, allocations: 0 / 0.9354 GB, free: 73.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005526/1.812, allocations: 129.4 kB / 0.9355 GB, free: 72.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/1.812, allocations: 85.05 kB / 0.9356 GB, free: 72.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/1.812, allocations: 148.9 kB / 0.9357 GB, free: 72.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/1.812, allocations: 33.64 kB / 0.9358 GB, free: 72.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/1.812, allocations: 154.6 kB / 0.9359 GB, free: 72.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.013e-05/1.812, allocations: 23.64 kB / 0.9359 GB, free: 72.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/1.812, allocations: 0 / 0.9359 GB, free: 72.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.963e-05/1.812, allocations: 318.8 kB / 0.9363 GB, free: 72.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/1.812, allocations: 23.97 kB / 0.9363 GB, free: 72.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/1.812, allocations: 59.7 kB / 0.9363 GB, free: 72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/1.813, allocations: 35.92 kB / 0.9364 GB, free: 71.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.693e-06/1.813, allocations: 0 / 0.9364 GB, free: 71.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003692/1.813, allocations: 113.6 kB / 0.9365 GB, free: 71.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.813, allocations: 4 kB / 0.9365 GB, free: 71.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.944e-06/1.813, allocations: 7.984 kB / 0.9365 GB, free: 71.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/1.813, allocations: 8.062 kB / 0.9365 GB, free: 71.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/1.813, allocations: 23.97 kB / 0.9365 GB, free: 71.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.308e-06/1.813, allocations: 3.938 kB / 0.9365 GB, free: 71.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/1.813, allocations: 8 kB / 0.9365 GB, free: 71.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/1.813, allocations: 11.94 kB / 0.9365 GB, free: 71.78 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 7.508e-05/1.814, allocations: 117.8 kB / 0.9367 GB, free: 71.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.962e-05/1.814, allocations: 3.906 kB / 0.9367 GB, free: 71.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006194/1.814, allocations: 241.7 kB / 0.9369 GB, free: 71.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.058e-06/1.814, allocations: 4 kB / 0.9369 GB, free: 71.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.814, allocations: 0 / 0.9369 GB, free: 71.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.578e-06/1.814, allocations: 4.031 kB / 0.9369 GB, free: 71.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/1.815, allocations: 222.6 kB / 0.9371 GB, free: 71.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.005e-06/1.815, allocations: 0 / 0.9371 GB, free: 71.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/1.815, allocations: 31.91 kB / 0.9371 GB, free: 71.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/1.815, allocations: 0 / 0.9371 GB, free: 71.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/1.815, allocations: 4 kB / 0.9371 GB, free: 71.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.889e-06/1.815, allocations: 0 / 0.9371 GB, free: 71.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.815, allocations: 0 / 0.9371 GB, free: 71.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004808/1.815, allocations: 191.5 kB / 0.9373 GB, free: 70.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.797e-05/1.815, allocations: 97.14 kB / 0.9374 GB, free: 70.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/1.816, allocations: 0 / 0.9374 GB, free: 70.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/1.816, allocations: 4 kB / 0.9374 GB, free: 70.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/1.816, allocations: 15.92 kB / 0.9374 GB, free: 70.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/1.816, allocations: 3.938 kB / 0.9374 GB, free: 70.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000182/1.816, allocations: 139.2 kB / 0.9376 GB, free: 70.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.39e-07/1.816, allocations: 0 / 0.9376 GB, free: 70.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008924/1.817, allocations: 223.7 kB / 0.9378 GB, free: 70.39 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.001489/1.818, allocations: 0.8311 MB / 0.9386 GB, free: 69.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003532/1.819, allocations: 79.86 kB / 0.9387 GB, free: 69.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.51e-06/1.819, allocations: 4 kB / 0.9387 GB, free: 69.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/1.819, allocations: 35.92 kB / 0.9387 GB, free: 69.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/1.819, allocations: 18.41 kB / 0.9387 GB, free: 69.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006128/1.82, allocations: 395.5 kB / 0.9391 GB, free: 68.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/1.82, allocations: 0.6887 MB / 0.9398 GB, free: 68.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/1.82, allocations: 47.38 kB / 0.9398 GB, free: 68.23 MB / 410.7 MB Notification: Performance of SimCode: time 2.025e-06/1.82, allocations: 0 / 0.9398 GB, free: 68.23 MB / 410.7 MB Notification: Performance of Templates: time 0.01159/1.832, allocations: 7.56 MB / 0.9472 GB, free: 60.66 MB / 410.7 MB