Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.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.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadModel(Modelica): time 2.271/2.271, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004675/0.0004674, allocations: 8 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09851/0.099, allocations: 44.49 MB / 309 MB, free: 388 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4321/0.5312, allocations: 73.71 MB / 382.7 MB, free: 15.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.5315, allocations: 68.66 kB / 382.8 MB, free: 15.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03475/0.5663, allocations: 7.541 MB / 390.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5664, allocations: 0 / 390.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.054e-05/0.5664, allocations: 7.906 kB / 390.4 MB, free: 14.61 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001974/0.5684, allocations: 0.6515 MB / 391 MB, free: 14.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.5684, allocations: 7.719 kB / 391 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.5686, allocations: 39.03 kB / 391.1 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.569, allocations: 260.2 kB / 391.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005417/0.5695, allocations: 132.7 kB / 391.4 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-05/0.5696, allocations: 24.16 kB / 391.5 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.5711, allocations: 411.5 kB / 391.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/0.5712, allocations: 7.844 kB / 391.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.943e-05/0.5712, allocations: 11.81 kB / 391.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.5713, allocations: 7.844 kB / 391.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/0.5735, allocations: 458.5 kB / 392.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.5757, allocations: 0.9834 MB / 393.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001869/0.5776, allocations: 451.3 kB / 393.8 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.5777, allocations: 7.906 kB / 393.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.5777, allocations: 34.5 kB / 393.8 MB, free: 13.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 4.819e-06/0.5777, allocations: 0 / 393.8 MB, free: 13.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.007754/0.5855, allocations: 2.511 MB / 396.3 MB, free: 11.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.5856, allocations: 106.6 kB / 396.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.5858, allocations: 212.1 kB / 396.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.166e-05/0.5859, allocations: 33.02 kB / 396.7 MB, free: 11.44 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.801e-05/0.586, allocations: 138.8 kB / 396.8 MB, free: 11.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.5861, allocations: 146.3 kB / 396.9 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.5862, allocations: 6.5 kB / 396.9 MB, free: 11.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.049e-05/0.5862, allocations: 339.9 kB / 397.3 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004933/0.5868, allocations: 109.3 kB / 397.4 MB, free: 10.94 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00052/0.5873, allocations: 166.2 kB / 397.5 MB, free: 10.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005602/0.5879, allocations: 141.9 kB / 397.7 MB, free: 10.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5879, allocations: 0 / 397.7 MB, free: 10.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001262/0.5891, allocations: 381.9 kB / 398.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.5892, allocations: 3.875 kB / 398.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.5892, allocations: 0 / 398.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.5892, allocations: 3.938 kB / 398.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.5905, allocations: 168.8 kB / 398.2 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.5905, allocations: 3.906 kB / 398.2 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005418/0.5911, allocations: 33.89 kB / 398.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.988e-05/0.5911, allocations: 10.56 kB / 398.3 MB, free: 10.77 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (47): * Single equations (assignments): 47 * 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.0003177/0.5915, allocations: 151.6 kB / 398.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.5916, allocations: 27.17 kB / 398.5 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.751e-05/0.5917, allocations: 32.81 kB / 398.5 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.5918, allocations: 7.812 kB / 398.5 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.5918, allocations: 0 / 398.5 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.5918, allocations: 3.797 kB / 398.5 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003679/0.5955, allocations: 1.39 MB / 399.9 MB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.5956, allocations: 3.906 kB / 399.9 MB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/0.5972, allocations: 201.5 kB / 400.1 MB, free: 9.965 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.294e-05/0.5973, allocations: 7.75 kB / 400.1 MB, free: 9.961 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.498e-05/0.5973, allocations: 22.78 kB / 400.1 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-06/0.5974, allocations: 7.781 kB / 400.1 MB, free: 9.953 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5974, allocations: 0 / 400.1 MB, free: 9.953 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003554/0.6009, allocations: 1.048 MB / 401.2 MB, free: 9.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002363/0.6012, allocations: 131 kB / 401.3 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.694e-05/0.6013, allocations: 7.531 kB / 401.3 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000727/0.6021, allocations: 71.8 kB / 401.4 MB, free: 9.453 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.6022, allocations: 41.69 kB / 401.4 MB, free: 9.445 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.6023, allocations: 17.16 kB / 401.4 MB, free: 9.445 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001732/0.6025, allocations: 154.8 kB / 401.6 MB, free: 9.363 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6025, allocations: 4 kB / 401.6 MB, free: 9.359 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006699/0.6032, allocations: 81.84 kB / 401.7 MB, free: 9.359 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (elastoBacklash2.phi_rel,elastoBacklash2.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,springDamper.phi_rel,springDamper.w_rel) * 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 (38): * Single equations (assignments): 38 * 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.0001776/0.6033, allocations: 111.6 kB / 401.8 MB, free: 9.266 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001866/0.6052, allocations: 406.7 kB / 402.2 MB, free: 9.238 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6052, allocations: 4.188 kB / 402.2 MB, free: 9.234 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.6066, allocations: 282.8 kB / 402.5 MB, free: 9.215 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.6079, allocations: 58.02 kB / 402.5 MB, free: 9.203 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.6198, allocations: 1.747 MB / 404.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.6202, allocations: 0.7715 MB / 405 MB, free: 7.762 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000463/0.6207, allocations: 44.03 kB / 405.1 MB, free: 7.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/0.621, allocations: 32.33 kB / 405.1 MB, free: 7.742 MB / 314.7 MB Notification: Performance of SimCode: time 1.172e-06/0.621, allocations: 0 / 405.1 MB, free: 7.742 MB / 314.7 MB Notification: Performance of Templates: time 0.0138/0.6348, allocations: 3.701 MB / 408.8 MB, free: 6.598 MB / 314.7 MB