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.RollingWheelSetDriving.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.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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadModel(Modelica): time 1.783/1.783, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.00038, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08144/0.08185, allocations: 44.51 MB / 308.5 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4727/0.5546, allocations: 92.39 MB / 400.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003999/0.555, allocations: 93.81 kB / 400.9 MB, free: 18.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4775/1.033, allocations: 117.5 MB / 0.5062 GB, free: 3.445 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.787e-06/1.033, allocations: 0 / 0.5062 GB, free: 3.445 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004058/1.033, allocations: 120 kB / 0.5064 GB, free: 3.328 MB / 394.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.2614/1.294, allocations: 6.49 MB / 0.5127 GB, free: 56.29 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/1.295, allocations: 12.47 kB / 0.5127 GB, free: 56.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01739/1.312, allocations: 2.774 MB / 0.5154 GB, free: 55.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02298/1.335, allocations: 7.661 MB / 0.5229 GB, free: 55.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006269/1.336, allocations: 454.8 kB / 0.5233 GB, free: 55.53 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00282/1.338, allocations: 0.5997 MB / 0.5239 GB, free: 55.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0404/1.379, allocations: 15.69 MB / 0.5392 GB, free: 52.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003623/1.379, allocations: 79.41 kB / 0.5393 GB, free: 52.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001963/1.381, allocations: 288 kB / 0.5396 GB, free: 52.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002741/1.384, allocations: 1.471 MB / 0.541 GB, free: 52.13 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0336/1.418, allocations: 13.48 MB / 0.5542 GB, free: 52.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09971/1.517, allocations: 70.28 MB / 0.6228 GB, free: 20.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02451/1.542, allocations: 7.326 MB / 0.63 GB, free: 16.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001425/1.543, allocations: 1.277 MB / 0.6312 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/1.544, allocations: 64.27 kB / 0.6313 GB, free: 15.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=287): time 7.81e-06/1.544, allocations: 3.406 kB / 0.6313 GB, free: 15.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=378): time 0.5063/2.05, allocations: 50.24 MB / 0.6804 GB, free: 82.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.569e-05/2.05, allocations: 165.9 kB / 0.6805 GB, free: 82.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01059/2.061, allocations: 4.606 MB / 0.685 GB, free: 81.78 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001011/2.062, allocations: 82.3 kB / 0.6851 GB, free: 81.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002942/2.065, allocations: 3.808 MB / 0.6888 GB, free: 79.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002002/2.067, allocations: 1.373 MB / 0.6902 GB, free: 79.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001003/2.068, allocations: 161.2 kB / 0.6903 GB, free: 79.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005716/2.068, allocations: 0.6537 MB / 0.6909 GB, free: 78.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009216/2.077, allocations: 4.519 MB / 0.6954 GB, free: 78.72 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01183/2.089, allocations: 8.748 MB / 0.7039 GB, free: 73.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01192/2.101, allocations: 6.226 MB / 0.71 GB, free: 73.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001254/2.102, allocations: 41.75 kB / 0.71 GB, free: 73.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=1059) (initialization): time 0.04912/2.151, allocations: 18.86 MB / 0.7284 GB, free: 70.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001235/2.151, allocations: 67.44 kB / 0.7285 GB, free: 70.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001779/2.151, allocations: 149.4 kB / 0.7286 GB, free: 70.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02442/2.175, allocations: 6.585 MB / 0.7351 GB, free: 69.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007914/2.183, allocations: 1.758 MB / 0.7368 GB, free: 69.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07055/2.254, allocations: 37.4 MB / 0.7733 GB, free: 48.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009094/2.263, allocations: 0.5626 MB / 0.7739 GB, free: 48.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002065/2.265, allocations: 464.8 kB / 0.7743 GB, free: 47.82 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.007986/2.273, allocations: 3.002 MB / 0.7772 GB, free: 45.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001596/2.275, allocations: 0.4898 MB / 0.7777 GB, free: 44.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03633/2.311, allocations: 13.77 MB / 0.7912 GB, free: 34.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-05/2.311, allocations: 36 kB / 0.7912 GB, free: 34.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.171e-05/2.311, allocations: 28 kB / 0.7912 GB, free: 34.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.42e-05/2.311, allocations: 17.58 kB / 0.7912 GB, free: 34.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06498/2.376, allocations: 26.36 MB / 0.817 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.62e-05/2.377, allocations: 4 kB / 0.817 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003143/2.38, allocations: 0.5302 MB / 0.8175 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2786/2.658, allocations: 6.326 MB / 0.8237 GB, free: 70.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001116/2.659, allocations: 70.77 kB / 0.8238 GB, free: 70.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0689/2.728, allocations: 34.01 MB / 0.857 GB, free: 68.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.206e-06/2.728, allocations: 3.906 kB / 0.857 GB, free: 68.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04876/2.777, allocations: 20.31 MB / 0.8768 GB, free: 63.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004388/2.782, allocations: 1.343 MB / 0.8781 GB, free: 63.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00212/2.784, allocations: 70.47 kB / 0.8782 GB, free: 63.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005106/2.789, allocations: 341.9 kB / 0.8785 GB, free: 63.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001846/2.791, allocations: 262.8 kB / 0.8788 GB, free: 63.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009133/2.792, allocations: 100.6 kB / 0.8789 GB, free: 63.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007969/2.8, allocations: 3.312 MB / 0.8821 GB, free: 62.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.333e-06/2.8, allocations: 0 / 0.8821 GB, free: 62.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01145/2.811, allocations: 1.89 MB / 0.8839 GB, free: 61.85 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.001437/2.813, allocations: 216.5 kB / 0.8841 GB, free: 61.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02442/2.837, allocations: 11.91 MB / 0.8958 GB, free: 57.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.073e-06/2.837, allocations: 0 / 0.8958 GB, free: 57.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01273/2.85, allocations: 5.708 MB / 0.9013 GB, free: 54.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005263/2.855, allocations: 0.6064 MB / 0.9019 GB, free: 54.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04756/2.903, allocations: 19.89 MB / 0.9214 GB, free: 42.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01023/2.913, allocations: 4.688 MB / 0.9259 GB, free: 38.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002022/2.915, allocations: 395 kB / 0.9263 GB, free: 38.16 MB / 426.7 MB Notification: Performance of SimCode: time 1.928e-06/2.915, allocations: 0 / 0.9263 GB, free: 38.16 MB / 426.7 MB Notification: Performance of Templates: time 0.8205/3.736, allocations: 220 MB / 1.141 GB, free: 108.5 MB / 474.7 MB