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.RollingWheelSetPulling.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.RollingWheelSetPulling,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.RollingWheelSetPulling") Notification: Performance of loadModel(Modelica): time 1.772/1.772, allocations: 171.3 MB / 179.2 MB, free: 7.59 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.096e-05/2.103e-05, allocations: 4 kB / 222.5 MB, free: 8.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07086/0.0709, allocations: 38.77 MB / 261.3 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3149/0.3858, allocations: 91.01 MB / 352.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.3861, allocations: 87.14 kB / 352.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6072/0.9934, allocations: 120.3 MB / 472.7 MB, free: 72.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.9934, allocations: 0 / 472.7 MB, free: 72.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003818/0.9938, allocations: 125.5 kB / 472.9 MB, free: 72.77 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: 2152 * Number of variables: 2152 Notification: Performance of Generate backend data structure: time 0.02087/1.015, allocations: 6.376 MB / 479.2 MB, free: 68.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/1.015, allocations: 11.05 kB / 479.2 MB, free: 68.64 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03458/1.049, allocations: 2.815 MB / 482.1 MB, free: 67.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03706/1.086, allocations: 7.784 MB / 489.8 MB, free: 60.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006681/1.087, allocations: 208 kB / 490 MB, free: 60.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004283/1.092, allocations: 375.9 kB / 490.4 MB, free: 60.28 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03323/1.125, allocations: 10.09 MB / 0.4888 GB, free: 50.19 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03034/1.155, allocations: 14.21 MB / 0.5026 GB, free: 34.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003694/1.156, allocations: 83.19 kB / 0.5027 GB, free: 34.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002145/1.158, allocations: 40 kB / 0.5028 GB, free: 34.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002531/1.16, allocations: 1.509 MB / 0.5042 GB, free: 33.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4054/1.566, allocations: 71.17 MB / 0.5737 GB, free: 28.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/1.576, allocations: 6.433 MB / 0.58 GB, free: 27.6 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007203/1.584, allocations: 4.886 MB / 0.5848 GB, free: 27.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001433/1.585, allocations: 1.282 MB / 0.586 GB, free: 26.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008519/1.594, allocations: 4.837 MB / 0.5908 GB, free: 25.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=297): time 8.394e-06/1.594, allocations: 0 / 0.5908 GB, free: 25.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=388): time 0.1193/1.713, allocations: 39.41 MB / 0.6293 GB, free: 8.945 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/1.713, allocations: 169.4 kB / 0.6294 GB, free: 8.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008262/1.721, allocations: 4.079 MB / 0.6334 GB, free: 5.223 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001026/1.722, allocations: 33.27 kB / 0.6334 GB, free: 5.188 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003943/1.726, allocations: 4.187 MB / 0.6375 GB, free: 1.363 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002185/1.729, allocations: 1.388 MB / 0.6389 GB, free: 108 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001185/1.73, allocations: 0 / 0.6389 GB, free: 108 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.002001/1.732, allocations: 0.7378 MB / 0.6396 GB, free: 15.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01026/1.742, allocations: 4.435 MB / 0.6439 GB, free: 11.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01534/1.757, allocations: 9.006 MB / 0.6527 GB, free: 1.191 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02419/1.782, allocations: 6.895 MB / 0.6595 GB, free: 13.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001662/1.782, allocations: 48 kB / 0.6595 GB, free: 13.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=1136) (initialization): time 0.2748/2.057, allocations: 18.23 MB / 0.6773 GB, free: 83.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001967/2.057, allocations: 104.9 kB / 0.6774 GB, free: 83.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000325/2.057, allocations: 166.1 kB / 0.6776 GB, free: 83.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02586/2.083, allocations: 6.512 MB / 0.6839 GB, free: 83.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008361/2.092, allocations: 1.883 MB / 0.6858 GB, free: 83.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06524/2.157, allocations: 33.86 MB / 0.7188 GB, free: 75.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00941/2.166, allocations: 437.8 kB / 0.7193 GB, free: 75.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00254/2.169, allocations: 0.4958 MB / 0.7197 GB, free: 75.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 735 * Number of states: 0 () * Number of discrete variables: 57 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,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],force.color[3],force.color[2],force.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (972): * Single equations (assignments): 963 * Array equations: 3 * Algorithm blocks: 1 * 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%) 106,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00309/2.172, allocations: 0.5267 MB / 0.7202 GB, free: 75.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001266/2.173, allocations: 477.6 kB / 0.7207 GB, free: 75.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03702/2.21, allocations: 13.53 MB / 0.7339 GB, free: 71.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.19e-05/2.211, allocations: 41.58 kB / 0.734 GB, free: 71.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-05/2.211, allocations: 27.38 kB / 0.734 GB, free: 71.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.883e-05/2.211, allocations: 18.75 kB / 0.734 GB, free: 71.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06405/2.275, allocations: 25.39 MB / 0.7588 GB, free: 56.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.955e-05/2.275, allocations: 4 kB / 0.7588 GB, free: 56.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003101/2.278, allocations: 0.5343 MB / 0.7593 GB, free: 55.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0228/2.301, allocations: 6.298 MB / 0.7655 GB, free: 49.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001125/2.302, allocations: 19.98 kB / 0.7655 GB, free: 49.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06018/2.362, allocations: 32.29 MB / 0.797 GB, free: 17.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.34e-05/2.362, allocations: 4 kB / 0.797 GB, free: 17.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2757/2.638, allocations: 19.88 MB / 0.8164 GB, free: 79.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004166/2.642, allocations: 1.313 MB / 0.8177 GB, free: 79.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001618/2.644, allocations: 15.44 kB / 0.8177 GB, free: 79.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004787/2.649, allocations: 284.3 kB / 0.818 GB, free: 79.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00174/2.65, allocations: 272.6 kB / 0.8183 GB, free: 79.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001032/2.651, allocations: 109.5 kB / 0.8184 GB, free: 79.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006905/2.658, allocations: 2.733 MB / 0.821 GB, free: 79.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.243e-06/2.658, allocations: 0 / 0.821 GB, free: 79.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01236/2.671, allocations: 1.71 MB / 0.8227 GB, free: 79.28 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: 2 ($whenCondition1,combiTimeTable.nextTimeEvent) * Number of discrete states: 1 (combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 232 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(10,63.0%) 99,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002001/2.673, allocations: 340.9 kB / 0.823 GB, free: 79.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0233/2.696, allocations: 11.67 MB / 0.8344 GB, free: 78.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.98e-06/2.696, allocations: 0 / 0.8344 GB, free: 78.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01192/2.708, allocations: 5.597 MB / 0.8399 GB, free: 77.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004414/2.713, allocations: 498.9 kB / 0.8404 GB, free: 77.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0438/2.756, allocations: 15.47 MB / 0.8555 GB, free: 72.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01118/2.768, allocations: 4.879 MB / 0.8602 GB, free: 71.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002083/2.77, allocations: 393.6 kB / 0.8606 GB, free: 71.08 MB / 378.7 MB Notification: Performance of SimCode: time 2.213e-06/2.77, allocations: 0 / 0.8606 GB, free: 71.08 MB / 378.7 MB Notification: Performance of Templates: time 0.5256/3.295, allocations: 224.7 MB / 1.08 GB, free: 7.223 MB / 394.7 MB