Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadModel(Modelica): time 2.215/2.215, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004804/0.0004806, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1016, allocations: 44.51 MB / 309 MB, free: 376 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4716/0.5733, allocations: 73.22 MB / 382.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/0.5737, allocations: 73.7 kB / 382.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01258/0.5863, allocations: 3.032 MB / 385.4 MB, free: 14.87 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5863, allocations: 0 / 385.4 MB, free: 14.87 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.5864, allocations: 3.906 kB / 385.4 MB, free: 14.87 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007155/0.5871, allocations: 444.6 kB / 385.8 MB, free: 14.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.5872, allocations: 9.562 kB / 385.8 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.455e-05/0.5872, allocations: 20.17 kB / 385.8 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.5875, allocations: 230.1 kB / 386.1 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.5876, allocations: 10.19 kB / 386.1 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.364e-05/0.5876, allocations: 18.62 kB / 386.1 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004544/0.5881, allocations: 147.9 kB / 386.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.5881, allocations: 8.844 kB / 386.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.5882, allocations: 9.969 kB / 386.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.5882, allocations: 4.312 kB / 386.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003712/0.5886, allocations: 104.7 kB / 386.4 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.5898, allocations: 0.5942 MB / 387 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003474/0.5902, allocations: 118.2 kB / 387.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.5902, allocations: 1.344 kB / 387.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.5902, allocations: 31.84 kB / 387.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.016e-06/0.5902, allocations: 0 / 387.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.002198/0.5924, allocations: 0.8095 MB / 387.9 MB, free: 13.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.5925, allocations: 56.69 kB / 388 MB, free: 13.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.5927, allocations: 158.2 kB / 388.1 MB, free: 13.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.5928, allocations: 29.2 kB / 388.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.5928, allocations: 130.4 kB / 388.3 MB, free: 12.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.594e-05/0.5929, allocations: 63 kB / 388.3 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/0.5929, allocations: 4.656 kB / 388.3 MB, free: 12.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.048e-05/0.593, allocations: 330 kB / 388.7 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.5932, allocations: 47.52 kB / 388.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.5934, allocations: 79.83 kB / 388.8 MB, free: 12.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.5936, allocations: 60.75 kB / 388.9 MB, free: 12.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5936, allocations: 4 kB / 388.9 MB, free: 12.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006317/0.5943, allocations: 204.8 kB / 389.1 MB, free: 12.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.5943, allocations: 7.781 kB / 389.1 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.5943, allocations: 1.344 kB / 389.1 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002628/0.5946, allocations: 41.05 kB / 389.1 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.5949, allocations: 38.53 kB / 389.1 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.5964, allocations: 1.438 MB / 390.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.5966, allocations: 8.016 kB / 390.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.5966, allocations: 5.656 kB / 390.6 MB, free: 11.24 MB / 314.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.0001625/0.5968, allocations: 129.4 kB / 390.7 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.785e-05/0.5969, allocations: 14.22 kB / 390.7 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.381e-05/0.5969, allocations: 25.5 kB / 390.8 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.597, allocations: 5.234 kB / 390.8 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.597, allocations: 5.375 kB / 390.8 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.597, allocations: 2.297 kB / 390.8 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.5982, allocations: 0.5849 MB / 391.4 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5982, allocations: 5.656 kB / 391.4 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.5985, allocations: 31.28 kB / 391.4 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001911/0.5987, allocations: 36.05 kB / 391.4 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.5987, allocations: 9.156 kB / 391.4 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/0.5999, allocations: 1.374 MB / 392.8 MB, free: 9.453 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6, allocations: 0 / 392.8 MB, free: 9.453 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007212/0.6007, allocations: 349.2 kB / 393.2 MB, free: 9.293 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.91e-05/0.6008, allocations: 88.86 kB / 393.2 MB, free: 9.191 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.6008, allocations: 13.45 kB / 393.3 MB, free: 9.188 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.601, allocations: 3.938 kB / 393.3 MB, free: 9.188 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/0.6011, allocations: 13.39 kB / 393.3 MB, free: 9.188 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.6011, allocations: 3.938 kB / 393.3 MB, free: 9.188 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001121/0.6013, allocations: 119.8 kB / 393.4 MB, free: 9.113 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6013, allocations: 64 / 393.4 MB, free: 9.113 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004433/0.6017, allocations: 47.86 kB / 393.4 MB, free: 9.109 MB / 314.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.0001427/0.6019, allocations: 106.4 kB / 393.5 MB, free: 9.016 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007002/0.6026, allocations: 252 kB / 393.8 MB, free: 8.898 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.6026, allocations: 4.125 kB / 393.8 MB, free: 8.895 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003841/0.603, allocations: 196.8 kB / 394 MB, free: 8.777 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.6034, allocations: 15.64 kB / 394 MB, free: 8.777 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.6046, allocations: 0.5936 MB / 394.6 MB, free: 8.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.6049, allocations: 0.7356 MB / 395.3 MB, free: 7.707 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.605, allocations: 17.92 kB / 395.3 MB, free: 7.703 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.005e-05/0.6051, allocations: 15.12 kB / 395.4 MB, free: 7.695 MB / 314.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6051, allocations: 0 / 395.4 MB, free: 7.695 MB / 314.7 MB Notification: Performance of Templates: time 0.006472/0.6115, allocations: 1.668 MB / 397 MB, free: 7.547 MB / 314.7 MB