Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.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.MultiBody.Examples.Elementary.RollingWheelSetDriving,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheelSet.der_theta1|wheelSet.der_theta2|wheelSet.phi|wheelSet.theta1|wheelSet.theta2|wheelSet.x|wheelSet.y",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadModel(Modelica): time 1.765/1.765, allocations: 171.1 MB / 187.3 MB, free: 1.055 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005026/0.0005031, allocations: 12 kB / 233.8 MB, free: 3.062 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1036, allocations: 38.77 MB / 272.6 MB, free: 12.21 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3778/0.4815, allocations: 86.64 MB / 359.2 MB, free: 3.645 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.4819, allocations: 90.08 kB / 359.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7048/1.187, allocations: 118.5 MB / 477.8 MB, free: 70.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/1.187, allocations: 0 / 477.8 MB, free: 70.46 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004027/1.187, allocations: 123.5 kB / 477.9 MB, free: 70.46 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2062 * Number of variables: 2062 Notification: Performance of Generate backend data structure: time 0.0282/1.215, allocations: 6.49 MB / 484.4 MB, free: 67.92 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/1.215, allocations: 11.75 kB / 484.4 MB, free: 67.92 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02209/1.238, allocations: 2.78 MB / 487.2 MB, free: 67.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02458/1.262, allocations: 7.662 MB / 494.9 MB, free: 64.56 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005603/1.263, allocations: 459.6 kB / 495.3 MB, free: 64.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004273/1.267, allocations: 0.5943 MB / 495.9 MB, free: 64.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04769/1.315, allocations: 15.75 MB / 0.4997 GB, free: 49.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004005/1.315, allocations: 79.25 kB / 0.4998 GB, free: 49.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002448/1.318, allocations: 288.8 kB / 0.5 GB, free: 48.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003277/1.321, allocations: 1.479 MB / 0.5015 GB, free: 47.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04144/1.363, allocations: 13.46 MB / 0.5146 GB, free: 33.99 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4099/1.772, allocations: 70.25 MB / 0.5832 GB, free: 37.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03329/1.806, allocations: 7.314 MB / 0.5904 GB, free: 36.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002005/1.808, allocations: 1.287 MB / 0.5916 GB, free: 35.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.419e-05/1.808, allocations: 64.47 kB / 0.5917 GB, free: 35.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=286): time 7.294e-06/1.808, allocations: 0 / 0.5917 GB, free: 35.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=377): time 0.3001/2.108, allocations: 51.31 MB / 0.6418 GB, free: 28.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.152e-05/2.108, allocations: 170 kB / 0.642 GB, free: 27.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01198/2.12, allocations: 5.164 MB / 0.647 GB, free: 23.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001489/2.122, allocations: 85.27 kB / 0.6471 GB, free: 23.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003329/2.125, allocations: 3.801 MB / 0.6508 GB, free: 20.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002626/2.128, allocations: 1.374 MB / 0.6521 GB, free: 18.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001352/2.129, allocations: 160 kB / 0.6523 GB, free: 18.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0006145/2.13, allocations: 0.6557 MB / 0.6529 GB, free: 18.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01122/2.141, allocations: 4.509 MB / 0.6573 GB, free: 14.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01425/2.155, allocations: 8.78 MB / 0.6659 GB, free: 3.629 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01549/2.171, allocations: 6.229 MB / 0.672 GB, free: 13.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001651/2.171, allocations: 40 kB / 0.672 GB, free: 13.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=1058) (initialization): time 0.07167/2.243, allocations: 18.81 MB / 0.6904 GB, free: 10.97 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001323/2.243, allocations: 72.92 kB / 0.6905 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002423/2.243, allocations: 148.9 kB / 0.6906 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03589/2.279, allocations: 6.61 MB / 0.6971 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01173/2.291, allocations: 1.758 MB / 0.6988 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3645/2.655, allocations: 37.23 MB / 0.7351 GB, free: 109.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01092/2.666, allocations: 0.5673 MB / 0.7357 GB, free: 109.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002238/2.669, allocations: 464.2 kB / 0.7361 GB, free: 109.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * 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 (899): * Single equations (assignments): 891 * 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%) 101,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00897/2.678, allocations: 2.991 MB / 0.739 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001594/2.679, allocations: 0.4921 MB / 0.7395 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04946/2.729, allocations: 13.74 MB / 0.7529 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.187e-05/2.729, allocations: 38.69 kB / 0.753 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-05/2.729, allocations: 28.25 kB / 0.753 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.646e-05/2.729, allocations: 20.5 kB / 0.753 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08591/2.815, allocations: 26.3 MB / 0.7787 GB, free: 94.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.48e-05/2.815, allocations: 7.766 kB / 0.7787 GB, free: 94.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004737/2.82, allocations: 0.5266 MB / 0.7792 GB, free: 94.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03269/2.853, allocations: 6.295 MB / 0.7854 GB, free: 93.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001348/2.854, allocations: 70.94 kB / 0.7855 GB, free: 93.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.079/2.933, allocations: 34 MB / 0.8187 GB, free: 66.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/2.933, allocations: 4.906 kB / 0.8187 GB, free: 66.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0607/2.994, allocations: 19.77 MB / 0.838 GB, free: 47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00507/2.999, allocations: 1.356 MB / 0.8393 GB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002188/3.001, allocations: 70.11 kB / 0.8394 GB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006503/3.008, allocations: 335.5 kB / 0.8397 GB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002123/3.01, allocations: 267.8 kB / 0.8399 GB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000847/3.011, allocations: 99.48 kB / 0.84 GB, free: 44.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.008255/3.019, allocations: 3.318 MB / 0.8433 GB, free: 41.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.22e-07/3.019, allocations: 0 / 0.8433 GB, free: 41.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01265/3.032, allocations: 1.882 MB / 0.8451 GB, free: 39.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (230): * Single equations (assignments): 222 * 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 {(9,67.9%) 97,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001623/3.033, allocations: 222.1 kB / 0.8453 GB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.2968/3.33, allocations: 11.94 MB / 0.857 GB, free: 113 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/3.33, allocations: 2.281 kB / 0.857 GB, free: 113 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01782/3.348, allocations: 5.723 MB / 0.8626 GB, free: 112.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006283/3.354, allocations: 0.6179 MB / 0.8632 GB, free: 112.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05914/3.414, allocations: 19.85 MB / 0.8826 GB, free: 106.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01134/3.425, allocations: 4.696 MB / 0.8871 GB, free: 105.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002622/3.428, allocations: 385.9 kB / 0.8875 GB, free: 105.4 MB / 410.7 MB Notification: Performance of SimCode: time 8.31e-07/3.428, allocations: 4.656 kB / 0.8875 GB, free: 105.4 MB / 410.7 MB Notification: Performance of Templates: time 0.6738/4.101, allocations: 219.9 MB / 1.102 GB, free: 45.69 MB / 410.7 MB