Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.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.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.1_cpp_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadModel(Modelica): time 1.69/1.69, allocations: 171.1 MB / 187.3 MB, free: 1.055 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003863, allocations: 8 kB / 233.8 MB, free: 3.078 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08607/0.08648, allocations: 38.77 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3461/0.4327, allocations: 67.45 MB / 340 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.433, allocations: 69.72 kB / 340.1 MB, free: 6.477 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02246/0.4555, allocations: 4.729 MB / 344.8 MB, free: 2.484 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4555, allocations: 0 / 344.8 MB, free: 2.484 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.4556, allocations: 8 kB / 344.8 MB, free: 2.477 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001469/0.457, allocations: 0.5137 MB / 345.3 MB, free: 1.926 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.4571, allocations: 8.031 kB / 345.3 MB, free: 1.918 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.771e-05/0.4572, allocations: 23.8 kB / 345.3 MB, free: 1.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.4576, allocations: 225.7 kB / 345.6 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003373/0.4579, allocations: 72.69 kB / 345.6 MB, free: 1.578 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.004e-05/0.458, allocations: 18.56 kB / 345.7 MB, free: 1.566 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009433/0.459, allocations: 261.4 kB / 345.9 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.459, allocations: 7.844 kB / 345.9 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.4591, allocations: 3.812 kB / 345.9 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.4591, allocations: 4 kB / 345.9 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.4604, allocations: 266 kB / 346.2 MB, free: 1.129 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.4618, allocations: 0.6675 MB / 346.9 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.463, allocations: 269.1 kB / 347.1 MB, free: 296 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.463, allocations: 3.984 kB / 347.1 MB, free: 292 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.4631, allocations: 41.94 kB / 347.2 MB, free: 244 kB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 3.236e-06/0.4631, allocations: 0 / 347.2 MB, free: 244 kB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.005083/0.4682, allocations: 1.546 MB / 348.7 MB, free: 14.69 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.4683, allocations: 81.3 kB / 348.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.4685, allocations: 159.5 kB / 348.9 MB, free: 14.44 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/0.4686, allocations: 37.52 kB / 349 MB, free: 14.4 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.4687, allocations: 180.3 kB / 349.2 MB, free: 14.23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.4688, allocations: 91.41 kB / 349.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.213e-05/0.4689, allocations: 2.938 kB / 349.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.469, allocations: 322.5 kB / 349.6 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.4693, allocations: 67.97 kB / 349.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.4697, allocations: 112.8 kB / 349.7 MB, free: 13.69 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.4701, allocations: 83.36 kB / 349.8 MB, free: 13.63 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4701, allocations: 3.938 kB / 349.8 MB, free: 13.63 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008302/0.4709, allocations: 230 kB / 350 MB, free: 13.45 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.471, allocations: 11.95 kB / 350.1 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.471, allocations: 0 / 350.1 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.471, allocations: 4 kB / 350.1 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007914/0.4718, allocations: 103 kB / 350.2 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/0.4719, allocations: 4 kB / 350.2 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.4722, allocations: 18.8 kB / 350.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.4722, allocations: 15.8 kB / 350.2 MB, free: 13.3 MB / 282.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 (31): * Single equations (assignments): 31 * 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.000186/0.4724, allocations: 131.5 kB / 350.3 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.608e-05/0.4725, allocations: 15.81 kB / 350.3 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.557e-05/0.4726, allocations: 26.55 kB / 350.4 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.4726, allocations: 4 kB / 350.4 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.4726, allocations: 3.984 kB / 350.4 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.4726, allocations: 0 / 350.4 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/0.4751, allocations: 0.9355 MB / 351.3 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.4751, allocations: 4 kB / 351.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009987/0.4761, allocations: 123.7 kB / 351.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.4761, allocations: 4 kB / 351.4 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.4762, allocations: 7.688 kB / 351.4 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.4762, allocations: 0 / 351.4 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/0.4762, allocations: 4 kB / 351.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/0.4783, allocations: 0.6553 MB / 352.1 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.4785, allocations: 108 kB / 352.2 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.909e-05/0.4786, allocations: 11.44 kB / 352.2 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/0.4791, allocations: 31.59 kB / 352.3 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.971e-05/0.4792, allocations: 19.88 kB / 352.3 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.4792, allocations: 19.39 kB / 352.3 MB, free: 11.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001386/0.4794, allocations: 126.5 kB / 352.4 MB, free: 11.24 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.4794, allocations: 0 / 352.4 MB, free: 11.24 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004958/0.4799, allocations: 59.06 kB / 352.5 MB, free: 11.19 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (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 (25): * Single equations (assignments): 25 * 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.0001922/0.4801, allocations: 106.8 kB / 352.6 MB, free: 11.08 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.4812, allocations: 233.6 kB / 352.8 MB, free: 10.89 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4812, allocations: 0 / 352.8 MB, free: 10.89 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006819/0.4819, allocations: 162.7 kB / 353 MB, free: 10.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.4825, allocations: 39.28 kB / 353 MB, free: 10.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007201/0.4897, allocations: 1.316 MB / 354.3 MB, free: 9.418 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.4901, allocations: 0.7406 MB / 355.1 MB, free: 8.652 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.4903, allocations: 27.42 kB / 355.1 MB, free: 8.625 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.4903, allocations: 0 / 355.1 MB, free: 8.625 MB / 282.7 MB Notification: Performance of Templates: time 0.00691/0.4973, allocations: 2.486 MB / 357.6 MB, free: 6.164 MB / 282.7 MB