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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.581/1.581, allocations: 171.2 MB / 184.2 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.686e-05/2.702e-05, allocations: 4 kB / 228.8 MB, free: 15.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2077, allocations: 38.77 MB / 267.6 MB, free: 9.434 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.3364, allocations: 86.58 MB / 354.2 MB, free: 2.719 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.3367, allocations: 87.94 kB / 354.3 MB, free: 2.633 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5694/0.906, allocations: 117.5 MB / 471.8 MB, free: 6.742 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.9061, allocations: 0 / 471.8 MB, free: 6.742 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003805/0.9065, allocations: 120 kB / 471.9 MB, free: 6.625 MB / 330.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.02104/0.9275, allocations: 6.089 MB / 478 MB, free: 472 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.9276, allocations: 8.031 kB / 478 MB, free: 464 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01753/0.9452, allocations: 2.792 MB / 480.8 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02702/0.9722, allocations: 7.621 MB / 488.4 MB, free: 5.965 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001003/0.9733, allocations: 452 kB / 488.8 MB, free: 5.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004249/0.9776, allocations: 0.5973 MB / 489.4 MB, free: 4.922 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2848/1.262, allocations: 15.57 MB / 0.4932 GB, free: 43.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003584/1.263, allocations: 81.34 kB / 0.4932 GB, free: 43.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001962/1.265, allocations: 287.4 kB / 0.4935 GB, free: 43.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002687/1.268, allocations: 1.479 MB / 0.495 GB, free: 43.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03338/1.301, allocations: 13.27 MB / 0.5079 GB, free: 43.53 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09405/1.395, allocations: 70.27 MB / 0.5765 GB, free: 16.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02455/1.42, allocations: 7.255 MB / 0.5836 GB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007481/1.427, allocations: 4.814 MB / 0.5883 GB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002012/1.429, allocations: 1.284 MB / 0.5896 GB, free: 9.973 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.361e-05/1.429, allocations: 63.31 kB / 0.5896 GB, free: 9.906 MB / 362.7 MB Notification: Performance of pre-optimization done (n=286): time 8.193e-06/1.429, allocations: 4 kB / 0.5896 GB, free: 9.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=377): time 0.4196/1.849, allocations: 41.25 MB / 0.6299 GB, free: 74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/1.849, allocations: 170.8 kB / 0.6301 GB, free: 73.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0104/1.86, allocations: 4.561 MB / 0.6345 GB, free: 73.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000969/1.861, allocations: 81.2 kB / 0.6346 GB, free: 73.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002759/1.863, allocations: 3.806 MB / 0.6383 GB, free: 72.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001989/1.865, allocations: 1.368 MB / 0.6397 GB, free: 71.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001229/1.867, allocations: 167.1 kB / 0.6398 GB, free: 71.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0007135/1.867, allocations: 0.6566 MB / 0.6405 GB, free: 71.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008886/1.876, allocations: 4.432 MB / 0.6448 GB, free: 71.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01172/1.888, allocations: 8.66 MB / 0.6533 GB, free: 65.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01164/1.9, allocations: 6.196 MB / 0.6593 GB, free: 65.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001298/1.9, allocations: 40.66 kB / 0.6593 GB, free: 65.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=1058) (initialization): time 0.04979/1.95, allocations: 18.69 MB / 0.6776 GB, free: 63.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/1.95, allocations: 68.81 kB / 0.6777 GB, free: 63.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001687/1.95, allocations: 147 kB / 0.6778 GB, free: 63.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02507/1.975, allocations: 6.639 MB / 0.6843 GB, free: 62.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007813/1.983, allocations: 1.751 MB / 0.686 GB, free: 61.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06542/2.048, allocations: 35.68 MB / 0.7208 GB, free: 39.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009079/2.058, allocations: 0.5806 MB / 0.7214 GB, free: 38.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001855/2.06, allocations: 468.8 kB / 0.7219 GB, free: 38.18 MB / 378.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 () * 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.002202/2.062, allocations: 0.6983 MB / 0.7225 GB, free: 37.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/2.063, allocations: 0.4936 MB / 0.723 GB, free: 37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03574/2.099, allocations: 13.68 MB / 0.7364 GB, free: 26.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.804e-05/2.099, allocations: 40.62 kB / 0.7364 GB, free: 26.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.671e-05/2.099, allocations: 27.95 kB / 0.7364 GB, free: 26.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.5e-05/2.099, allocations: 20.17 kB / 0.7365 GB, free: 26.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2916/2.391, allocations: 26.25 MB / 0.7621 GB, free: 62.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.424e-05/2.391, allocations: 3.438 kB / 0.7621 GB, free: 62.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003386/2.394, allocations: 0.5273 MB / 0.7626 GB, free: 62.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02422/2.418, allocations: 6.312 MB / 0.7688 GB, free: 62.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009917/2.419, allocations: 71.75 kB / 0.7689 GB, free: 62.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05968/2.479, allocations: 32.47 MB / 0.8006 GB, free: 59.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/2.479, allocations: 7.062 kB / 0.8006 GB, free: 59.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04489/2.524, allocations: 20.15 MB / 0.8202 GB, free: 53.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004018/2.528, allocations: 1.349 MB / 0.8216 GB, free: 53.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001663/2.53, allocations: 72.7 kB / 0.8216 GB, free: 53.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005019/2.535, allocations: 346.3 kB / 0.822 GB, free: 52.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001567/2.536, allocations: 265.7 kB / 0.8222 GB, free: 52.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006622/2.537, allocations: 102.1 kB / 0.8223 GB, free: 52.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.007417/2.545, allocations: 3.272 MB / 0.8255 GB, free: 51.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.199e-06/2.545, allocations: 1.031 kB / 0.8255 GB, free: 51.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01063/2.555, allocations: 1.881 MB / 0.8273 GB, free: 51.54 MB / 378.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,67.9%) 97,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001251/2.557, allocations: 228.6 kB / 0.8276 GB, free: 51.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02446/2.581, allocations: 11.78 MB / 0.8391 GB, free: 46.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/2.581, allocations: 0 / 0.8391 GB, free: 46.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01204/2.593, allocations: 5.635 MB / 0.8446 GB, free: 41.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004824/2.598, allocations: 0.6142 MB / 0.8452 GB, free: 40.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0402/2.638, allocations: 15.16 MB / 0.86 GB, free: 27.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009951/2.648, allocations: 4.699 MB / 0.8646 GB, free: 24.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001949/2.65, allocations: 384.7 kB / 0.8649 GB, free: 23.87 MB / 378.7 MB Notification: Performance of SimCode: time 2.108e-06/2.65, allocations: 0 / 0.8649 GB, free: 23.87 MB / 378.7 MB Notification: Performance of Templates: time 0.8051/3.455, allocations: 219.9 MB / 1.08 GB, free: 90.23 MB / 410.7 MB