Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadModel(Modelica): time 1.919/1.919, allocations: 171.2 MB / 186.7 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003692, allocations: 8 kB / 233.9 MB, free: 2.367 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1281, allocations: 38.76 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4576/0.5858, allocations: 86.65 MB / 359.3 MB, free: 2.969 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004226/0.5863, allocations: 93.88 kB / 359.4 MB, free: 2.918 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.774/1.36, allocations: 118.5 MB / 477.9 MB, free: 71.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.355e-06/1.36, allocations: 0 / 477.9 MB, free: 71.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000428/1.361, allocations: 125.9 kB / 478 MB, free: 71.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.02873/1.39, allocations: 6.494 MB / 484.5 MB, free: 68.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/1.39, allocations: 7.781 kB / 484.5 MB, free: 68.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02235/1.412, allocations: 2.786 MB / 487.3 MB, free: 67.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02569/1.438, allocations: 7.66 MB / 495 MB, free: 65.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005859/1.438, allocations: 454.7 kB / 495.4 MB, free: 64.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003716/1.442, allocations: 0.5993 MB / 496 MB, free: 64.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04887/1.491, allocations: 15.69 MB / 0.4997 GB, free: 48.9 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004907/1.492, allocations: 87.11 kB / 0.4998 GB, free: 48.81 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003204/1.495, allocations: 290.1 kB / 0.5001 GB, free: 48.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003393/1.498, allocations: 1.469 MB / 0.5015 GB, free: 47.1 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.042/1.54, allocations: 13.47 MB / 0.5147 GB, free: 33.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4182/1.958, allocations: 70.24 MB / 0.5833 GB, free: 37.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03353/1.992, allocations: 7.323 MB / 0.5904 GB, free: 37.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001982/1.994, allocations: 1.29 MB / 0.5917 GB, free: 36.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.768e-05/1.994, allocations: 62.97 kB / 0.5917 GB, free: 35.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=286): time 7.403e-06/1.994, allocations: 0 / 0.5917 GB, free: 35.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=377): time 0.338/2.332, allocations: 51.3 MB / 0.6418 GB, free: 28.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.657e-05/2.332, allocations: 170.7 kB / 0.642 GB, free: 28.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01221/2.345, allocations: 5.165 MB / 0.647 GB, free: 23.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00138/2.346, allocations: 84.91 kB / 0.6471 GB, free: 23.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003939/2.35, allocations: 3.958 MB / 0.651 GB, free: 20.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002671/2.353, allocations: 1.373 MB / 0.6523 GB, free: 18.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001431/2.354, allocations: 160 kB / 0.6525 GB, free: 18.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0006737/2.355, allocations: 0.6444 MB / 0.6531 GB, free: 18.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01125/2.366, allocations: 4.519 MB / 0.6575 GB, free: 14.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01422/2.38, allocations: 8.747 MB / 0.6661 GB, free: 3.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01565/2.396, allocations: 6.222 MB / 0.6721 GB, free: 13.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001447/2.396, allocations: 40 kB / 0.6722 GB, free: 13.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=1058) (initialization): time 0.07984/2.476, allocations: 19 MB / 0.6907 GB, free: 10.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001988/2.476, allocations: 68.19 kB / 0.6908 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003677/2.477, allocations: 152.9 kB / 0.6909 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04943/2.526, allocations: 6.61 MB / 0.6974 GB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01607/2.542, allocations: 1.755 MB / 0.6991 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4395/2.982, allocations: 37.23 MB / 0.7355 GB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01044/2.992, allocations: 0.5585 MB / 0.736 GB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001904/2.994, allocations: 465.9 kB / 0.7365 GB, free: 110.4 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.008721/3.003, allocations: 2.993 MB / 0.7394 GB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00167/3.005, allocations: 0.4952 MB / 0.7399 GB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04989/3.055, allocations: 13.73 MB / 0.7533 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.528e-05/3.055, allocations: 38.34 kB / 0.7533 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.879e-05/3.055, allocations: 30.31 kB / 0.7533 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.663e-05/3.055, allocations: 17.58 kB / 0.7534 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1005/3.155, allocations: 26.3 MB / 0.7791 GB, free: 94.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-05/3.156, allocations: 9.547 kB / 0.7791 GB, free: 94.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00617/3.162, allocations: 0.524 MB / 0.7796 GB, free: 94.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03651/3.198, allocations: 6.299 MB / 0.7857 GB, free: 93.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001388/3.2, allocations: 70.56 kB / 0.7858 GB, free: 93.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08017/3.28, allocations: 34 MB / 0.819 GB, free: 66.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/3.28, allocations: 5.969 kB / 0.819 GB, free: 66.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05927/3.339, allocations: 19.77 MB / 0.8383 GB, free: 46.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005265/3.345, allocations: 1.353 MB / 0.8396 GB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002078/3.347, allocations: 66.58 kB / 0.8397 GB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006285/3.353, allocations: 336.5 kB / 0.84 GB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001832/3.355, allocations: 268 kB / 0.8403 GB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000523/3.355, allocations: 101.3 kB / 0.8404 GB, free: 44.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.007328/3.363, allocations: 3.321 MB / 0.8436 GB, free: 41.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.41e-07/3.363, allocations: 0 / 0.8436 GB, free: 41.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01136/3.374, allocations: 1.876 MB / 0.8454 GB, free: 39.42 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.001477/3.376, allocations: 225.1 kB / 0.8457 GB, free: 39.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.3772/3.753, allocations: 11.94 MB / 0.8573 GB, free: 113.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/3.753, allocations: 1.281 kB / 0.8573 GB, free: 113.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01742/3.77, allocations: 5.717 MB / 0.8629 GB, free: 113.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006926/3.777, allocations: 0.6155 MB / 0.8635 GB, free: 113.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07861/3.856, allocations: 19.13 MB / 0.8822 GB, free: 107.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01215/3.868, allocations: 4.685 MB / 0.8868 GB, free: 106.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.01193/3.88, allocations: 2.462 MB / 0.8892 GB, free: 106.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002663/3.883, allocations: 334.8 kB / 0.8895 GB, free: 106.1 MB / 410.7 MB Notification: Performance of SimCode: time 2.976e-06/3.883, allocations: 0 / 0.8895 GB, free: 106.1 MB / 410.7 MB Notification: Performance of Templates: time 0.2253/4.108, allocations: 90.76 MB / 0.9781 GB, free: 44.72 MB / 410.7 MB