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.588/1.588, allocations: 171.2 MB / 184.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.426e-05/2.473e-05, allocations: 4 kB / 228.8 MB, free: 15.33 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2, allocations: 38.77 MB / 267.6 MB, free: 9.43 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09825/0.2982, allocations: 67.38 MB / 335 MB, free: 5.953 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.2985, allocations: 59.97 kB / 335 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02041/0.3189, allocations: 4.733 MB / 339.8 MB, free: 1.145 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.916e-06/0.319, allocations: 0 / 339.8 MB, free: 1.145 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.319, allocations: 4 kB / 339.8 MB, free: 1.141 MB / 282.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.0009908/0.32, allocations: 0.4945 MB / 340.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3201, allocations: 12.03 kB / 340.3 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.261e-05/0.3202, allocations: 19.81 kB / 340.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.3205, allocations: 219.9 kB / 340.5 MB, free: 324 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/0.3207, allocations: 65.67 kB / 340.6 MB, free: 252 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.459e-05/0.3208, allocations: 27.86 kB / 340.6 MB, free: 224 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004943/0.3213, allocations: 215.2 kB / 340.8 MB, free: 16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.3214, allocations: 0 / 340.8 MB, free: 16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.3214, allocations: 4 kB / 340.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.713e-06/0.3214, allocations: 4 kB / 340.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000445/0.3219, allocations: 172.4 kB / 341 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.3231, allocations: 0.6666 MB / 341.6 MB, free: 15.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004887/0.3236, allocations: 205 kB / 341.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.3239, allocations: 102 kB / 341.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.3239, allocations: 7.922 kB / 342 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.324, allocations: 42.56 kB / 342 MB, free: 14.72 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.638e-06/0.324, allocations: 0 / 342 MB, free: 14.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.0022/0.3262, allocations: 1.196 MB / 343.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.3263, allocations: 81.11 kB / 343.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.3265, allocations: 146.5 kB / 343.4 MB, free: 13.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.3265, allocations: 29.64 kB / 343.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.3267, allocations: 190.7 kB / 343.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.685e-05/0.3268, allocations: 90.73 kB / 343.7 MB, free: 12.78 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/0.3268, allocations: 4 kB / 343.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.327, allocations: 326.8 kB / 344 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.3272, allocations: 72 kB / 344.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.3275, allocations: 111.4 kB / 344.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.3277, allocations: 73.66 kB / 344.3 MB, free: 12.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.468e-06/0.3277, allocations: 0.6562 kB / 344.3 MB, free: 12.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005875/0.3283, allocations: 245.3 kB / 344.5 MB, free: 11.94 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.3283, allocations: 5.719 kB / 344.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.388e-06/0.3283, allocations: 0 / 344.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.3284, allocations: 11.94 kB / 344.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005822/0.329, allocations: 99.94 kB / 344.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.329, allocations: 4 kB / 344.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.3292, allocations: 19.92 kB / 344.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.3292, allocations: 8 kB / 344.7 MB, free: 11.79 MB / 298.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 () * 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.0001203/0.3294, allocations: 112.9 kB / 344.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.669e-05/0.3295, allocations: 23.81 kB / 344.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.376e-05/0.3295, allocations: 21.64 kB / 344.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.574e-06/0.3296, allocations: 7.953 kB / 344.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3296, allocations: 0 / 344.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.71e-06/0.3296, allocations: 4 kB / 344.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.3312, allocations: 0.8351 MB / 345.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.724e-06/0.3312, allocations: 0 / 345.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006906/0.3319, allocations: 112 kB / 345.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/0.3319, allocations: 4 kB / 345.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.332, allocations: 15.98 kB / 345.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.681e-06/0.332, allocations: 7.938 kB / 345.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.714e-06/0.332, allocations: 0 / 345.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008649/0.3329, allocations: 0.5574 MB / 346.4 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.333, allocations: 108.9 kB / 346.5 MB, free: 9.816 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.768e-05/0.3331, allocations: 8 kB / 346.5 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/0.3335, allocations: 31.97 kB / 346.5 MB, free: 9.777 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/0.3336, allocations: 27.97 kB / 346.5 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.3336, allocations: 8 kB / 346.6 MB, free: 9.742 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001293/0.3338, allocations: 120.9 kB / 346.7 MB, free: 9.625 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.49e-07/0.3338, allocations: 0 / 346.7 MB, free: 9.625 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005063/0.3343, allocations: 63.98 kB / 346.7 MB, free: 9.562 MB / 298.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 () * 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.0001564/0.3345, allocations: 108.5 kB / 346.8 MB, free: 9.449 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004246/0.3349, allocations: 171.8 kB / 347 MB, free: 9.281 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.081e-06/0.3349, allocations: 0 / 347 MB, free: 9.281 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.3352, allocations: 103.9 kB / 347.1 MB, free: 9.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.3357, allocations: 40.67 kB / 347.1 MB, free: 9.141 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004352/0.34, allocations: 1.024 MB / 348.2 MB, free: 8.074 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.3405, allocations: 0.7404 MB / 348.9 MB, free: 7.305 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.3407, allocations: 23.42 kB / 348.9 MB, free: 7.281 MB / 298.7 MB Notification: Performance of SimCode: time 1.923e-06/0.3407, allocations: 0 / 348.9 MB, free: 7.281 MB / 298.7 MB Notification: Performance of Templates: time 0.005394/0.3461, allocations: 2.5 MB / 351.4 MB, free: 4.785 MB / 298.7 MB