Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadModel(Modelica): time 1.666/1.666, allocations: 171.3 MB / 179.2 MB, free: 7.504 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.9e-05/1.906e-05, allocations: 4 kB / 222.5 MB, free: 8.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06866/0.0687, allocations: 38.76 MB / 261.3 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2738/0.3426, allocations: 66.17 MB / 327.4 MB, free: 6.133 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.3428, allocations: 67.53 kB / 327.5 MB, free: 6.098 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02224/0.3651, allocations: 5.192 MB / 332.7 MB, free: 1.754 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.071e-06/0.3651, allocations: 0 / 332.7 MB, free: 1.754 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.3651, allocations: 4 kB / 332.7 MB, free: 1.75 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003659/0.3655, allocations: 353.8 kB / 333 MB, free: 1.363 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3656, allocations: 8.031 kB / 333.1 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.3656, allocations: 4 kB / 333.1 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.3658, allocations: 163.1 kB / 333.2 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.121e-06/0.3658, allocations: 0 / 333.2 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.3658, allocations: 4 kB / 333.2 MB, free: 1.148 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.421e-05/0.3659, allocations: 7.141 kB / 333.2 MB, free: 1.145 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.177e-05/0.366, allocations: 33.64 kB / 333.3 MB, free: 1.105 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.366, allocations: 4 kB / 333.3 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.366, allocations: 4 kB / 333.3 MB, free: 1.098 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.366, allocations: 0 / 333.3 MB, free: 1.098 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.3664, allocations: 371.9 kB / 333.6 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.3665, allocations: 169.1 kB / 333.8 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.714e-05/0.3666, allocations: 88.09 kB / 333.9 MB, free: 444 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.3666, allocations: 75.28 kB / 334 MB, free: 368 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.798e-05/0.3667, allocations: 109.8 kB / 334.1 MB, free: 248 kB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.987e-06/0.3667, allocations: 3.938 kB / 334.1 MB, free: 244 kB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 8.406e-05/0.3668, allocations: 37.36 kB / 334.1 MB, free: 204 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.3669, allocations: 85.03 kB / 334.2 MB, free: 100 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.367, allocations: 104.8 kB / 334.3 MB, free: 15.99 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.3671, allocations: 29.7 kB / 334.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.805e-05/0.3672, allocations: 153.8 kB / 334.5 MB, free: 15.8 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-06/0.3672, allocations: 0 / 334.5 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-06/0.3672, allocations: 0 / 334.5 MB, free: 15.8 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3674, allocations: 310.8 kB / 334.8 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/0.3674, allocations: 4 kB / 334.8 MB, free: 15.49 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.442e-05/0.3675, allocations: 11.69 kB / 334.8 MB, free: 15.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.228e-05/0.3676, allocations: 7.984 kB / 334.8 MB, free: 15.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.401e-06/0.3676, allocations: 4.094 kB / 334.8 MB, free: 15.47 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000153/0.3677, allocations: 45.62 kB / 334.8 MB, free: 15.42 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.3678, allocations: 11.95 kB / 334.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.636e-06/0.3678, allocations: 0 / 334.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3678, allocations: 0 / 334.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.757e-05/0.3679, allocations: 0 / 334.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.3679, allocations: 4.547 kB / 334.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.348e-05/0.3679, allocations: 0 / 334.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.368, allocations: 0 / 334.9 MB, free: 15.41 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001294/0.3681, allocations: 184.2 kB / 335 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.721e-05/0.3682, allocations: 113.3 kB / 335.2 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.083e-05/0.3683, allocations: 112.8 kB / 335.3 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.16e-05/0.3684, allocations: 184.3 kB / 335.4 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.19e-05/0.3685, allocations: 176.3 kB / 335.6 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.265e-05/0.3686, allocations: 184.2 kB / 335.8 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.3689, allocations: 389.4 kB / 336.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.351e-05/0.369, allocations: 101 kB / 336.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.394e-05/0.369, allocations: 104.9 kB / 336.4 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.099e-05/0.3691, allocations: 180.3 kB / 336.6 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.078e-05/0.3692, allocations: 179.1 kB / 336.7 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.344e-05/0.3693, allocations: 188.2 kB / 336.9 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.188e-05/0.3694, allocations: 180.2 kB / 337.1 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.3696, allocations: 303.5 kB / 337.4 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.3698, allocations: 186.1 kB / 337.6 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.3699, allocations: 188.2 kB / 337.7 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.37, allocations: 110.3 kB / 337.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.3702, allocations: 180.3 kB / 338 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.672e-05/0.3702, allocations: 108.9 kB / 338.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.157e-05/0.3703, allocations: 98.94 kB / 338.2 MB, free: 11.85 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.15e-07/0.3703, allocations: 0 / 338.2 MB, free: 11.85 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004268/0.3708, allocations: 51.94 kB / 338.3 MB, free: 11.8 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0005883/0.3714, allocations: 275.9 kB / 338.6 MB, free: 11.53 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.187e-05/0.3715, allocations: 8 kB / 338.6 MB, free: 11.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.903e-06/0.3715, allocations: 0 / 338.6 MB, free: 11.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.246e-06/0.3715, allocations: 0 / 338.6 MB, free: 11.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.3719, allocations: 0.5208 MB / 339.1 MB, free: 11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002116/0.3721, allocations: 155.7 kB / 339.2 MB, free: 10.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.3725, allocations: 0.6846 MB / 339.9 MB, free: 10.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.3726, allocations: 7.438 kB / 339.9 MB, free: 10.1 MB / 282.7 MB Notification: Performance of SimCode: time 1.492e-06/0.3726, allocations: 3.938 kB / 339.9 MB, free: 10.09 MB / 282.7 MB Notification: Performance of Templates: time 0.003372/0.376, allocations: 1.202 MB / 341.1 MB, free: 8.891 MB / 282.7 MB