Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadModel(Modelica): time 1.03/1.03, allocations: 111.1 MB / 127.3 MB, free: 6.148 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002495/0.0002496, allocations: 8 kB / 158.9 MB, free: 15.21 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05161/0.05188, allocations: 25.16 MB / 184 MB, free: 6.012 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2273/0.2792, allocations: 51.85 MB / 235.9 MB, free: 10.89 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.2795, allocations: 81.33 kB / 236 MB, free: 10.85 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.119/4.399, allocations: 486.8 MB / 0.7058 GB, free: 32.89 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.314e-06/4.399, allocations: 0 / 0.7058 GB, free: 32.89 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0003968/4.399, allocations: 145.8 kB / 0.7059 GB, free: 32.89 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.2999/4.699, allocations: 41.23 MB / 0.7462 GB, free: 1.086 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/4.699, allocations: 8.031 kB / 0.7462 GB, free: 1.078 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.791/14.49, allocations: 0.95 GB / 1.696 GB, free: 10.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.264/14.75, allocations: 19.92 MB / 1.716 GB, free: 49.38 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008364/14.76, allocations: 0.5575 MB / 1.716 GB, free: 49.37 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01982/14.78, allocations: 0.7264 MB / 1.717 GB, free: 49.37 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 2.752/17.53, allocations: 312.2 MB / 2.022 GB, free: 22.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005523/17.53, allocations: 60.73 kB / 2.022 GB, free: 22.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01748/17.54, allocations: 331.6 kB / 2.022 GB, free: 22.4 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008208/17.55, allocations: 2.254 MB / 2.024 GB, free: 20.15 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.867/23.42, allocations: 0.59 GB / 2.614 GB, free: 43.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.175/30.59, allocations: 0.8868 GB / 3.501 GB, free: 58.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.5374/31.13, allocations: 73.1 MB / 3.573 GB, free: 40.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002137/31.13, allocations: 1.314 MB / 3.574 GB, free: 39.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/31.13, allocations: 91.16 kB / 3.574 GB, free: 39.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=415): time 1.061e-05/31.13, allocations: 0 / 3.574 GB, free: 39.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=506): time 2.194/33.33, allocations: 247.2 MB / 3.815 GB, free: 47.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001689/33.33, allocations: 0.5092 MB / 3.816 GB, free: 46.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2245/33.55, allocations: 6.301 MB / 3.822 GB, free: 82.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.005204/33.56, allocations: 98.95 kB / 3.822 GB, free: 82.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004185/33.56, allocations: 4.541 MB / 3.827 GB, free: 80.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.007077/33.57, allocations: 1.818 MB / 3.828 GB, free: 79.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006293/33.58, allocations: 205.2 kB / 3.829 GB, free: 79.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.001035/33.58, allocations: 0.7409 MB / 3.829 GB, free: 78.78 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5217/34.1, allocations: 69.89 MB / 3.897 GB, free: 76.96 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7395/34.84, allocations: 75.18 MB / 3.971 GB, free: 76.83 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4517/35.29, allocations: 58.45 MB / 4.028 GB, free: 55.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002478/35.29, allocations: 52.75 kB / 4.028 GB, free: 55.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=1334) (initialization): time 1.472/36.76, allocations: 138.4 MB / 4.163 GB, free: 72.78 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002126/36.76, allocations: 82.12 kB / 4.163 GB, free: 72.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003147/36.76, allocations: 185.3 kB / 4.163 GB, free: 72.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03443/36.8, allocations: 6.699 MB / 4.17 GB, free: 72.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2455/37.04, allocations: 28.83 MB / 4.198 GB, free: 72.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09295/37.14, allocations: 37.28 MB / 4.235 GB, free: 55.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.4677/37.6, allocations: 25.97 MB / 4.26 GB, free: 70.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007972/37.61, allocations: 1.26 MB / 4.261 GB, free: 70.66 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 833 * Number of states: 0 () * Number of discrete variables: 51 (shape.color[3],shape.color[2],shape.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],wheelSet.wheelSetJoint.revolute2.cylinderColor[3],wheelSet.wheelSetJoint.revolute2.cylinderColor[2],wheelSet.wheelSetJoint.revolute2.cylinderColor[1],wheelSet.wheelSetJoint.revolute1.cylinderColor[3],wheelSet.wheelSetJoint.revolute1.cylinderColor[2],wheelSet.wheelSetJoint.revolute1.cylinderColor[1],wheelSet.wheelSetJoint.rod2.color[3],wheelSet.wheelSetJoint.rod2.color[2],wheelSet.wheelSetJoint.rod2.color[1],wheelSet.wheelSetJoint.revolute.cylinderColor[3],wheelSet.wheelSetJoint.revolute.cylinderColor[2],wheelSet.wheelSetJoint.revolute.cylinderColor[1],wheelSet.wheelSetJoint.prismatic2.boxColor[3],wheelSet.wheelSetJoint.prismatic2.boxColor[2],wheelSet.wheelSetJoint.prismatic2.boxColor[1],wheelSet.wheelSetJoint.prismatic1.boxColor[3],wheelSet.wheelSetJoint.prismatic1.boxColor[2],wheelSet.wheelSetJoint.prismatic1.boxColor[1],wheelSet.wheelSetJoint.rod1.color[3],wheelSet.wheelSetJoint.rod1.color[2],wheelSet.wheelSetJoint.rod1.color[1],wheelSet.wheelSetJoint.fixed.color[3],wheelSet.wheelSetJoint.fixed.color[2],wheelSet.wheelSetJoint.fixed.color[1],wheelSet.body1.sphereColor[3],wheelSet.body1.sphereColor[2],wheelSet.body1.sphereColor[1],wheelSet.body2.sphereColor[3],wheelSet.body2.sphereColor[2],wheelSet.body2.sphereColor[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],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1175): * Single equations (assignments): 1167 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,71.9%) 101,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01993/37.63, allocations: 3.602 MB / 4.265 GB, free: 70.42 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007352/37.64, allocations: 0.5894 MB / 4.265 GB, free: 70.42 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05595/37.69, allocations: 14.51 MB / 4.279 GB, free: 70.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001035/37.7, allocations: 56.83 kB / 4.279 GB, free: 70.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.472e-05/37.7, allocations: 35.89 kB / 4.279 GB, free: 70.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001258/37.7, allocations: 29.75 kB / 4.279 GB, free: 70.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.9501/38.65, allocations: 128.8 MB / 4.405 GB, free: 71.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001383/38.65, allocations: 11.66 kB / 4.405 GB, free: 71.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2357/38.88, allocations: 27.21 MB / 4.432 GB, free: 64.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03287/38.91, allocations: 6.127 MB / 4.438 GB, free: 59.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005478/38.92, allocations: 0.7402 MB / 4.439 GB, free: 58.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3123/39.23, allocations: 33.23 MB / 4.471 GB, free: 66.56 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.393e-05/39.23, allocations: 22.25 kB / 4.471 GB, free: 66.56 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 2.045/41.28, allocations: 210.3 MB / 4.676 GB, free: 68.74 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01824/41.3, allocations: 4.588 MB / 4.681 GB, free: 68.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008402/41.3, allocations: 101.7 kB / 4.681 GB, free: 68.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2325/41.54, allocations: 25.57 MB / 4.706 GB, free: 68.63 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002872/41.54, allocations: 423.5 kB / 4.706 GB, free: 68.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005615/41.55, allocations: 0.808 MB / 4.707 GB, free: 68.63 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0109/41.56, allocations: 4.048 MB / 4.711 GB, free: 68.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.52e-07/41.56, allocations: 0 / 4.711 GB, free: 68.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.02713/41.58, allocations: 3.448 MB / 4.714 GB, free: 68.41 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 59 * Number of states: 7 (wheelSet.x,wheelSet.y,wheelSet.phi,wheelSet.theta1,wheelSet.theta2,wheelSet.der_theta1,wheelSet.der_theta2) * 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 (359): * Single equations (assignments): 351 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,73.4%) 98,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005231/41.59, allocations: 264.3 kB / 4.715 GB, free: 68.31 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 1.366/42.95, allocations: 143.7 MB / 4.855 GB, free: 71.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.341e-05/42.96, allocations: 2.344 kB / 4.855 GB, free: 71.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.8368/43.79, allocations: 71.59 MB / 4.925 GB, free: 74.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009419/43.8, allocations: 0.6579 MB / 4.926 GB, free: 74.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8995/44.7, allocations: 93.54 MB / 5.017 GB, free: 67.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01418/44.72, allocations: 5.532 MB / 5.022 GB, free: 67.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02936/44.74, allocations: 2.59 MB / 5.025 GB, free: 67.07 MB / 330.7 MB Notification: Performance of SimCode: time 2.405e-06/44.74, allocations: 0 / 5.025 GB, free: 67.07 MB / 330.7 MB Notification: Performance of Templates: time 1.813/46.56, allocations: 461.9 MB / 5.476 GB, free: 74.62 MB / 346.7 MB