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.RollingWheel.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.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.586/1.586, allocations: 171.1 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003547, allocations: 8 kB / 233.2 MB, free: 3.027 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07101/0.07139, allocations: 38.77 MB / 272 MB, free: 12.18 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2865/0.3579, allocations: 67.93 MB / 339.9 MB, free: 5.984 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.3582, allocations: 67.66 kB / 340 MB, free: 5.949 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01171/0.3699, allocations: 3.041 MB / 343 MB, free: 3.406 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.175e-06/0.3699, allocations: 0 / 343 MB, free: 3.406 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.37, allocations: 4 kB / 343 MB, free: 3.402 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.000679/0.3707, allocations: 441.4 kB / 343.5 MB, free: 2.934 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3707, allocations: 8.031 kB / 343.5 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.36e-05/0.3708, allocations: 31.7 kB / 343.5 MB, free: 2.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.3711, allocations: 204.9 kB / 343.7 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.3711, allocations: 14.62 kB / 343.7 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.541e-05/0.3712, allocations: 23.08 kB / 343.7 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003952/0.3716, allocations: 154.5 kB / 343.9 MB, free: 2.523 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.3716, allocations: 3.938 kB / 343.9 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.3717, allocations: 7.062 kB / 343.9 MB, free: 2.516 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.284e-06/0.3717, allocations: 4 kB / 343.9 MB, free: 2.512 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.372, allocations: 108.2 kB / 344 MB, free: 2.438 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.3732, allocations: 0.6017 MB / 344.6 MB, free: 1.879 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.3735, allocations: 115.6 kB / 344.7 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.3736, allocations: 4 kB / 344.7 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.3736, allocations: 38.44 kB / 344.8 MB, free: 1.734 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.871e-06/0.3736, allocations: 4 kB / 344.8 MB, free: 1.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.002027/0.3757, allocations: 0.8122 MB / 345.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.3757, allocations: 55.31 kB / 345.6 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.3759, allocations: 140.3 kB / 345.8 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.376, allocations: 28.33 kB / 345.8 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.3761, allocations: 196 kB / 346 MB, free: 0.543 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.774e-05/0.3762, allocations: 58.59 kB / 346.1 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.04e-05/0.3762, allocations: 7.25 kB / 346.1 MB, free: 500 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3764, allocations: 318.2 kB / 346.4 MB, free: 176 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.3765, allocations: 45.84 kB / 346.4 MB, free: 140 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.3767, allocations: 84.16 kB / 346.5 MB, free: 64 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.3769, allocations: 53 kB / 346.6 MB, free: 32 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.357e-06/0.3769, allocations: 0 / 346.6 MB, free: 32 kB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005723/0.3775, allocations: 216 kB / 346.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3776, allocations: 4 kB / 346.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.838e-06/0.3776, allocations: 0 / 346.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002244/0.3778, allocations: 43.64 kB / 346.8 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.378, allocations: 31.98 kB / 346.8 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/0.3797, allocations: 1.43 MB / 348.3 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.3799, allocations: 7.375 kB / 348.3 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.3799, allocations: 7.953 kB / 348.3 MB, free: 14.32 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 (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001842/0.3801, allocations: 137.4 kB / 348.4 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.3802, allocations: 15.89 kB / 348.4 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.794e-05/0.3803, allocations: 20.31 kB / 348.5 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3803, allocations: 4.062 kB / 348.5 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.445e-06/0.3803, allocations: 0 / 348.5 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.244e-06/0.3803, allocations: 4 kB / 348.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.3815, allocations: 0.5933 MB / 349.1 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.691e-06/0.3815, allocations: 3.984 kB / 349.1 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.3818, allocations: 27.98 kB / 349.1 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001693/0.3819, allocations: 32.09 kB / 349.1 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.382, allocations: 3.25 kB / 349.1 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/0.3836, allocations: 1.391 MB / 350.5 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.629e-06/0.3837, allocations: 0 / 350.5 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007366/0.3844, allocations: 338.4 kB / 350.8 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.652e-05/0.3845, allocations: 92.39 kB / 350.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.3846, allocations: 4 kB / 350.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.3847, allocations: 7.438 kB / 350.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.3848, allocations: 19.73 kB / 351 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.3849, allocations: 4 kB / 351 MB, free: 11.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.385, allocations: 122.6 kB / 351.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.385, allocations: 4 kB / 351.1 MB, free: 11.56 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004414/0.3855, allocations: 46.38 kB / 351.1 MB, free: 11.52 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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 (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000167/0.3857, allocations: 106.7 kB / 351.2 MB, free: 11.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006629/0.3863, allocations: 263.5 kB / 351.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.374e-06/0.3864, allocations: 0 / 351.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000361/0.3867, allocations: 193.2 kB / 351.7 MB, free: 11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.3871, allocations: 18.48 kB / 351.7 MB, free: 10.99 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.3883, allocations: 0.6194 MB / 352.3 MB, free: 10.36 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.3888, allocations: 0.7401 MB / 353.1 MB, free: 9.598 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.254e-05/0.3889, allocations: 23.38 kB / 353.1 MB, free: 9.574 MB / 282.7 MB Notification: Performance of SimCode: time 1.739e-06/0.3889, allocations: 0 / 353.1 MB, free: 9.574 MB / 282.7 MB Notification: Performance of Templates: time 0.005703/0.3946, allocations: 2.742 MB / 355.8 MB, free: 6.855 MB / 282.7 MB