Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadModel(Modelica): time 1.656/1.656, allocations: 194.9 MB / 212.3 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.0003189, allocations: 12 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08393/0.08427, allocations: 44.49 MB / 309 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3897/0.474, allocations: 92.4 MB / 401.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.4743, allocations: 95.67 kB / 401.5 MB, free: 14.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4077/0.882, allocations: 118.6 MB / 0.5078 GB, free: 444 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.8821, allocations: 0 / 0.5078 GB, free: 444 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004297/0.8825, allocations: 124 kB / 0.508 GB, free: 320 kB / 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.02532/0.9078, allocations: 6.492 MB / 0.5143 GB, free: 9.738 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.9079, allocations: 8.031 kB / 0.5143 GB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02138/0.9293, allocations: 2.781 MB / 0.517 GB, free: 6.938 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2838/1.213, allocations: 7.657 MB / 0.5245 GB, free: 69.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004777/1.214, allocations: 452.8 kB / 0.5249 GB, free: 69.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003203/1.217, allocations: 0.5961 MB / 0.5255 GB, free: 69.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04351/1.26, allocations: 15.74 MB / 0.5409 GB, free: 66.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003527/1.261, allocations: 84.28 kB / 0.541 GB, free: 66.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00153/1.262, allocations: 285.9 kB / 0.5412 GB, free: 66.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003072/1.265, allocations: 1.482 MB / 0.5427 GB, free: 66.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03747/1.303, allocations: 13.47 MB / 0.5558 GB, free: 66.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1008/1.404, allocations: 70.29 MB / 0.6245 GB, free: 38.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02904/1.433, allocations: 7.308 MB / 0.6316 GB, free: 35.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001734/1.435, allocations: 1.288 MB / 0.6329 GB, free: 34.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/1.435, allocations: 66.91 kB / 0.6329 GB, free: 34.26 MB / 426.7 MB Notification: Performance of pre-optimization done (n=287): time 6.973e-06/1.435, allocations: 0 / 0.6329 GB, free: 34.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=378): time 0.2709/1.706, allocations: 51.04 MB / 0.6828 GB, free: 1.348 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/1.706, allocations: 167 kB / 0.6829 GB, free: 1.152 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2734/1.979, allocations: 5.162 MB / 0.688 GB, free: 80.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001142/1.98, allocations: 80.45 kB / 0.6881 GB, free: 80.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003031/1.983, allocations: 3.806 MB / 0.6918 GB, free: 79.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002283/1.986, allocations: 1.371 MB / 0.6931 GB, free: 78.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001055/1.987, allocations: 165.4 kB / 0.6933 GB, free: 78.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005003/1.987, allocations: 0.6562 MB / 0.6939 GB, free: 78.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01044/1.998, allocations: 4.518 MB / 0.6983 GB, free: 78.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01356/2.011, allocations: 8.777 MB / 0.7069 GB, free: 72.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0133/2.025, allocations: 6.24 MB / 0.713 GB, free: 72.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001031/2.025, allocations: 42.12 kB / 0.713 GB, free: 72.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=1059) (initialization): time 0.05641/2.081, allocations: 18.8 MB / 0.7314 GB, free: 71.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/2.082, allocations: 66.25 kB / 0.7314 GB, free: 71.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001562/2.082, allocations: 152.7 kB / 0.7316 GB, free: 71.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03038/2.112, allocations: 6.55 MB / 0.738 GB, free: 71.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01029/2.122, allocations: 1.766 MB / 0.7397 GB, free: 71.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07605/2.199, allocations: 37.38 MB / 0.7762 GB, free: 54.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009801/2.208, allocations: 0.5643 MB / 0.7768 GB, free: 54.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001535/2.21, allocations: 465.4 kB / 0.7772 GB, free: 54.45 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.007732/2.218, allocations: 2.993 MB / 0.7801 GB, free: 52.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001417/2.219, allocations: 0.4931 MB / 0.7806 GB, free: 52.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04186/2.261, allocations: 13.73 MB / 0.794 GB, free: 42.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.386e-05/2.261, allocations: 40 kB / 0.7941 GB, free: 42.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.496e-05/2.261, allocations: 24 kB / 0.7941 GB, free: 42.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.684e-05/2.261, allocations: 25.34 kB / 0.7941 GB, free: 42.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07171/2.333, allocations: 26.32 MB / 0.8198 GB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-05/2.333, allocations: 0 / 0.8198 GB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004343/2.337, allocations: 0.5243 MB / 0.8203 GB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02884/2.366, allocations: 6.297 MB / 0.8265 GB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008134/2.367, allocations: 75.97 kB / 0.8266 GB, free: 16.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.401/2.768, allocations: 33.99 MB / 0.8598 GB, free: 68.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/2.768, allocations: 6.938 kB / 0.8598 GB, free: 68.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05968/2.828, allocations: 19.76 MB / 0.8791 GB, free: 67.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004809/2.833, allocations: 1.344 MB / 0.8804 GB, free: 67.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00169/2.834, allocations: 61.22 kB / 0.8804 GB, free: 67.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006308/2.841, allocations: 336.7 kB / 0.8808 GB, free: 67.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002441/2.843, allocations: 273.1 kB / 0.881 GB, free: 67.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001058/2.844, allocations: 101.5 kB / 0.8811 GB, free: 67.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008598/2.853, allocations: 3.309 MB / 0.8843 GB, free: 66.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.02e-07/2.853, allocations: 0 / 0.8843 GB, free: 66.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01149/2.865, allocations: 1.891 MB / 0.8862 GB, free: 66.17 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.001432/2.866, allocations: 223.5 kB / 0.8864 GB, free: 66.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02803/2.894, allocations: 11.9 MB / 0.898 GB, free: 61.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/2.894, allocations: 0 / 0.898 GB, free: 61.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01475/2.909, allocations: 5.71 MB / 0.9036 GB, free: 58.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006505/2.915, allocations: 0.6219 MB / 0.9042 GB, free: 58.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05961/2.975, allocations: 19.92 MB / 0.9237 GB, free: 49.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01089/2.986, allocations: 4.685 MB / 0.9282 GB, free: 47.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002639/2.989, allocations: 387.8 kB / 0.9286 GB, free: 47.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.814e-06/2.989, allocations: 0 / 0.9286 GB, free: 47.7 MB / 426.7 MB Notification: Performance of Templates: time 1.514/4.502, allocations: 220 MB / 1.143 GB, free: 15.91 MB / 474.7 MB