Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.555/1.555, allocations: 171.1 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.0003542, allocations: 8 kB / 233.2 MB, free: 3.023 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06785/0.06822, allocations: 38.77 MB / 272 MB, free: 12.18 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2802/0.3484, allocations: 67.47 MB / 339.5 MB, free: 6.449 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.3487, allocations: 66.91 kB / 339.5 MB, free: 6.414 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01977/0.3685, allocations: 4.731 MB / 344.3 MB, free: 2.418 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.301e-06/0.3685, allocations: 4 kB / 344.3 MB, free: 2.414 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.3686, allocations: 3 kB / 344.3 MB, free: 2.414 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.00105/0.3696, allocations: 0.505 MB / 344.8 MB, free: 1.871 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.3697, allocations: 15.97 kB / 344.8 MB, free: 1.855 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.418e-05/0.3698, allocations: 15.81 kB / 344.8 MB, free: 1.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.3701, allocations: 231.7 kB / 345 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/0.3703, allocations: 76.38 kB / 345.1 MB, free: 1.516 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.739e-05/0.3704, allocations: 19.25 kB / 345.1 MB, free: 1.504 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007265/0.3712, allocations: 255.8 kB / 345.4 MB, free: 1.293 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.3712, allocations: 11.27 kB / 345.4 MB, free: 1.285 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/0.3713, allocations: 11.31 kB / 345.4 MB, free: 1.277 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.022e-06/0.3713, allocations: 4 kB / 345.4 MB, free: 1.273 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009051/0.3722, allocations: 262.4 kB / 345.7 MB, free: 1.066 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.3734, allocations: 0.6678 MB / 346.3 MB, free: 468 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008244/0.3742, allocations: 268.8 kB / 346.6 MB, free: 232 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.3743, allocations: 7.984 kB / 346.6 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.3743, allocations: 38.25 kB / 346.6 MB, free: 180 kB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 3.023e-06/0.3743, allocations: 0 / 346.6 MB, free: 180 kB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.003895/0.3782, allocations: 1.54 MB / 348.2 MB, free: 14.63 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.3783, allocations: 93.05 kB / 348.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.3786, allocations: 147.9 kB / 348.4 MB, free: 14.38 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.3786, allocations: 29.14 kB / 348.4 MB, free: 14.35 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.3787, allocations: 177.7 kB / 348.6 MB, free: 14.19 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.39e-05/0.3788, allocations: 88.53 kB / 348.7 MB, free: 14.11 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/0.3789, allocations: 3.5 kB / 348.7 MB, free: 14.11 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.379, allocations: 325.5 kB / 349 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.3793, allocations: 73.08 kB / 349.1 MB, free: 13.73 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.3796, allocations: 100.1 kB / 349.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.3798, allocations: 91.14 kB / 349.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3799, allocations: 0 / 349.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006725/0.3805, allocations: 232 kB / 349.5 MB, free: 13.4 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.3806, allocations: 8 kB / 349.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.3806, allocations: 3.953 kB / 349.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3806, allocations: 7.938 kB / 349.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005307/0.3812, allocations: 103.2 kB / 349.6 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.3812, allocations: 0 / 349.6 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.3814, allocations: 19.05 kB / 349.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.3814, allocations: 11.19 kB / 349.7 MB, free: 13.26 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.0001689/0.3816, allocations: 131.6 kB / 349.8 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-05/0.3817, allocations: 18.5 kB / 349.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.756e-05/0.3818, allocations: 26.52 kB / 349.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.3818, allocations: 7.953 kB / 349.8 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.003e-06/0.3818, allocations: 0.9375 kB / 349.8 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.547e-06/0.3818, allocations: 4 kB / 349.8 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.3839, allocations: 0.924 MB / 350.8 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.3839, allocations: 4 kB / 350.8 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006699/0.3846, allocations: 123.7 kB / 350.9 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.3846, allocations: 7.938 kB / 350.9 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.3847, allocations: 7.422 kB / 350.9 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.632e-06/0.3847, allocations: 4 kB / 350.9 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.375e-06/0.3847, allocations: 11.94 kB / 350.9 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.3863, allocations: 0.7054 MB / 351.6 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.3865, allocations: 107.8 kB / 351.7 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.3866, allocations: 7.875 kB / 351.7 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.3869, allocations: 35.16 kB / 351.8 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/0.387, allocations: 23.41 kB / 351.8 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.3871, allocations: 11.98 kB / 351.8 MB, free: 11.22 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001367/0.3872, allocations: 126.5 kB / 351.9 MB, free: 11.11 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.44e-07/0.3872, allocations: 0 / 351.9 MB, free: 11.11 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005133/0.3877, allocations: 59.44 kB / 352 MB, free: 11.06 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.0001649/0.3879, allocations: 106.2 kB / 352.1 MB, free: 10.95 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007739/0.3887, allocations: 238 kB / 352.3 MB, free: 10.76 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.271e-06/0.3887, allocations: 0 / 352.3 MB, free: 10.76 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000505/0.3893, allocations: 158.9 kB / 352.5 MB, free: 10.63 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004871/0.3898, allocations: 51.08 kB / 352.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004789/0.3946, allocations: 1.305 MB / 353.8 MB, free: 9.293 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.395, allocations: 0.7444 MB / 354.6 MB, free: 8.523 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.3952, allocations: 23.42 kB / 354.6 MB, free: 8.5 MB / 282.7 MB Notification: Performance of SimCode: time 1.6e-06/0.3952, allocations: 4 kB / 354.6 MB, free: 8.496 MB / 282.7 MB Notification: Performance of Templates: time 0.005385/0.4006, allocations: 2.481 MB / 357.1 MB, free: 6.035 MB / 282.7 MB