Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") Notification: Performance of loadModel(Modelica): time 1.81/1.81, allocations: 194.9 MB / 211.7 MB, free: 2.977 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003714, allocations: 8 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08244/0.08285, allocations: 44.51 MB / 308.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3555/0.4384, allocations: 97.03 MB / 405.5 MB, free: 17.15 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.4387, allocations: 92.7 kB / 405.6 MB, free: 17.14 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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@2/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.6659/1.105, allocations: 123.2 MB / 0.5164 GB, free: 54.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.097e-06/1.105, allocations: 3.062 kB / 0.5164 GB, free: 54.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004211/1.105, allocations: 133.1 kB / 0.5165 GB, free: 54.93 MB / 394.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.02371/1.129, allocations: 6.838 MB / 0.5232 GB, free: 52.29 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/1.129, allocations: 9.75 kB / 0.5232 GB, free: 52.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01703/1.146, allocations: 2.823 MB / 0.5259 GB, free: 51.87 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02168/1.168, allocations: 7.822 MB / 0.5336 GB, free: 51.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005587/1.168, allocations: 481 kB / 0.534 GB, free: 51.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003043/1.171, allocations: 0.6364 MB / 0.5347 GB, free: 51.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04218/1.214, allocations: 16.34 MB / 0.5506 GB, free: 47.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004074/1.214, allocations: 84.22 kB / 0.5507 GB, free: 47.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002743/1.217, allocations: 305.8 kB / 0.551 GB, free: 47.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002762/1.22, allocations: 1.507 MB / 0.5525 GB, free: 47.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03507/1.255, allocations: 13.89 MB / 0.566 GB, free: 47.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1016/1.356, allocations: 73.51 MB / 0.6378 GB, free: 11.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02451/1.381, allocations: 7.624 MB / 0.6453 GB, free: 5.059 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001468/1.382, allocations: 1.281 MB / 0.6465 GB, free: 3.652 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02446/1.407, allocations: 5.743 MB / 0.6521 GB, free: 15.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=300): time 1.06e-05/1.407, allocations: 0 / 0.6521 GB, free: 15.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=395): time 0.4856/1.893, allocations: 54.16 MB / 0.705 GB, free: 80.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.771e-05/1.893, allocations: 171.2 kB / 0.7052 GB, free: 80.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01065/1.903, allocations: 4.909 MB / 0.71 GB, free: 80.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0011/1.904, allocations: 85.61 kB / 0.7101 GB, free: 80.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003924/1.908, allocations: 4.058 MB / 0.714 GB, free: 78.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002254/1.911, allocations: 1.465 MB / 0.7154 GB, free: 77.35 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001088/1.912, allocations: 174.5 kB / 0.7156 GB, free: 77.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006273/1.912, allocations: 0.6731 MB / 0.7163 GB, free: 77.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009748/1.922, allocations: 4.71 MB / 0.7209 GB, free: 76.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01205/1.934, allocations: 9.187 MB / 0.7298 GB, free: 71.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01241/1.947, allocations: 6.536 MB / 0.7362 GB, free: 71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001404/1.947, allocations: 46.47 kB / 0.7363 GB, free: 71 MB / 426.7 MB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.05158/1.999, allocations: 19.54 MB / 0.7554 GB, free: 64.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001559/1.999, allocations: 111.9 kB / 0.7555 GB, free: 64.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001928/1.999, allocations: 153.6 kB / 0.7556 GB, free: 64.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02516/2.024, allocations: 6.722 MB / 0.7622 GB, free: 62.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008082/2.032, allocations: 1.856 MB / 0.764 GB, free: 60.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07178/2.104, allocations: 37.35 MB / 0.8005 GB, free: 28.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009448/2.114, allocations: 0.591 MB / 0.801 GB, free: 27.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002141/2.116, allocations: 496.7 kB / 0.8015 GB, free: 27.48 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.008281/2.124, allocations: 3.148 MB / 0.8046 GB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001369/2.125, allocations: 0.5168 MB / 0.8051 GB, free: 24.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03899/2.164, allocations: 14.12 MB / 0.8189 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-05/2.165, allocations: 44 kB / 0.8189 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.884e-05/2.165, allocations: 33.03 kB / 0.819 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.43e-05/2.165, allocations: 15.94 kB / 0.819 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3481/2.513, allocations: 27.15 MB / 0.8455 GB, free: 70.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.184e-05/2.513, allocations: 3.875 kB / 0.8455 GB, free: 70.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003476/2.516, allocations: 0.5474 MB / 0.846 GB, free: 70.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02486/2.541, allocations: 6.358 MB / 0.8522 GB, free: 70.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001156/2.542, allocations: 84.11 kB / 0.8523 GB, free: 70.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07195/2.614, allocations: 35.89 MB / 0.8874 GB, free: 62.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.854e-06/2.615, allocations: 7.531 kB / 0.8874 GB, free: 62.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04846/2.663, allocations: 20.7 MB / 0.9076 GB, free: 54.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004589/2.668, allocations: 1.409 MB / 0.909 GB, free: 53.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002018/2.67, allocations: 74.72 kB / 0.909 GB, free: 53.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005358/2.675, allocations: 348.9 kB / 0.9094 GB, free: 53.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001738/2.677, allocations: 278.3 kB / 0.9096 GB, free: 53.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005712/2.677, allocations: 104.9 kB / 0.9097 GB, free: 53.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008408/2.686, allocations: 3.514 MB / 0.9132 GB, free: 52.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.283e-06/2.686, allocations: 7.688 kB / 0.9132 GB, free: 52.58 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01182/2.698, allocations: 1.974 MB / 0.9151 GB, free: 51.83 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.002505/2.7, allocations: 0.5186 MB / 0.9156 GB, free: 51.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02474/2.725, allocations: 12.5 MB / 0.9278 GB, free: 40.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.363e-06/2.725, allocations: 0 / 0.9278 GB, free: 40.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01283/2.738, allocations: 5.869 MB / 0.9335 GB, free: 35.72 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005157/2.743, allocations: 0.6521 MB / 0.9342 GB, free: 35.17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04662/2.79, allocations: 20.74 MB / 0.9544 GB, free: 16.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01053/2.8, allocations: 4.9 MB / 0.9592 GB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002182/2.803, allocations: 413.2 kB / 0.9596 GB, free: 12.89 MB / 426.7 MB Notification: Performance of SimCode: time 1.876e-06/2.803, allocations: 4 kB / 0.9596 GB, free: 12.89 MB / 426.7 MB Notification: Performance of Templates: time 0.8477/3.65, allocations: 230.3 MB / 1.184 GB, free: 91.19 MB / 458.7 MB