Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.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.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.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") Notification: Performance of loadModel(Modelica): time 2.063/2.063, allocations: 194.9 MB / 211.7 MB, free: 2.867 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006806/0.0006807, allocations: 12 kB / 264.5 MB, free: 12.89 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.099/0.09972, allocations: 44.5 MB / 309 MB, free: 328 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4434/0.5432, allocations: 97.03 MB / 406.1 MB, free: 13.56 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.5436, allocations: 92.67 kB / 406.2 MB, free: 13.55 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.5264/1.07, allocations: 124.3 MB / 0.5181 GB, free: 5.297 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.685e-06/1.07, allocations: 0 / 0.5181 GB, free: 5.297 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004811/1.071, allocations: 128 kB / 0.5182 GB, free: 5.172 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2155 * Number of variables: 2155 Notification: Performance of Generate backend data structure: time 0.3098/1.38, allocations: 6.834 MB / 0.5249 GB, free: 64.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/1.38, allocations: 8.047 kB / 0.5249 GB, free: 64.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0231/1.403, allocations: 2.821 MB / 0.5276 GB, free: 64.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04107/1.445, allocations: 7.828 MB / 0.5353 GB, free: 63.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009874/1.446, allocations: 479.6 kB / 0.5357 GB, free: 63.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004889/1.451, allocations: 0.6326 MB / 0.5363 GB, free: 63.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0694/1.52, allocations: 16.35 MB / 0.5523 GB, free: 60.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005337/1.521, allocations: 84.34 kB / 0.5524 GB, free: 60.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003326/1.524, allocations: 303.5 kB / 0.5527 GB, free: 60.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003638/1.528, allocations: 1.511 MB / 0.5542 GB, free: 60.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04305/1.571, allocations: 13.89 MB / 0.5677 GB, free: 60.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1364/1.707, allocations: 73.5 MB / 0.6395 GB, free: 27.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03426/1.742, allocations: 7.63 MB / 0.647 GB, free: 24.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002841/1.744, allocations: 1.275 MB / 0.6482 GB, free: 23.74 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03/1.775, allocations: 5.673 MB / 0.6537 GB, free: 19.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=300): time 9.898e-06/1.775, allocations: 0 / 0.6537 GB, free: 19.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=395): time 0.6513/2.426, allocations: 55.27 MB / 0.7077 GB, free: 77.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.279e-05/2.426, allocations: 176.5 kB / 0.7079 GB, free: 76.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01261/2.439, allocations: 5.494 MB / 0.7132 GB, free: 76.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001357/2.44, allocations: 86.64 kB / 0.7133 GB, free: 76.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00458/2.445, allocations: 4.226 MB / 0.7175 GB, free: 74.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002722/2.448, allocations: 1.449 MB / 0.7189 GB, free: 73.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001508/2.449, allocations: 174.4 kB / 0.719 GB, free: 73.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006678/2.45, allocations: 0.6667 MB / 0.7197 GB, free: 73.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01157/2.461, allocations: 4.708 MB / 0.7243 GB, free: 73.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01482/2.476, allocations: 9.192 MB / 0.7333 GB, free: 67.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01524/2.491, allocations: 6.542 MB / 0.7396 GB, free: 67.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001682/2.492, allocations: 46.72 kB / 0.7397 GB, free: 67.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.06683/2.559, allocations: 19.69 MB / 0.7589 GB, free: 62.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001834/2.559, allocations: 103 kB / 0.759 GB, free: 62.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002772/2.559, allocations: 155.5 kB / 0.7592 GB, free: 62.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03369/2.593, allocations: 6.712 MB / 0.7657 GB, free: 61.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01186/2.605, allocations: 1.854 MB / 0.7675 GB, free: 61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09639/2.701, allocations: 37.34 MB / 0.804 GB, free: 31.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01136/2.713, allocations: 0.5897 MB / 0.8046 GB, free: 30.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002429/2.715, allocations: 491.4 kB / 0.805 GB, free: 30.35 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 59 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,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 (956): * Single equations (assignments): 947 * 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 {(8,71.9%) 104,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00931/2.724, allocations: 3.149 MB / 0.8081 GB, free: 27.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001661/2.726, allocations: 0.5129 MB / 0.8086 GB, free: 27.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05394/2.78, allocations: 14.08 MB / 0.8224 GB, free: 16.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.252e-05/2.78, allocations: 44 kB / 0.8224 GB, free: 16.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.87e-05/2.78, allocations: 24 kB / 0.8224 GB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-05/2.78, allocations: 19.78 kB / 0.8224 GB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4905/3.271, allocations: 27.1 MB / 0.8489 GB, free: 68.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.763e-05/3.271, allocations: 6.375 kB / 0.8489 GB, free: 68.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0065/3.278, allocations: 0.5523 MB / 0.8495 GB, free: 68.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04822/3.326, allocations: 6.326 MB / 0.8556 GB, free: 68.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001756/3.328, allocations: 78.17 kB / 0.8557 GB, free: 68.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0896/3.417, allocations: 35.88 MB / 0.8908 GB, free: 62.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/3.417, allocations: 13.84 kB / 0.8908 GB, free: 62.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08133/3.499, allocations: 20.14 MB / 0.9104 GB, free: 55.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007316/3.506, allocations: 1.404 MB / 0.9118 GB, free: 55.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002542/3.509, allocations: 68.84 kB / 0.9119 GB, free: 55.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006694/3.515, allocations: 344.4 kB / 0.9122 GB, free: 55.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001873/3.517, allocations: 287.7 kB / 0.9125 GB, free: 55.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005779/3.518, allocations: 107.9 kB / 0.9126 GB, free: 55.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008623/3.526, allocations: 3.51 MB / 0.916 GB, free: 53.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.72e-07/3.527, allocations: 3.469 kB / 0.916 GB, free: 53.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01293/3.539, allocations: 1.983 MB / 0.9179 GB, free: 53.64 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 238 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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%) 100,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002804/3.542, allocations: 0.5066 MB / 0.9184 GB, free: 53.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03231/3.575, allocations: 12.5 MB / 0.9306 GB, free: 45.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/3.575, allocations: 4 kB / 0.9306 GB, free: 45.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01764/3.592, allocations: 5.871 MB / 0.9364 GB, free: 39.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006619/3.599, allocations: 0.6507 MB / 0.937 GB, free: 39.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0572/3.656, allocations: 20.02 MB / 0.9566 GB, free: 21.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01115/3.668, allocations: 4.894 MB / 0.9613 GB, free: 18.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01143/3.679, allocations: 2.58 MB / 0.9639 GB, free: 16.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002477/3.682, allocations: 357.5 kB / 0.9642 GB, free: 16.18 MB / 426.7 MB Notification: Performance of SimCode: time 1.452e-06/3.682, allocations: 0 / 0.9642 GB, free: 16.18 MB / 426.7 MB Notification: Performance of Templates: time 0.5732/4.255, allocations: 94.41 MB / 1.056 GB, free: 68.32 MB / 442.7 MB