Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadModel(Modelica): time 1.7/1.7, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003493, allocations: 12 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07892/0.07929, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002899/0.08224, allocations: 1.811 MB / 274.4 MB, free: 9.711 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.08376, allocations: 0.6718 MB / 275.1 MB, free: 9.035 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.806e-05/0.08381, allocations: 0 / 275.1 MB, free: 9.035 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.814e-05/0.08389, allocations: 3.938 kB / 275.1 MB, free: 9.031 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.08403, allocations: 11.98 kB / 275.1 MB, free: 9.02 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007612/0.0848, allocations: 159.7 kB / 275.3 MB, free: 8.863 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 6.859e-05/0.08488, allocations: 23.81 kB / 275.3 MB, free: 8.84 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.08493, allocations: 3.984 kB / 275.3 MB, free: 8.836 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.366e-05/0.08499, allocations: 11.98 kB / 275.3 MB, free: 8.824 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.567e-05/0.08507, allocations: 11.94 kB / 275.3 MB, free: 8.812 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.0851, allocations: 0 / 275.3 MB, free: 8.812 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.0854, allocations: 119.8 kB / 275.5 MB, free: 8.695 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.08543, allocations: 4 kB / 275.5 MB, free: 8.691 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.08546, allocations: 29.64 kB / 275.5 MB, free: 8.656 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.0857, allocations: 83.86 kB / 275.6 MB, free: 8.574 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.08572, allocations: 0 / 275.6 MB, free: 8.574 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.08573, allocations: 0 / 275.6 MB, free: 8.574 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.08574, allocations: 0 / 275.6 MB, free: 8.574 MB / 234.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.0003649/0.08611, allocations: 351.2 kB / 275.9 MB, free: 8.184 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.08617, allocations: 8.031 kB / 275.9 MB, free: 8.176 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.08621, allocations: 3.906 kB / 275.9 MB, free: 8.172 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.08636, allocations: 167.3 kB / 276.1 MB, free: 7.969 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.08639, allocations: 3.953 kB / 276.1 MB, free: 7.965 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.08641, allocations: 4 kB / 276.1 MB, free: 7.961 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.08652, allocations: 37.69 kB / 276.1 MB, free: 7.918 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.08654, allocations: 0 / 276.1 MB, free: 7.918 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.08656, allocations: 0 / 276.1 MB, free: 7.918 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.08658, allocations: 4 kB / 276.1 MB, free: 7.914 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.588e-05/0.08661, allocations: 3.938 kB / 276.1 MB, free: 7.91 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.08701, allocations: 400 kB / 276.5 MB, free: 7.469 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.312e-05/0.08711, allocations: 169.2 kB / 276.7 MB, free: 7.293 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.08715, allocations: 79.28 kB / 276.8 MB, free: 7.215 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.551e-05/0.08722, allocations: 109.8 kB / 276.9 MB, free: 7.098 MB / 234.7 MB Notification: Performance of pre-optimization done (n=0): time 1.462e-06/0.08723, allocations: 3.938 kB / 276.9 MB, free: 7.094 MB / 234.7 MB Notification: Performance of matching and sorting (n=0): time 7.611e-05/0.08731, allocations: 25.7 kB / 276.9 MB, free: 7.062 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/0.0874, allocations: 85.05 kB / 277 MB, free: 6.961 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.08754, allocations: 121.8 kB / 277.1 MB, free: 6.832 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.08758, allocations: 25.7 kB / 277.1 MB, free: 6.801 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.08765, allocations: 88.03 kB / 277.2 MB, free: 6.711 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-06/0.08766, allocations: 0 / 277.2 MB, free: 6.711 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/0.08768, allocations: 4 kB / 277.2 MB, free: 6.707 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.08781, allocations: 314.8 kB / 277.5 MB, free: 6.391 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.08783, allocations: 0 / 277.5 MB, free: 6.391 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.742e-05/0.08787, allocations: 7.984 kB / 277.5 MB, free: 6.383 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.724e-05/0.08791, allocations: 12.05 kB / 277.6 MB, free: 6.371 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.08792, allocations: 0 / 277.6 MB, free: 6.371 MB / 234.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001227/0.08805, allocations: 45.62 kB / 277.6 MB, free: 6.32 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.08808, allocations: 5.094 kB / 277.6 MB, free: 6.316 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.08809, allocations: 4.25 kB / 277.6 MB, free: 6.312 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.08811, allocations: 0 / 277.6 MB, free: 6.312 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.433e-05/0.08818, allocations: 4 kB / 277.6 MB, free: 6.309 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.08819, allocations: 3.984 kB / 277.6 MB, free: 6.305 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.135e-05/0.08825, allocations: 0 / 277.6 MB, free: 6.305 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.08828, allocations: 8.016 kB / 277.6 MB, free: 6.297 MB / 234.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.0001149/0.08841, allocations: 189.1 kB / 277.8 MB, free: 6.102 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.626e-05/0.0885, allocations: 108.9 kB / 277.9 MB, free: 5.988 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.521e-05/0.08856, allocations: 112.5 kB / 278 MB, free: 5.875 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.271e-05/0.08865, allocations: 180.2 kB / 278.2 MB, free: 5.691 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.96e-05/0.0887, allocations: 104.9 kB / 278.3 MB, free: 5.582 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.002e-05/0.0888, allocations: 186.1 kB / 278.5 MB, free: 5.375 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.403e-05/0.0889, allocations: 180.2 kB / 278.7 MB, free: 5.191 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.08904, allocations: 112.9 kB / 278.8 MB, free: 5.074 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/0.08912, allocations: 176.3 kB / 278.9 MB, free: 4.895 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.98e-05/0.08923, allocations: 259.4 kB / 279.2 MB, free: 4.633 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001939/0.08943, allocations: 387 kB / 279.6 MB, free: 4.23 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.108e-05/0.0895, allocations: 105 kB / 279.7 MB, free: 4.121 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.452e-05/0.08958, allocations: 91.27 kB / 279.8 MB, free: 4.031 MB / 234.7 MB Notification: Performance of Backend: time 6.61e-07/0.08959, allocations: 0 / 279.8 MB, free: 4.031 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0007556/0.09036, allocations: 175.9 kB / 279.9 MB, free: 3.863 MB / 234.7 MB Notification: Performance of SimCode: time 0.0005478/0.09092, allocations: 0.9184 MB / 280.9 MB, free: 2.891 MB / 234.7 MB Notification: Performance of Templates: time 0.004463/0.0954, allocations: 1.013 MB / 281.9 MB, free: 1.879 MB / 234.7 MB