Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.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.721/1.721, allocations: 171.1 MB / 187.3 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003653, allocations: 12 kB / 233.8 MB, free: 0.9766 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0839/0.08429, allocations: 38.77 MB / 272.6 MB, free: 10.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3762/0.4606, allocations: 91.76 MB / 364.3 MB, free: 7.316 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.4609, allocations: 87.95 kB / 364.4 MB, free: 7.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7029/1.164, allocations: 124.1 MB / 488.5 MB, free: 64.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.775e-06/1.164, allocations: 0 / 488.5 MB, free: 64.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004474/1.164, allocations: 132 kB / 488.6 MB, free: 63.98 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.02831/1.193, allocations: 6.803 MB / 495.4 MB, free: 57.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/1.193, allocations: 8.031 kB / 495.4 MB, free: 57.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02183/1.215, allocations: 2.824 MB / 498.2 MB, free: 54.24 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02489/1.24, allocations: 7.798 MB / 0.4942 GB, free: 46.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005795/1.24, allocations: 484.6 kB / 0.4946 GB, free: 45.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00369/1.244, allocations: 0.6285 MB / 0.4953 GB, free: 45.28 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04923/1.293, allocations: 16.39 MB / 0.5113 GB, free: 27.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004537/1.294, allocations: 87.19 kB / 0.5113 GB, free: 27.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003239/1.297, allocations: 299.9 kB / 0.5116 GB, free: 27.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003569/1.301, allocations: 1.513 MB / 0.5131 GB, free: 25.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04224/1.343, allocations: 13.88 MB / 0.5267 GB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3882/1.731, allocations: 73.45 MB / 0.5984 GB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03271/1.764, allocations: 7.566 MB / 0.6058 GB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002037/1.766, allocations: 1.285 MB / 0.607 GB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03013/1.796, allocations: 5.663 MB / 0.6126 GB, free: 10.53 MB / 346.7 MB Notification: Performance of pre-optimization done (n=297): time 9.277e-06/1.796, allocations: 0 / 0.6126 GB, free: 10.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=388): time 0.3037/2.1, allocations: 50.46 MB / 0.6618 GB, free: 15.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/2.1, allocations: 170.8 kB / 0.662 GB, free: 15.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0151/2.115, allocations: 5.482 MB / 0.6674 GB, free: 9.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001494/2.117, allocations: 92.72 kB / 0.6674 GB, free: 9.676 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005901/2.123, allocations: 4.065 MB / 0.6714 GB, free: 5.633 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003309/2.126, allocations: 1.426 MB / 0.6728 GB, free: 4.219 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002011/2.128, allocations: 168 kB / 0.673 GB, free: 4.055 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0009051/2.129, allocations: 0.6781 MB / 0.6736 GB, free: 3.363 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2743/2.403, allocations: 4.631 MB / 0.6782 GB, free: 86.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0169/2.42, allocations: 9.153 MB / 0.6871 GB, free: 80.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01656/2.437, allocations: 6.454 MB / 0.6934 GB, free: 80.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002093/2.437, allocations: 46.25 kB / 0.6934 GB, free: 80.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=1112) (initialization): time 0.06694/2.504, allocations: 19.34 MB / 0.7123 GB, free: 78.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001659/2.504, allocations: 105.4 kB / 0.7124 GB, free: 78.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002362/2.505, allocations: 154.1 kB / 0.7126 GB, free: 78.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03402/2.539, allocations: 6.651 MB / 0.7191 GB, free: 77.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01249/2.551, allocations: 1.852 MB / 0.7209 GB, free: 77.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1103/2.661, allocations: 37.39 MB / 0.7574 GB, free: 55.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01145/2.673, allocations: 0.591 MB / 0.758 GB, free: 54.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002661/2.676, allocations: 493.4 kB / 0.7584 GB, free: 54.15 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 711 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (948): * Single equations (assignments): 939 * 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 {(9,66.7%) 103,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01015/2.686, allocations: 3.138 MB / 0.7615 GB, free: 51.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002103/2.688, allocations: 0.5128 MB / 0.762 GB, free: 51.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0545/2.742, allocations: 13.93 MB / 0.7756 GB, free: 40.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.306e-05/2.743, allocations: 43.88 kB / 0.7756 GB, free: 40.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.898e-05/2.743, allocations: 28 kB / 0.7757 GB, free: 40.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.929e-05/2.743, allocations: 22.33 kB / 0.7757 GB, free: 40.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09177/2.835, allocations: 26.86 MB / 0.8019 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.305e-05/2.835, allocations: 7.938 kB / 0.8019 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005016/2.84, allocations: 0.5424 MB / 0.8025 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03342/2.873, allocations: 6.253 MB / 0.8086 GB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001442/2.875, allocations: 75.97 kB / 0.8086 GB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3953/3.27, allocations: 36.01 MB / 0.8438 GB, free: 73.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.808e-06/3.27, allocations: 8.031 kB / 0.8438 GB, free: 73.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06412/3.334, allocations: 19.89 MB / 0.8632 GB, free: 66.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005343/3.34, allocations: 1.388 MB / 0.8646 GB, free: 65.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002324/3.342, allocations: 73.83 kB / 0.8647 GB, free: 65.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006755/3.349, allocations: 336.9 kB / 0.865 GB, free: 65.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002029/3.351, allocations: 281.3 kB / 0.8653 GB, free: 65.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006024/3.351, allocations: 100.2 kB / 0.8654 GB, free: 65.83 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.008551/3.36, allocations: 3.509 MB / 0.8688 GB, free: 64.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.42e-07/3.36, allocations: 0 / 0.8688 GB, free: 64.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01248/3.373, allocations: 1.971 MB / 0.8707 GB, free: 64.42 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) * Number of clocked states: 0 () * 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 {(7,77.6%) 102,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002514/3.375, allocations: 464.3 kB / 0.8711 GB, free: 64.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.03037/3.405, allocations: 12.34 MB / 0.8832 GB, free: 58.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/3.406, allocations: 0 / 0.8832 GB, free: 58.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01492/3.42, allocations: 5.74 MB / 0.8888 GB, free: 52.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005938/3.426, allocations: 0.6441 MB / 0.8894 GB, free: 52.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05774/3.484, allocations: 20.62 MB / 0.9096 GB, free: 34.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01099/3.495, allocations: 4.886 MB / 0.9143 GB, free: 30.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002747/3.498, allocations: 407.5 kB / 0.9147 GB, free: 30.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.723e-06/3.498, allocations: 0 / 0.9147 GB, free: 30.2 MB / 378.7 MB Notification: Performance of Templates: time 0.9633/4.461, allocations: 229 MB / 1.138 GB, free: 112.9 MB / 426.7 MB