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.RollingWheel.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.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.897/1.897, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005294/0.0005295, allocations: 8 kB / 233.8 MB, free: 2.402 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1057, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3736/0.4794, allocations: 67.92 MB / 340.5 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/0.4797, allocations: 79.75 kB / 340.6 MB, free: 5.457 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01297/0.4927, allocations: 3.026 MB / 343.6 MB, free: 2.926 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4928, allocations: 4 kB / 343.6 MB, free: 2.922 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.899e-05/0.4928, allocations: 192 / 343.6 MB, free: 2.922 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.0008114/0.4936, allocations: 451 kB / 344.1 MB, free: 2.445 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.4937, allocations: 8.031 kB / 344.1 MB, free: 2.438 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.163e-05/0.4938, allocations: 19.72 kB / 344.1 MB, free: 2.418 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.4941, allocations: 221.2 kB / 344.3 MB, free: 2.176 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.4941, allocations: 11.69 kB / 344.3 MB, free: 2.168 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.919e-05/0.4942, allocations: 19.7 kB / 344.4 MB, free: 2.152 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000464/0.4947, allocations: 160.2 kB / 344.5 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.4947, allocations: 0 / 344.5 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.4947, allocations: 5.688 kB / 344.5 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.4948, allocations: 8 kB / 344.5 MB, free: 2.023 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003841/0.4952, allocations: 102.5 kB / 344.6 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.4965, allocations: 0.5956 MB / 345.2 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.4969, allocations: 122.1 kB / 345.3 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.4969, allocations: 224 / 345.3 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.497, allocations: 34.56 kB / 345.4 MB, free: 1.258 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.497, allocations: 3.938 kB / 345.4 MB, free: 1.254 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.002316/0.4993, allocations: 0.8129 MB / 346.2 MB, free: 484 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.4994, allocations: 55.31 kB / 346.2 MB, free: 416 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.4996, allocations: 160.9 kB / 346.4 MB, free: 264 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.4997, allocations: 29.45 kB / 346.4 MB, free: 232 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.632e-05/0.4998, allocations: 130.8 kB / 346.6 MB, free: 108 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.125e-05/0.4999, allocations: 58.3 kB / 346.6 MB, free: 56 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.219e-05/0.4999, allocations: 3.562 kB / 346.6 MB, free: 56 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.5001, allocations: 330.2 kB / 346.9 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.5002, allocations: 42.67 kB / 347 MB, free: 15.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.5005, allocations: 82.47 kB / 347.1 MB, free: 15.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.5007, allocations: 53.8 kB / 347.1 MB, free: 15.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.5008, allocations: 0 / 347.1 MB, free: 15.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006577/0.5014, allocations: 212.1 kB / 347.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.5015, allocations: 8 kB / 347.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.5015, allocations: 0 / 347.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002723/0.5018, allocations: 47.39 kB / 347.4 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.502, allocations: 27.98 kB / 347.4 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002735/0.5048, allocations: 1.432 MB / 348.8 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.5052, allocations: 15.22 kB / 348.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/0.5052, allocations: 8.062 kB / 348.9 MB, free: 13.88 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.0002917/0.5055, allocations: 143 kB / 349 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.5056, allocations: 11.91 kB / 349 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.733e-05/0.5058, allocations: 16.19 kB / 349 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.5058, allocations: 4 kB / 349 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.5058, allocations: 0 / 349 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.5058, allocations: 3.984 kB / 349 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002333/0.5082, allocations: 0.591 MB / 349.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.5082, allocations: 4 kB / 349.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004394/0.5087, allocations: 31.92 kB / 349.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003121/0.509, allocations: 35.58 kB / 349.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-05/0.5091, allocations: 4 kB / 349.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002632/0.5118, allocations: 1.377 MB / 351.1 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5118, allocations: 7.969 kB / 351.1 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009964/0.5128, allocations: 336.6 kB / 351.4 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.798e-05/0.513, allocations: 88.95 kB / 351.5 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.513, allocations: 11.3 kB / 351.5 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.5132, allocations: 7.125 kB / 351.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.5133, allocations: 15.94 kB / 351.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.5133, allocations: 7 kB / 351.5 MB, free: 11.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001437/0.5134, allocations: 125 kB / 351.7 MB, free: 11.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5135, allocations: 0 / 351.7 MB, free: 11.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004416/0.5139, allocations: 46.56 kB / 351.7 MB, free: 11.09 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.0001766/0.5141, allocations: 107.2 kB / 351.8 MB, free: 10.97 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000792/0.5149, allocations: 259.2 kB / 352.1 MB, free: 10.74 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.5149, allocations: 3.5 kB / 352.1 MB, free: 10.74 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006225/0.5156, allocations: 190.5 kB / 352.3 MB, free: 10.56 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.516, allocations: 31.84 kB / 352.3 MB, free: 10.54 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.5175, allocations: 0.6005 MB / 352.9 MB, free: 9.941 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.5179, allocations: 0.7362 MB / 353.6 MB, free: 9.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.5181, allocations: 21.53 kB / 353.6 MB, free: 9.16 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.5181, allocations: 15.44 kB / 353.7 MB, free: 9.145 MB / 282.7 MB Notification: Performance of SimCode: time 1.744e-06/0.5181, allocations: 0 / 353.7 MB, free: 9.145 MB / 282.7 MB Notification: Performance of Templates: time 0.007266/0.5254, allocations: 1.641 MB / 355.3 MB, free: 7.508 MB / 282.7 MB