Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.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.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.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadModel(Modelica): time 2.064/2.064, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000513/0.0005131, allocations: 8 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09775/0.09829, allocations: 44.5 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.445/0.5433, allocations: 92.39 MB / 401.4 MB, free: 14.81 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.5436, allocations: 98.75 kB / 401.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5204/1.064, allocations: 118.6 MB / 0.5079 GB, free: 15.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.875e-06/1.064, allocations: 0 / 0.5079 GB, free: 15.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004874/1.065, allocations: 124 kB / 0.508 GB, free: 15.65 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2063 * Number of variables: 2063 Notification: Performance of Generate backend data structure: time 0.02992/1.095, allocations: 6.484 MB / 0.5144 GB, free: 9.082 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/1.095, allocations: 12.02 kB / 0.5144 GB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02275/1.117, allocations: 2.773 MB / 0.5171 GB, free: 6.285 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3056/1.423, allocations: 7.658 MB / 0.5246 GB, free: 69.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007566/1.424, allocations: 458.2 kB / 0.525 GB, free: 69.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003594/1.428, allocations: 0.5952 MB / 0.5256 GB, free: 69.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05/1.478, allocations: 15.7 MB / 0.5409 GB, free: 66.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005043/1.478, allocations: 82.14 kB / 0.541 GB, free: 66.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002961/1.481, allocations: 283.3 kB / 0.5413 GB, free: 66.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003615/1.485, allocations: 1.485 MB / 0.5427 GB, free: 66.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06007/1.545, allocations: 13.47 MB / 0.5559 GB, free: 66.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1298/1.675, allocations: 70.28 MB / 0.6245 GB, free: 38.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03112/1.706, allocations: 7.327 MB / 0.6317 GB, free: 35.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001936/1.708, allocations: 1.286 MB / 0.6329 GB, free: 34.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.101e-05/1.708, allocations: 69.31 kB / 0.633 GB, free: 34.26 MB / 426.7 MB Notification: Performance of pre-optimization done (n=287): time 7.684e-06/1.708, allocations: 0 / 0.633 GB, free: 34.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=378): time 0.3329/2.041, allocations: 51.03 MB / 0.6828 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001676/2.041, allocations: 172.2 kB / 0.683 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3073/2.348, allocations: 5.164 MB / 0.688 GB, free: 80.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001233/2.35, allocations: 81.33 kB / 0.6881 GB, free: 80.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003836/2.354, allocations: 3.958 MB / 0.692 GB, free: 79.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002607/2.356, allocations: 1.373 MB / 0.6933 GB, free: 78.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001577/2.358, allocations: 161 kB / 0.6935 GB, free: 78.83 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007911/2.359, allocations: 0.6476 MB / 0.6941 GB, free: 78.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01202/2.371, allocations: 4.519 MB / 0.6985 GB, free: 78.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01556/2.386, allocations: 8.745 MB / 0.7071 GB, free: 73.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01474/2.401, allocations: 6.235 MB / 0.7131 GB, free: 73.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001697/2.401, allocations: 42.41 kB / 0.7132 GB, free: 73.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=1059) (initialization): time 0.06346/2.465, allocations: 18.99 MB / 0.7317 GB, free: 72.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001339/2.465, allocations: 70 kB / 0.7318 GB, free: 72.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00023/2.465, allocations: 148.6 kB / 0.7319 GB, free: 72.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03267/2.498, allocations: 6.558 MB / 0.7383 GB, free: 71.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01117/2.509, allocations: 1.76 MB / 0.7401 GB, free: 71.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0903/2.599, allocations: 37.38 MB / 0.7766 GB, free: 54.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01086/2.61, allocations: 0.5685 MB / 0.7771 GB, free: 54.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002353/2.613, allocations: 468.4 kB / 0.7776 GB, free: 54.29 MB / 426.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 (900): * Single equations (assignments): 892 * 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 {(6,80.6%) 103,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008341/2.621, allocations: 2.991 MB / 0.7805 GB, free: 52.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001615/2.623, allocations: 0.4909 MB / 0.781 GB, free: 52.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04703/2.67, allocations: 13.74 MB / 0.7944 GB, free: 42.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-05/2.67, allocations: 36.7 kB / 0.7944 GB, free: 42.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.432e-05/2.67, allocations: 31.19 kB / 0.7944 GB, free: 42.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.83e-05/2.67, allocations: 15.28 kB / 0.7945 GB, free: 42.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08577/2.756, allocations: 26.32 MB / 0.8202 GB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.822e-05/2.756, allocations: 4 kB / 0.8202 GB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00469/2.761, allocations: 0.5256 MB / 0.8207 GB, free: 21.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03851/2.799, allocations: 6.3 MB / 0.8268 GB, free: 16.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001371/2.801, allocations: 71.8 kB / 0.8269 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3934/3.194, allocations: 33.99 MB / 0.8601 GB, free: 68.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.228e-06/3.194, allocations: 9 kB / 0.8601 GB, free: 68.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06576/3.26, allocations: 19.76 MB / 0.8794 GB, free: 67.94 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005186/3.265, allocations: 1.347 MB / 0.8807 GB, free: 67.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002416/3.268, allocations: 66.28 kB / 0.8808 GB, free: 67.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006734/3.275, allocations: 343.2 kB / 0.8811 GB, free: 67.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002058/3.277, allocations: 265.7 kB / 0.8814 GB, free: 67.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008236/3.277, allocations: 98.03 kB / 0.8814 GB, free: 67.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008797/3.286, allocations: 3.318 MB / 0.8847 GB, free: 66.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.062e-06/3.286, allocations: 0 / 0.8847 GB, free: 66.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0125/3.299, allocations: 1.88 MB / 0.8865 GB, free: 66.14 MB / 426.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 (231): * Single equations (assignments): 223 * 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,66.7%) 97,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001675/3.301, allocations: 228.6 kB / 0.8867 GB, free: 66.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02978/3.33, allocations: 11.89 MB / 0.8984 GB, free: 61.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/3.33, allocations: 0 / 0.8984 GB, free: 61.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0155/3.346, allocations: 5.717 MB / 0.9039 GB, free: 58.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005838/3.352, allocations: 0.6134 MB / 0.9045 GB, free: 58.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08264/3.435, allocations: 19.19 MB / 0.9233 GB, free: 49.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01542/3.45, allocations: 4.691 MB / 0.9279 GB, free: 48.15 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01839/3.468, allocations: 2.455 MB / 0.9303 GB, free: 47.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003684/3.472, allocations: 335.7 kB / 0.9306 GB, free: 47.95 MB / 426.7 MB Notification: Performance of SimCode: time 2.294e-06/3.472, allocations: 3.281 kB / 0.9306 GB, free: 47.95 MB / 426.7 MB Notification: Performance of Templates: time 0.6887/4.161, allocations: 90.77 MB / 1.019 GB, free: 78.34 MB / 442.7 MB