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_TX.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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 2.413/2.413, allocations: 194.8 MB / 212.3 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003515, allocations: 11.98 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09552/0.09589, allocations: 44.49 MB / 309 MB, free: 1.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.414/2.51, allocations: 0.7439 GB / 1.046 GB, free: 95.54 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/2.51, allocations: 79.78 kB / 1.046 GB, free: 95.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2667/2.777, allocations: 78.07 MB / 1.122 GB, free: 24.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.224e-06/2.777, allocations: 0 / 1.122 GB, free: 24.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.614e-06/2.777, allocations: 0 / 1.122 GB, free: 24.38 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.0009782/2.778, allocations: 490.7 kB / 1.122 GB, free: 23.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/2.778, allocations: 8.031 kB / 1.122 GB, free: 23.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003867/2.779, allocations: 39.91 kB / 1.122 GB, free: 23.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/2.779, allocations: 190.9 kB / 1.123 GB, free: 23.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/2.779, allocations: 7.938 kB / 1.123 GB, free: 23.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/2.779, allocations: 4 kB / 1.123 GB, free: 23.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/2.779, allocations: 79.38 kB / 1.123 GB, free: 23.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/2.779, allocations: 0 / 1.123 GB, free: 23.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/2.779, allocations: 4 kB / 1.123 GB, free: 23.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/2.779, allocations: 0 / 1.123 GB, free: 23.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/2.779, allocations: 55.83 kB / 1.123 GB, free: 23.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/2.78, allocations: 190.6 kB / 1.123 GB, free: 23.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004625/2.78, allocations: 121.1 kB / 1.123 GB, free: 23.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006159/2.781, allocations: 133.1 kB / 1.123 GB, free: 22.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/2.781, allocations: 38.5 kB / 1.123 GB, free: 22.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.625e-06/2.781, allocations: 0 / 1.123 GB, free: 22.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.000543/2.781, allocations: 133.4 kB / 1.123 GB, free: 22.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/2.781, allocations: 81.11 kB / 1.123 GB, free: 22.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/2.782, allocations: 137.8 kB / 1.124 GB, free: 22.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/2.782, allocations: 25.7 kB / 1.124 GB, free: 22.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.727e-05/2.782, allocations: 154.6 kB / 1.124 GB, free: 22.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/2.782, allocations: 31.58 kB / 1.124 GB, free: 22.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-06/2.782, allocations: 4 kB / 1.124 GB, free: 22.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.476e-05/2.782, allocations: 318.8 kB / 1.124 GB, free: 21.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/2.782, allocations: 23.97 kB / 1.124 GB, free: 21.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/2.782, allocations: 51.39 kB / 1.124 GB, free: 21.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/2.782, allocations: 35.97 kB / 1.124 GB, free: 21.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/2.782, allocations: 0 / 1.124 GB, free: 21.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003523/2.783, allocations: 109.5 kB / 1.124 GB, free: 21.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/2.783, allocations: 7.984 kB / 1.124 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/2.783, allocations: 4 kB / 1.124 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/2.783, allocations: 0 / 1.124 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/2.783, allocations: 16 kB / 1.124 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/2.783, allocations: 4.062 kB / 1.124 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.901e-05/2.783, allocations: 11.89 kB / 1.124 GB, free: 21.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/2.783, allocations: 4 kB / 1.124 GB, free: 21.64 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.57e-05/2.783, allocations: 121.7 kB / 1.124 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.228e-05/2.783, allocations: 4 kB / 1.124 GB, free: 21.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004354/2.784, allocations: 129.3 kB / 1.125 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/2.784, allocations: 4 kB / 1.125 GB, free: 21.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/2.784, allocations: 4 kB / 1.125 GB, free: 21.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/2.784, allocations: 0 / 1.125 GB, free: 21.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/2.784, allocations: 185.5 kB / 1.125 GB, free: 21.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/2.784, allocations: 0 / 1.125 GB, free: 21.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/2.784, allocations: 15.98 kB / 1.125 GB, free: 21.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/2.784, allocations: 0 / 1.125 GB, free: 21.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/2.784, allocations: 4 kB / 1.125 GB, free: 21.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/2.784, allocations: 0 / 1.125 GB, free: 21.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/2.784, allocations: 0 / 1.125 GB, free: 21.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005113/2.784, allocations: 182.2 kB / 1.125 GB, free: 20.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.361e-05/2.785, allocations: 101.1 kB / 1.125 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/2.785, allocations: 64 / 1.125 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.695e-05/2.785, allocations: 8 kB / 1.125 GB, free: 20.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/2.785, allocations: 11.97 kB / 1.125 GB, free: 20.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/2.785, allocations: 4 kB / 1.125 GB, free: 20.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.631e-05/2.785, allocations: 111.6 kB / 1.125 GB, free: 20.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-07/2.785, allocations: 4.062 kB / 1.125 GB, free: 20.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001113/2.786, allocations: 267.7 kB / 1.125 GB, free: 20.4 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.002263/2.788, allocations: 0.9379 MB / 1.126 GB, free: 19.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003378/2.789, allocations: 67.83 kB / 1.126 GB, free: 19.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/2.789, allocations: 0 / 1.126 GB, free: 19.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/2.789, allocations: 35.92 kB / 1.126 GB, free: 19.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/2.789, allocations: 23.92 kB / 1.126 GB, free: 19.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006551/2.79, allocations: 401.8 kB / 1.127 GB, free: 18.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/2.79, allocations: 0.6926 MB / 1.128 GB, free: 18.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.71e-05/2.79, allocations: 19.44 kB / 1.128 GB, free: 18.16 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/2.79, allocations: 0 / 1.128 GB, free: 18.16 MB / 410.7 MB Notification: Performance of Templates: time 0.01744/2.808, allocations: 8.084 MB / 1.135 GB, free: 10.07 MB / 410.7 MB