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.MultiBody.Examples.Elementary.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.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheel1.angles.1.|wheel1.angles.2.|wheel1.angles.3.|wheel1.der_angles.1.|wheel1.der_angles.2.|wheel1.der_angles.3.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.694/1.694, allocations: 171.2 MB / 184.2 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.75e-05/2.76e-05, allocations: 4 kB / 228.8 MB, free: 15.33 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2046, allocations: 38.77 MB / 267.6 MB, free: 9.438 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1182/0.3228, allocations: 78.53 MB / 346.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.3232, allocations: 79.95 kB / 346.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4431/0.7663, allocations: 61.2 MB / 407.4 MB, free: 38.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.485e-06/0.7664, allocations: 0 / 407.4 MB, free: 38.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001776/0.7666, allocations: 52 kB / 407.5 MB, free: 38.63 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01692/0.7835, allocations: 3.034 MB / 410.5 MB, free: 35.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.88e-05/0.7836, allocations: 8.031 kB / 410.5 MB, free: 35.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01248/0.7962, allocations: 1.993 MB / 412.5 MB, free: 33.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/0.8063, allocations: 3.538 MB / 416 MB, free: 29.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001795/0.8065, allocations: 209.5 kB / 416.2 MB, free: 29.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001099/0.8076, allocations: 291.8 kB / 416.5 MB, free: 29.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01441/0.8221, allocations: 7.888 MB / 424.4 MB, free: 20.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000138/0.8222, allocations: 67.39 kB / 424.5 MB, free: 20.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006029/0.8229, allocations: 139.9 kB / 424.6 MB, free: 20.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001194/0.8241, allocations: 0.7729 MB / 425.4 MB, free: 19.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01329/0.8374, allocations: 6.456 MB / 431.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05099/0.8884, allocations: 41.39 MB / 473.2 MB, free: 2.336 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008844/0.8973, allocations: 2.929 MB / 476.2 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002635/0.9, allocations: 1.387 MB / 477.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009419/0.901, allocations: 0.6394 MB / 478.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.582e-05/0.9011, allocations: 43.12 kB / 478.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of pre-optimization done (n=120): time 6.041e-06/0.9011, allocations: 0 / 478.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=154): time 0.2712/1.172, allocations: 18.27 MB / 496.5 MB, free: 89.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/1.172, allocations: 147.4 kB / 496.6 MB, free: 89.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00531/1.178, allocations: 2.888 MB / 499.5 MB, free: 89.13 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003482/1.178, allocations: 52.28 kB / 499.6 MB, free: 89.1 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001443/1.18, allocations: 2.288 MB / 0.4901 GB, free: 88.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000756/1.18, allocations: 0.6135 MB / 0.4907 GB, free: 87.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004422/1.181, allocations: 100.8 kB / 0.4908 GB, free: 87.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003184/1.181, allocations: 0.5293 MB / 0.4913 GB, free: 87.56 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004411/1.185, allocations: 2.353 MB / 0.4936 GB, free: 87.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005779/1.191, allocations: 5.517 MB / 0.499 GB, free: 83.45 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006247/1.198, allocations: 3.558 MB / 0.5025 GB, free: 82.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.132e-05/1.198, allocations: 33.31 kB / 0.5025 GB, free: 82.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.03331/1.231, allocations: 11.29 MB / 0.5135 GB, free: 79.72 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.594e-05/1.231, allocations: 51.94 kB / 0.5136 GB, free: 79.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001234/1.231, allocations: 111.5 kB / 0.5137 GB, free: 79.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01874/1.25, allocations: 4.099 MB / 0.5177 GB, free: 79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004901/1.255, allocations: 1.164 MB / 0.5188 GB, free: 78.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02762/1.283, allocations: 13.7 MB / 0.5322 GB, free: 69.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005455/1.288, allocations: 354.2 kB / 0.5326 GB, free: 69.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009281/1.289, allocations: 323.2 kB / 0.5329 GB, free: 68.89 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 15 (ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],wheel1.body.sphereColor[3],wheel1.body.sphereColor[2],wheel1.body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (616): * Single equations (assignments): 606 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(2,100.0%),(3,88.9%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009532/1.29, allocations: 0.4973 MB / 0.5333 GB, free: 68.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006666/1.291, allocations: 276.3 kB / 0.5336 GB, free: 68.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0208/1.312, allocations: 6.903 MB / 0.5403 GB, free: 63.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.431e-05/1.312, allocations: 21.48 kB / 0.5404 GB, free: 63.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.328e-05/1.312, allocations: 8 kB / 0.5404 GB, free: 63.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.848e-05/1.312, allocations: 7.453 kB / 0.5404 GB, free: 63.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03692/1.349, allocations: 14.57 MB / 0.5546 GB, free: 48.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-05/1.349, allocations: 3.75 kB / 0.5546 GB, free: 48.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/1.35, allocations: 235.7 kB / 0.5548 GB, free: 48.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01756/1.368, allocations: 4.639 MB / 0.5594 GB, free: 43.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000418/1.368, allocations: 47.95 kB / 0.5594 GB, free: 43.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02509/1.393, allocations: 13.77 MB / 0.5729 GB, free: 29.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.194e-06/1.393, allocations: 5.438 kB / 0.5729 GB, free: 29.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02673/1.42, allocations: 11.03 MB / 0.5836 GB, free: 18.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000858/1.421, allocations: 345.3 kB / 0.584 GB, free: 18.46 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006512/1.422, allocations: 38.88 kB / 0.584 GB, free: 18.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002337/1.424, allocations: 199.7 kB / 0.5842 GB, free: 18.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000482/1.425, allocations: 116.7 kB / 0.5843 GB, free: 18.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002267/1.425, allocations: 47.97 kB / 0.5844 GB, free: 18.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003686/1.428, allocations: 2.01 MB / 0.5863 GB, free: 16.06 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.054e-06/1.428, allocations: 0 / 0.5863 GB, free: 16.06 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005641/1.434, allocations: 0.8984 MB / 0.5872 GB, free: 15.16 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (wheel1.x,wheel1.y,wheel1.angles[1],wheel1.angles[2],wheel1.angles[3],wheel1.der_angles[1],wheel1.der_angles[2],wheel1.der_angles[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 94 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,65.6%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005437/1.435, allocations: 173.8 kB / 0.5874 GB, free: 15 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:2674:5-2678:74:writable] Warning: Variable $DER.wheel1.der_angles[2] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:2674:5-2678:74:writable] Warning: Variable $DER.wheel1.der_angles[1] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.014/1.449, allocations: 6.788 MB / 0.594 GB, free: 8.094 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.502e-06/1.449, allocations: 192 / 0.594 GB, free: 8.094 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007277/1.456, allocations: 3.199 MB / 0.5971 GB, free: 4.754 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/1.458, allocations: 319.8 kB / 0.5974 GB, free: 4.457 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/1.473, allocations: 7.087 MB / 0.6043 GB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004353/1.478, allocations: 2.561 MB / 0.6068 GB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1975/1.675, allocations: 234 kB / 0.6071 GB, free: 96.34 MB / 362.7 MB Notification: Performance of SimCode: time 2.149e-06/1.675, allocations: 3.188 kB / 0.6071 GB, free: 96.34 MB / 362.7 MB Notification: Performance of Templates: time 0.3653/2.041, allocations: 134.6 MB / 0.7385 GB, free: 111 MB / 378.7 MB