Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadModel(Modelica): time 1.943/1.943, allocations: 194.8 MB / 212.3 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.000368, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1014, allocations: 44.51 MB / 309 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4077/0.5091, allocations: 73.69 MB / 382.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.5095, allocations: 71.11 kB / 382.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03485/0.5443, allocations: 7.545 MB / 390.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5444, allocations: 0 / 390.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.301e-05/0.5444, allocations: 11.75 kB / 390.3 MB, free: 14.07 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.00198/0.5464, allocations: 0.6383 MB / 390.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.5465, allocations: 11.69 kB / 390.9 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.5466, allocations: 37.78 kB / 391 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.547, allocations: 267.4 kB / 391.2 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005686/0.5476, allocations: 127.2 kB / 391.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.181e-05/0.5477, allocations: 29.66 kB / 391.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.5492, allocations: 406.3 kB / 391.8 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.5492, allocations: 14.47 kB / 391.8 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.775e-05/0.5493, allocations: 5.75 kB / 391.8 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.5493, allocations: 7.75 kB / 391.8 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.5515, allocations: 458.6 kB / 392.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.5533, allocations: 0.981 MB / 393.2 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.5552, allocations: 452.6 kB / 393.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.5552, allocations: 6.453 kB / 393.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.5553, allocations: 46.25 kB / 393.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 3.075e-06/0.5553, allocations: 0 / 393.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.00782/0.5631, allocations: 2.499 MB / 396.2 MB, free: 11.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.5632, allocations: 110.7 kB / 396.3 MB, free: 11.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.5635, allocations: 212.3 kB / 396.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.58e-05/0.5635, allocations: 33.02 kB / 396.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.583e-05/0.5636, allocations: 201.3 kB / 396.8 MB, free: 10.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.5638, allocations: 141.7 kB / 396.9 MB, free: 10.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.5638, allocations: 10.72 kB / 396.9 MB, free: 10.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.798e-05/0.5639, allocations: 322.2 kB / 397.2 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004925/0.5644, allocations: 116.6 kB / 397.4 MB, free: 10.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005162/0.5649, allocations: 169.6 kB / 397.5 MB, free: 10.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005237/0.5655, allocations: 131.5 kB / 397.6 MB, free: 10.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5655, allocations: 0 / 397.6 MB, free: 10.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001252/0.5667, allocations: 370 kB / 398 MB, free: 10.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.5668, allocations: 6 kB / 398 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.5668, allocations: 3.906 kB / 398 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.5668, allocations: 3.875 kB / 398 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.5681, allocations: 172.3 kB / 398.2 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.5681, allocations: 7.578 kB / 398.2 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004323/0.5686, allocations: 26.47 kB / 398.2 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.5686, allocations: 11.66 kB / 398.2 MB, free: 10.19 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.0002242/0.5689, allocations: 146.3 kB / 398.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.569, allocations: 34.22 kB / 398.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.4e-05/0.5691, allocations: 30.91 kB / 398.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.5691, allocations: 6.922 kB / 398.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.5691, allocations: 0 / 398.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.5691, allocations: 3.906 kB / 398.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003576/0.5727, allocations: 1.399 MB / 399.9 MB, free: 9.383 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.5728, allocations: 8.188 kB / 399.9 MB, free: 9.375 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/0.5744, allocations: 207.9 kB / 400.1 MB, free: 9.363 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.318e-05/0.5744, allocations: 3.844 kB / 400.1 MB, free: 9.363 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.685e-05/0.5745, allocations: 18.91 kB / 400.1 MB, free: 9.355 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.5745, allocations: 3.938 kB / 400.1 MB, free: 9.355 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.5745, allocations: 3.906 kB / 400.1 MB, free: 9.355 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003448/0.578, allocations: 1.051 MB / 401.1 MB, free: 8.973 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.5782, allocations: 124.7 kB / 401.3 MB, free: 8.867 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.722e-05/0.5783, allocations: 11.12 kB / 401.3 MB, free: 8.867 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007506/0.5791, allocations: 67.55 kB / 401.3 MB, free: 8.859 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.5793, allocations: 45.73 kB / 401.4 MB, free: 8.852 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/0.5793, allocations: 11.58 kB / 401.4 MB, free: 8.852 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001658/0.5795, allocations: 154.3 kB / 401.5 MB, free: 8.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5795, allocations: 3.906 kB / 401.6 MB, free: 8.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006097/0.5801, allocations: 80.28 kB / 401.6 MB, free: 8.77 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.0001576/0.5803, allocations: 113.1 kB / 401.7 MB, free: 8.676 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001669/0.582, allocations: 404.4 kB / 402.1 MB, free: 8.648 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.582, allocations: 3.938 kB / 402.1 MB, free: 8.645 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.5832, allocations: 281.4 kB / 402.4 MB, free: 8.625 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008472/0.5841, allocations: 57.64 kB / 402.5 MB, free: 8.617 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009191/0.5933, allocations: 1.777 MB / 404.2 MB, free: 7.836 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.5936, allocations: 0.7766 MB / 405 MB, free: 7.137 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/0.5939, allocations: 34.09 kB / 405.1 MB, free: 7.129 MB / 314.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5939, allocations: 3.938 kB / 405.1 MB, free: 7.125 MB / 314.7 MB Notification: Performance of Templates: time 0.007998/0.6019, allocations: 3.732 MB / 408.8 MB, free: 6.242 MB / 314.7 MB