Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.836/1.836, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003719, allocations: 12 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08182/0.08222, allocations: 44.52 MB / 308.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3984/0.4807, allocations: 73.7 MB / 382.1 MB, free: 18.87 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/0.481, allocations: 68.75 kB / 382.2 MB, free: 18.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03002/0.511, allocations: 7.533 MB / 389.7 MB, free: 18.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.192e-06/0.5111, allocations: 7.906 kB / 389.8 MB, free: 18.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.75e-05/0.5111, allocations: 3.875 kB / 389.8 MB, free: 18.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.001336/0.5124, allocations: 0.6456 MB / 390.4 MB, free: 17.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.557e-05/0.5125, allocations: 17.25 kB / 390.4 MB, free: 17.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.5128, allocations: 39.09 kB / 390.5 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006975/0.5135, allocations: 260.8 kB / 390.7 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007872/0.5143, allocations: 124.2 kB / 390.8 MB, free: 17.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.5145, allocations: 26 kB / 390.9 MB, free: 17.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/0.5169, allocations: 412.3 kB / 391.3 MB, free: 17.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.763e-05/0.517, allocations: 10.91 kB / 391.3 MB, free: 17.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.973e-05/0.5171, allocations: 11 kB / 391.3 MB, free: 17.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.5171, allocations: 3.938 kB / 391.3 MB, free: 17.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003045/0.5202, allocations: 455.3 kB / 391.7 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00291/0.5231, allocations: 0.983 MB / 392.7 MB, free: 16.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002599/0.5258, allocations: 453.1 kB / 393.2 MB, free: 16.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.524e-05/0.5259, allocations: 3.875 kB / 393.2 MB, free: 16.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.5259, allocations: 42.75 kB / 393.2 MB, free: 16.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 5.781e-06/0.5259, allocations: 0 / 393.2 MB, free: 16.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.0107/0.5367, allocations: 2.507 MB / 395.7 MB, free: 15.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.5368, allocations: 110.6 kB / 395.8 MB, free: 15.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003683/0.5372, allocations: 187.4 kB / 396 MB, free: 14.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.304e-05/0.5373, allocations: 29.52 kB / 396 MB, free: 14.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.5374, allocations: 206.8 kB / 396.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.5376, allocations: 137.3 kB / 396.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-05/0.5377, allocations: 11.09 kB / 396.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.197e-05/0.5378, allocations: 327.2 kB / 396.7 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007241/0.5385, allocations: 114.6 kB / 396.8 MB, free: 14.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007536/0.5393, allocations: 165.2 kB / 397 MB, free: 14.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007734/0.5401, allocations: 129.6 kB / 397.1 MB, free: 14.28 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.399e-06/0.5402, allocations: 7.906 kB / 397.1 MB, free: 14.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001899/0.5421, allocations: 364.2 kB / 397.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.5421, allocations: 11.67 kB / 397.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.5422, allocations: 0 / 397.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.5422, allocations: 3.938 kB / 397.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.5438, allocations: 170.9 kB / 397.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.961e-05/0.5439, allocations: 3.906 kB / 397.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006112/0.5445, allocations: 25.34 kB / 397.7 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/0.5446, allocations: 11.22 kB / 397.7 MB, free: 14.2 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.0003226/0.5449, allocations: 148.4 kB / 397.8 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002764/0.5452, allocations: 27.22 kB / 397.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.5454, allocations: 33.09 kB / 397.9 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.5454, allocations: 3.875 kB / 397.9 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.5454, allocations: 3.875 kB / 397.9 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.5455, allocations: 6.703 kB / 397.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005474/0.551, allocations: 1.398 MB / 399.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.551, allocations: 0 / 399.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002054/0.5531, allocations: 207.6 kB / 399.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.948e-05/0.5531, allocations: 3.719 kB / 399.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.92e-05/0.5532, allocations: 11.09 kB / 399.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.546e-05/0.5533, allocations: 18.38 kB / 399.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-06/0.5533, allocations: 7.844 kB / 399.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004834/0.5582, allocations: 1.136 MB / 400.7 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003551/0.5586, allocations: 128.9 kB / 400.8 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.5587, allocations: 12.94 kB / 400.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.5599, allocations: 70.22 kB / 400.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002056/0.5601, allocations: 33.5 kB / 400.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.411e-05/0.5602, allocations: 13.62 kB / 400.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002693/0.5605, allocations: 154.1 kB / 401.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.95e-07/0.5605, allocations: 0 / 401.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001348/0.5619, allocations: 83.44 kB / 401.2 MB, free: 12.65 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.0002333/0.5622, allocations: 120.7 kB / 401.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002333/0.5645, allocations: 405.6 kB / 401.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.784e-06/0.5646, allocations: 0 / 401.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001664/0.5662, allocations: 286.2 kB / 402 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.5676, allocations: 61.03 kB / 402 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.5794, allocations: 1.766 MB / 403.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.5799, allocations: 0.7775 MB / 404.6 MB, free: 11.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003698/0.5803, allocations: 42.16 kB / 404.6 MB, free: 11 MB / 314.7 MB Notification: Performance of SimCode: time 3.495e-06/0.5803, allocations: 0 / 404.6 MB, free: 11 MB / 314.7 MB Notification: Performance of Templates: time 0.01154/0.5918, allocations: 3.736 MB / 408.3 MB, free: 10.64 MB / 314.7 MB