Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadModel(Modelica): time 2.085/2.085, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003469, allocations: 12 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08441/0.08478, allocations: 38.76 MB / 272.6 MB, free: 11.56 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3951/0.4799, allocations: 67.46 MB / 340.1 MB, free: 5.945 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.4802, allocations: 70.06 kB / 340.1 MB, free: 5.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02217/0.5024, allocations: 4.726 MB / 344.9 MB, free: 1.918 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5025, allocations: 4 kB / 344.9 MB, free: 1.914 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.5025, allocations: 0 / 344.9 MB, free: 1.914 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.001338/0.5038, allocations: 0.5184 MB / 345.4 MB, free: 1.359 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.5039, allocations: 12.03 kB / 345.4 MB, free: 1.348 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.817e-05/0.504, allocations: 15.81 kB / 345.4 MB, free: 1.332 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.5043, allocations: 223.5 kB / 345.6 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003165/0.5046, allocations: 76.81 kB / 345.7 MB, free: 1.012 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.273e-05/0.5047, allocations: 19.5 kB / 345.7 MB, free: 1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009435/0.5057, allocations: 260.8 kB / 346 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.5057, allocations: 7.891 kB / 346 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.5058, allocations: 11.44 kB / 346 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.5058, allocations: 4 kB / 346 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.5071, allocations: 257.9 kB / 346.3 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.5085, allocations: 0.6734 MB / 346.9 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.5097, allocations: 266.2 kB / 347.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.5097, allocations: 7.984 kB / 347.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.5098, allocations: 30.56 kB / 347.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 2.796e-06/0.5098, allocations: 4 kB / 347.2 MB, free: 15.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.005093/0.5149, allocations: 1.55 MB / 348.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.515, allocations: 85.11 kB / 348.9 MB, free: 14.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.5152, allocations: 160.8 kB / 349 MB, free: 13.87 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.5153, allocations: 25.7 kB / 349.1 MB, free: 13.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.881e-05/0.5154, allocations: 122.5 kB / 349.2 MB, free: 13.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.5155, allocations: 96.78 kB / 349.3 MB, free: 13.65 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.5155, allocations: 3.938 kB / 349.3 MB, free: 13.65 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.5157, allocations: 325.6 kB / 349.6 MB, free: 13.33 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/0.516, allocations: 73.45 kB / 349.7 MB, free: 13.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.5164, allocations: 104.4 kB / 349.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.5167, allocations: 83.42 kB / 349.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5167, allocations: 0 / 349.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008381/0.5176, allocations: 238.8 kB / 350.1 MB, free: 12.94 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.5176, allocations: 15.94 kB / 350.1 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.5176, allocations: 3.938 kB / 350.1 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.5177, allocations: 4 kB / 350.1 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007708/0.5184, allocations: 99.25 kB / 350.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.5185, allocations: 0 / 350.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.5187, allocations: 15.92 kB / 350.2 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.5188, allocations: 8 kB / 350.2 MB, free: 12.8 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.0001751/0.519, allocations: 135.6 kB / 350.4 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.713e-05/0.5191, allocations: 19.19 kB / 350.4 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.315e-05/0.5191, allocations: 28.47 kB / 350.4 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.5192, allocations: 4 kB / 350.4 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.5192, allocations: 0 / 350.4 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.5192, allocations: 0 / 350.4 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/0.5216, allocations: 0.9339 MB / 351.3 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.5217, allocations: 12.06 kB / 351.4 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009748/0.5226, allocations: 119 kB / 351.5 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.5227, allocations: 0 / 351.5 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/0.5227, allocations: 7.438 kB / 351.5 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.207e-05/0.5227, allocations: 7.984 kB / 351.5 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5227, allocations: 480 / 351.5 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/0.5248, allocations: 0.6593 MB / 352.1 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.525, allocations: 109.3 kB / 352.3 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.807e-05/0.5251, allocations: 7.031 kB / 352.3 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/0.5256, allocations: 39.16 kB / 352.3 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.639e-05/0.5257, allocations: 26.64 kB / 352.3 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.5257, allocations: 14.45 kB / 352.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001403/0.5259, allocations: 128.7 kB / 352.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5259, allocations: 0 / 352.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005297/0.5264, allocations: 54.5 kB / 352.5 MB, free: 10.68 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.0001696/0.5266, allocations: 108.4 kB / 352.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.5276, allocations: 231.3 kB / 352.8 MB, free: 10.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5276, allocations: 0 / 352.8 MB, free: 10.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006723/0.5283, allocations: 160.7 kB / 353 MB, free: 10.25 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005821/0.5289, allocations: 35 kB / 353 MB, free: 10.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007104/0.536, allocations: 1.296 MB / 354.3 MB, free: 8.941 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.5364, allocations: 0.7367 MB / 355.1 MB, free: 8.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002219/0.5367, allocations: 29.94 kB / 355.1 MB, free: 8.152 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.5368, allocations: 23.42 kB / 355.1 MB, free: 8.129 MB / 282.7 MB Notification: Performance of SimCode: time 1.453e-06/0.5368, allocations: 4 kB / 355.1 MB, free: 8.125 MB / 282.7 MB Notification: Performance of Templates: time 0.008346/0.5452, allocations: 2.292 MB / 357.4 MB, free: 5.852 MB / 282.7 MB