Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.947/1.947, allocations: 194.8 MB / 211.6 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003599, allocations: 16 kB / 263.9 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08193/0.08232, allocations: 44.52 MB / 308.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.02512/0.1075, allocations: 17.84 MB / 326.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01275/0.1203, allocations: 5.255 MB / 331.5 MB, free: 9.852 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003387/0.1237, allocations: 83.81 kB / 331.5 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002803/0.1266, allocations: 0.8632 MB / 332.4 MB, free: 8.902 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008981/0.1356, allocations: 2.723 MB / 335.1 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.1374, allocations: 447.3 kB / 335.6 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00346/0.1408, allocations: 1.626 MB / 337.2 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003401/0.1443, allocations: 1.813 MB / 339 MB, free: 2.254 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.1456, allocations: 0.6773 MB / 339.7 MB, free: 1.574 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001756/0.1473, allocations: 0.9853 MB / 340.7 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004143/0.1478, allocations: 99.94 kB / 340.8 MB, free: 500 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.1498, allocations: 0.7762 MB / 341.5 MB, free: 15.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001618/0.1515, allocations: 1.083 MB / 342.6 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008235/0.1523, allocations: 0.5741 MB / 343.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005836/0.1582, allocations: 3.737 MB / 346.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.681e-06/0.1582, allocations: 4 kB / 346.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1582, allocations: 3.938 kB / 346.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.91e-05/0.1583, allocations: 0 / 346.9 MB, free: 10.29 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.008216/0.1666, allocations: 3.017 MB / 350 MB, free: 7.211 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1666, allocations: 8.031 kB / 350 MB, free: 7.203 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009357/0.176, allocations: 2.036 MB / 352 MB, free: 5.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004565/0.1806, allocations: 1.866 MB / 353.9 MB, free: 3.246 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/0.1808, allocations: 139.6 kB / 354 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005627/0.1814, allocations: 191.8 kB / 354.2 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01511/0.1965, allocations: 7.253 MB / 361.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001382/0.1967, allocations: 35.69 kB / 361.5 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004435/0.1971, allocations: 107.8 kB / 361.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002934/0.2001, allocations: 1.448 MB / 363 MB, free: 9.445 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0289/0.229, allocations: 6.191 MB / 369.2 MB, free: 3.25 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2749/0.504, allocations: 31.18 MB / 400.4 MB, free: 36.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007777/0.5118, allocations: 2.758 MB / 403.2 MB, free: 34.87 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007325/0.5125, allocations: 0.6276 MB / 403.8 MB, free: 34.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.5126, allocations: 49.22 kB / 403.8 MB, free: 34.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=120): time 4.704e-06/0.5126, allocations: 0 / 403.8 MB, free: 34.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=154): time 0.08564/0.5983, allocations: 21.16 MB / 425 MB, free: 16.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.5984, allocations: 145.5 kB / 425.1 MB, free: 16.37 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005401/0.6038, allocations: 3.356 MB / 428.5 MB, free: 13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003213/0.6041, allocations: 45.7 kB / 428.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001429/0.6056, allocations: 2.282 MB / 430.8 MB, free: 10.67 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006925/0.6063, allocations: 0.6109 MB / 431.4 MB, free: 10.06 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003814/0.6067, allocations: 104 kB / 431.5 MB, free: 9.961 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002917/0.607, allocations: 0.5258 MB / 432.1 MB, free: 9.426 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004229/0.6112, allocations: 2.263 MB / 434.3 MB, free: 7.156 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005799/0.6171, allocations: 5.424 MB / 439.8 MB, free: 136 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007286/0.6244, allocations: 3.428 MB / 443.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-05/0.6246, allocations: 32 kB / 443.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=675) (initialization): time 0.03229/0.6569, allocations: 10.51 MB / 453.7 MB, free: 2.141 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.657, allocations: 56 kB / 453.8 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001673/0.6572, allocations: 112 kB / 453.9 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0159/0.6731, allocations: 3.531 MB / 457.4 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00494/0.6781, allocations: 1.159 MB / 458.6 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02812/0.7063, allocations: 12.47 MB / 471.1 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005205/0.7115, allocations: 347.4 kB / 471.4 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/0.7126, allocations: 325 kB / 471.7 MB, free: 4 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (615): * Single equations (assignments): 605 * 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 {(6,80.6%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003981/0.7166, allocations: 1.599 MB / 473.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007789/0.7174, allocations: 272.4 kB / 473.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02119/0.7386, allocations: 6.055 MB / 479.6 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.764e-05/0.7387, allocations: 17.48 kB / 479.6 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.044e-05/0.7388, allocations: 8 kB / 479.7 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.334e-05/0.7388, allocations: 7.969 kB / 479.7 MB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04046/0.7793, allocations: 13.44 MB / 493.1 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.65e-05/0.7794, allocations: 0 / 493.1 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/0.7809, allocations: 227.7 kB / 493.3 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01814/0.7991, allocations: 4.144 MB / 497.5 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003761/0.7995, allocations: 47.95 kB / 497.5 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02827/0.8278, allocations: 12.51 MB / 0.4981 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.651e-06/0.8278, allocations: 8.188 kB / 0.4981 GB, free: 9.418 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.246/1.074, allocations: 9.942 MB / 0.5078 GB, free: 125.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008418/1.075, allocations: 347.8 kB / 0.5081 GB, free: 125.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006811/1.075, allocations: 37.89 kB / 0.5082 GB, free: 125.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002352/1.078, allocations: 188.8 kB / 0.5083 GB, free: 125.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005185/1.078, allocations: 111.2 kB / 0.5084 GB, free: 125.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002302/1.079, allocations: 49.98 kB / 0.5085 GB, free: 125.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004606/1.083, allocations: 2.117 MB / 0.5106 GB, free: 125.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.064e-06/1.083, allocations: 0 / 0.5106 GB, free: 125.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005992/1.089, allocations: 0.8934 MB / 0.5114 GB, free: 125.7 MB / 394.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 () * Number of clocked 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 {(6,80.6%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006729/1.09, allocations: 180.8 kB / 0.5116 GB, free: 125.6 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:2651:5-2655:74:writable] Warning: Variable $DER.wheel1.der_angles[2] has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:2651:5-2655:74:writable] Warning: Variable $DER.wheel1.der_angles[1] has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.01367/1.104, allocations: 6.336 MB / 0.5178 GB, free: 123.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.104, allocations: 0 / 0.5178 GB, free: 123.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006374/1.11, allocations: 2.855 MB / 0.5206 GB, free: 122 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/1.112, allocations: 318.2 kB / 0.5209 GB, free: 121.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/1.129, allocations: 9.306 MB / 0.53 GB, free: 117.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003608/1.132, allocations: 2.569 MB / 0.5325 GB, free: 116.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009463/1.133, allocations: 234.8 kB / 0.5327 GB, free: 116.1 MB / 394.7 MB Notification: Performance of SimCode: time 1.725e-06/1.133, allocations: 0 / 0.5327 GB, free: 116.1 MB / 394.7 MB Notification: Performance of Templates: time 0.372/1.505, allocations: 134.3 MB / 0.6639 GB, free: 139.7 MB / 410.7 MB