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_sine.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_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadModel(Modelica): time 1.993/1.993, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.0003541, allocations: 8 kB / 263.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0799/0.08028, allocations: 44.51 MB / 308.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002797/0.08313, allocations: 1.812 MB / 310.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.08455, allocations: 0.6803 MB / 310.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.038e-05/0.0846, allocations: 4 kB / 310.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.297e-05/0.08468, allocations: 15.88 kB / 310.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.08481, allocations: 7.984 kB / 310.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006996/0.08552, allocations: 155.7 kB / 311 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.012e-05/0.0856, allocations: 11.97 kB / 311 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.493e-05/0.08565, allocations: 8 kB / 311 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.259e-05/0.0857, allocations: 11.94 kB / 311.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.915e-05/0.08578, allocations: 15.91 kB / 311.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.08581, allocations: 4 kB / 311.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002701/0.08609, allocations: 111.9 kB / 311.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.08612, allocations: 4 kB / 311.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.415e-05/0.08617, allocations: 29.64 kB / 311.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.08638, allocations: 79.86 kB / 311.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.392e-06/0.0864, allocations: 0 / 311.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.08642, allocations: 3.938 kB / 311.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.403e-06/0.08644, allocations: 4 kB / 311.3 MB, free: 14.05 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.000435/0.08688, allocations: 347.3 kB / 311.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.08694, allocations: 12.03 kB / 311.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.08698, allocations: 0 / 311.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.08717, allocations: 171 kB / 311.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.08719, allocations: 0 / 311.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.08721, allocations: 0 / 311.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.705e-05/0.08732, allocations: 33.7 kB / 311.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.703e-06/0.08734, allocations: 0 / 311.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.08736, allocations: 4 kB / 311.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.775e-06/0.08738, allocations: 0 / 311.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.752e-05/0.08742, allocations: 11.92 kB / 311.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.08787, allocations: 396.1 kB / 312.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.08799, allocations: 169.1 kB / 312.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.422e-05/0.08805, allocations: 83.22 kB / 312.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.876e-05/0.08813, allocations: 113.8 kB / 312.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 4.477e-06/0.08815, allocations: 3.984 kB / 312.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 9.152e-05/0.08825, allocations: 37.55 kB / 312.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.811e-05/0.08836, allocations: 152.4 kB / 312.8 MB, free: 12.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.08851, allocations: 122.1 kB / 312.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.08855, allocations: 25.7 kB / 312.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.971e-05/0.08866, allocations: 158.5 kB / 313.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-06/0.08868, allocations: 0 / 313.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-06/0.08869, allocations: 0 / 313.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.08886, allocations: 310.8 kB / 313.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.08889, allocations: 8 kB / 313.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.784e-05/0.08893, allocations: 7.984 kB / 313.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.08e-05/0.08896, allocations: 0 / 313.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.966e-06/0.08898, allocations: 0 / 313.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001324/0.08912, allocations: 45.73 kB / 313.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.08916, allocations: 8 kB / 313.5 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.638e-06/0.08918, allocations: 7.922 kB / 313.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.0892, allocations: 0 / 313.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.996e-05/0.08927, allocations: 0 / 313.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.942e-06/0.08928, allocations: 0 / 313.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.454e-05/0.08935, allocations: 4 kB / 313.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.08938, allocations: 3.953 kB / 313.5 MB, free: 11.63 MB / 266.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 () * Number of clocked 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.0001363/0.08953, allocations: 181.1 kB / 313.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.372e-05/0.08964, allocations: 112.9 kB / 313.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.13e-05/0.08973, allocations: 112.4 kB / 313.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-05/0.08984, allocations: 184.3 kB / 314.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-05/0.08994, allocations: 180.2 kB / 314.2 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-05/0.09005, allocations: 176.3 kB / 314.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.09039, allocations: 413.2 kB / 314.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.113e-05/0.09047, allocations: 108.9 kB / 314.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.681e-05/0.09053, allocations: 105 kB / 315 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.509e-05/0.09064, allocations: 180.2 kB / 315.2 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.26e-05/0.09075, allocations: 176.3 kB / 315.4 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.185e-05/0.09085, allocations: 180.3 kB / 315.6 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.809e-05/0.09096, allocations: 192.2 kB / 315.7 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.09118, allocations: 307.8 kB / 316 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.0913, allocations: 182.1 kB / 316.2 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.09143, allocations: 184.2 kB / 316.4 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.09159, allocations: 112.9 kB / 316.5 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.372e-05/0.0917, allocations: 176.3 kB / 316.7 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.729e-05/0.09177, allocations: 104.9 kB / 316.8 MB, free: 8.117 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.838e-05/0.09188, allocations: 103.5 kB / 316.9 MB, free: 8.016 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.0919, allocations: 0 / 316.9 MB, free: 8.016 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004039/0.09231, allocations: 39.98 kB / 316.9 MB, free: 7.977 MB / 266.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 () * Number of clocked 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.0005994/0.09292, allocations: 279.4 kB / 317.2 MB, free: 7.711 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.907e-05/0.09302, allocations: 8 kB / 317.2 MB, free: 7.703 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.047e-06/0.09304, allocations: 0 / 317.2 MB, free: 7.703 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.313e-06/0.09306, allocations: 4.062 kB / 317.2 MB, free: 7.699 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.09348, allocations: 0.5262 MB / 317.7 MB, free: 7.168 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002647/0.09376, allocations: 195.7 kB / 317.9 MB, free: 6.945 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.09413, allocations: 0.6809 MB / 318.6 MB, free: 6.238 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.09418, allocations: 7.438 kB / 318.6 MB, free: 6.234 MB / 266.7 MB Notification: Performance of SimCode: time 1.422e-06/0.09419, allocations: 4 kB / 318.6 MB, free: 6.23 MB / 266.7 MB Notification: Performance of Templates: time 0.003448/0.09765, allocations: 1.163 MB / 319.8 MB, free: 5.062 MB / 266.7 MB