Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.546/1.546, allocations: 171.3 MB / 179.2 MB, free: 7.574 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.997e-05/2.006e-05, allocations: 4 kB / 222.5 MB, free: 8.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06848/0.06853, allocations: 38.77 MB / 261.3 MB, free: 1.84 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3067/0.3752, allocations: 85.91 MB / 347.2 MB, free: 2.582 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.3755, allocations: 91.23 kB / 347.3 MB, free: 2.531 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.598/0.9736, allocations: 115 MB / 462.3 MB, free: 72.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.147e-06/0.9736, allocations: 3.562 kB / 462.3 MB, free: 72.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003478/0.974, allocations: 118.7 kB / 462.4 MB, free: 72.09 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.02058/0.9946, allocations: 6.08 MB / 468.5 MB, free: 69.28 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.9946, allocations: 11.12 kB / 468.5 MB, free: 69.28 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01656/1.011, allocations: 2.789 MB / 471.3 MB, free: 68.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02053/1.032, allocations: 7.617 MB / 478.9 MB, free: 65.89 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003279/1.032, allocations: 192.2 kB / 479.1 MB, free: 65.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002816/1.035, allocations: 360.8 kB / 479.4 MB, free: 65.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02073/1.056, allocations: 9.765 MB / 489.2 MB, free: 59.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02918/1.085, allocations: 13.66 MB / 0.4911 GB, free: 44.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004142/1.085, allocations: 83.23 kB / 0.4912 GB, free: 44.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002321/1.088, allocations: 40 kB / 0.4912 GB, free: 44.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002524/1.09, allocations: 1.474 MB / 0.4926 GB, free: 43.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3584/1.449, allocations: 68.03 MB / 0.5591 GB, free: 31.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01008/1.459, allocations: 6.227 MB / 0.5652 GB, free: 31.08 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007263/1.466, allocations: 4.74 MB / 0.5698 GB, free: 31.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001503/1.468, allocations: 1.285 MB / 0.571 GB, free: 29.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.157e-05/1.468, allocations: 61.19 kB / 0.5711 GB, free: 29.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=286): time 7.8e-06/1.468, allocations: 0 / 0.5711 GB, free: 29.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=377): time 0.1152/1.583, allocations: 37.27 MB / 0.6075 GB, free: 19.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/1.583, allocations: 164.2 kB / 0.6077 GB, free: 18.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007648/1.591, allocations: 3.793 MB / 0.6114 GB, free: 16.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001005/1.592, allocations: 28.23 kB / 0.6114 GB, free: 16.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002647/1.595, allocations: 3.924 MB / 0.6152 GB, free: 13.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001996/1.597, allocations: 1.329 MB / 0.6165 GB, free: 12.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009407/1.598, allocations: 0 / 0.6165 GB, free: 12.06 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005994/1.598, allocations: 0.6583 MB / 0.6172 GB, free: 11.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00818/1.606, allocations: 4.318 MB / 0.6214 GB, free: 7.609 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0117/1.618, allocations: 8.637 MB / 0.6298 GB, free: 13.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01302/1.631, allocations: 6.076 MB / 0.6357 GB, free: 8.531 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001605/1.631, allocations: 40 kB / 0.6358 GB, free: 8.492 MB / 362.7 MB Notification: Performance of matching and sorting (n=1082) (initialization): time 0.05567/1.687, allocations: 17.96 MB / 0.6533 GB, free: 10.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000146/1.687, allocations: 72.84 kB / 0.6534 GB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00024/1.687, allocations: 152 kB / 0.6535 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0264/1.714, allocations: 6.53 MB / 0.6599 GB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008312/1.722, allocations: 1.797 MB / 0.6617 GB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2977/2.02, allocations: 33.6 MB / 0.6945 GB, free: 101.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00899/2.029, allocations: 436.7 kB / 0.6949 GB, free: 101.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002189/2.031, allocations: 477.6 kB / 0.6954 GB, free: 101.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 696 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (923): * Single equations (assignments): 915 * 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.002279/2.034, allocations: 0.5013 MB / 0.6958 GB, free: 101.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001275/2.035, allocations: 456.8 kB / 0.6963 GB, free: 101.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03605/2.071, allocations: 13.32 MB / 0.7093 GB, free: 99.51 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.246e-05/2.071, allocations: 41.56 kB / 0.7093 GB, free: 99.51 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.413e-05/2.071, allocations: 28.91 kB / 0.7094 GB, free: 99.51 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.661e-05/2.071, allocations: 22.73 kB / 0.7094 GB, free: 99.51 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06367/2.135, allocations: 24.88 MB / 0.7337 GB, free: 90.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.711e-05/2.135, allocations: 3.781 kB / 0.7337 GB, free: 90.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003068/2.138, allocations: 0.5193 MB / 0.7342 GB, free: 90.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02425/2.162, allocations: 6.239 MB / 0.7403 GB, free: 89.19 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001116/2.163, allocations: 14.52 kB / 0.7403 GB, free: 89.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05694/2.22, allocations: 30.64 MB / 0.7702 GB, free: 67.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/2.22, allocations: 5.969 kB / 0.7702 GB, free: 67.08 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04299/2.263, allocations: 19.69 MB / 0.7894 GB, free: 47.26 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003964/2.267, allocations: 1.279 MB / 0.7907 GB, free: 45.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001674/2.269, allocations: 12 kB / 0.7907 GB, free: 45.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004728/2.274, allocations: 287.5 kB / 0.791 GB, free: 45.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001798/2.276, allocations: 266 kB / 0.7912 GB, free: 45.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008143/2.277, allocations: 103.1 kB / 0.7913 GB, free: 45.31 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005988/2.283, allocations: 2.555 MB / 0.7938 GB, free: 42.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.238e-06/2.283, allocations: 2.625 kB / 0.7938 GB, free: 42.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01089/2.294, allocations: 1.63 MB / 0.7954 GB, free: 41.13 MB / 394.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 () * 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,66.7%) 97,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001219/2.295, allocations: 165.5 kB / 0.7956 GB, free: 40.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.02169/2.317, allocations: 11.37 MB / 0.8067 GB, free: 29.64 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.02e-06/2.317, allocations: 4 kB / 0.8067 GB, free: 29.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01102/2.328, allocations: 5.484 MB / 0.812 GB, free: 24.06 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00355/2.331, allocations: 468.2 kB / 0.8125 GB, free: 23.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2986/2.63, allocations: 14.96 MB / 0.8271 GB, free: 100.9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01808/2.648, allocations: 4.688 MB / 0.8317 GB, free: 100 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004244/2.652, allocations: 370.5 kB / 0.832 GB, free: 100 MB / 394.7 MB Notification: Performance of SimCode: time 4.593e-06/2.652, allocations: 0 / 0.832 GB, free: 100 MB / 394.7 MB Notification: Performance of Templates: time 0.5721/3.225, allocations: 215.7 MB / 1.043 GB, free: 51.46 MB / 394.7 MB