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.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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") Notification: Performance of loadModel(Modelica): time 1.813/1.813, allocations: 194.8 MB / 212.3 MB, free: 3.02 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003388, allocations: 12 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08831/0.08867, allocations: 44.49 MB / 309 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4209/0.5096, allocations: 97.02 MB / 406 MB, free: 13.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.5099, allocations: 98.27 kB / 406.1 MB, free: 13.38 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.4717/0.9817, allocations: 124.3 MB / 0.518 GB, free: 6.055 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.9817, allocations: 0 / 0.518 GB, free: 6.055 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005248/0.9823, allocations: 128 kB / 0.5181 GB, free: 5.93 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.2964/1.279, allocations: 6.832 MB / 0.5248 GB, free: 64.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/1.279, allocations: 10.59 kB / 0.5248 GB, free: 64.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02205/1.301, allocations: 2.818 MB / 0.5275 GB, free: 63.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0264/1.327, allocations: 7.818 MB / 0.5352 GB, free: 63.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005981/1.328, allocations: 483.9 kB / 0.5356 GB, free: 63.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003249/1.331, allocations: 0.6336 MB / 0.5363 GB, free: 63.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04524/1.376, allocations: 16.39 MB / 0.5523 GB, free: 59.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003594/1.377, allocations: 88.27 kB / 0.5524 GB, free: 59.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00168/1.378, allocations: 305 kB / 0.5526 GB, free: 59.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003114/1.382, allocations: 1.503 MB / 0.5541 GB, free: 59.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0401/1.422, allocations: 13.89 MB / 0.5677 GB, free: 59.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1107/1.533, allocations: 73.5 MB / 0.6395 GB, free: 27.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0316/1.564, allocations: 7.635 MB / 0.6469 GB, free: 24.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001672/1.566, allocations: 1.28 MB / 0.6482 GB, free: 23.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02776/1.594, allocations: 5.677 MB / 0.6537 GB, free: 19.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=300): time 8.576e-06/1.594, allocations: 0 / 0.6537 GB, free: 19.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=395): time 0.5948/2.189, allocations: 55.42 MB / 0.7078 GB, free: 75.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/2.189, allocations: 166.2 kB / 0.708 GB, free: 75.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01095/2.2, allocations: 5.49 MB / 0.7133 GB, free: 74.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001284/2.201, allocations: 88.39 kB / 0.7134 GB, free: 74.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004055/2.205, allocations: 4.066 MB / 0.7174 GB, free: 72.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002555/2.208, allocations: 1.451 MB / 0.7188 GB, free: 71.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001324/2.209, allocations: 170.3 kB / 0.719 GB, free: 71.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005884/2.21, allocations: 0.6745 MB / 0.7196 GB, free: 71.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01399/2.224, allocations: 4.71 MB / 0.7242 GB, free: 71.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01588/2.24, allocations: 9.223 MB / 0.7332 GB, free: 65.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01352/2.253, allocations: 6.545 MB / 0.7396 GB, free: 65.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001041/2.253, allocations: 46.23 kB / 0.7397 GB, free: 65.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.05824/2.312, allocations: 19.5 MB / 0.7587 GB, free: 60.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/2.312, allocations: 106.2 kB / 0.7588 GB, free: 60.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000179/2.312, allocations: 156.2 kB / 0.759 GB, free: 60.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03118/2.343, allocations: 6.698 MB / 0.7655 GB, free: 59.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01081/2.354, allocations: 1.857 MB / 0.7673 GB, free: 59.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07533/2.429, allocations: 37.35 MB / 0.8038 GB, free: 30.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01025/2.44, allocations: 0.5831 MB / 0.8044 GB, free: 29.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001718/2.441, allocations: 490.1 kB / 0.8048 GB, free: 29.11 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.007799/2.449, allocations: 3.143 MB / 0.8079 GB, free: 26.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001486/2.451, allocations: 0.524 MB / 0.8084 GB, free: 25.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04398/2.495, allocations: 14.08 MB / 0.8222 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-05/2.495, allocations: 44 kB / 0.8222 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.533e-05/2.495, allocations: 28 kB / 0.8222 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.639e-05/2.495, allocations: 17.02 kB / 0.8223 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3511/2.846, allocations: 27.1 MB / 0.8487 GB, free: 66.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-05/2.846, allocations: 3.875 kB / 0.8487 GB, free: 66.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00463/2.851, allocations: 0.5444 MB / 0.8493 GB, free: 66.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02997/2.881, allocations: 6.325 MB / 0.8554 GB, free: 66.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009571/2.882, allocations: 76.14 kB / 0.8555 GB, free: 66.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0731/2.955, allocations: 35.89 MB / 0.8906 GB, free: 61.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/2.955, allocations: 3.594 kB / 0.8906 GB, free: 61.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05532/3.01, allocations: 20.14 MB / 0.9102 GB, free: 54.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004823/3.015, allocations: 1.408 MB / 0.9116 GB, free: 53.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001861/3.017, allocations: 72.97 kB / 0.9117 GB, free: 53.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005445/3.022, allocations: 342.8 kB / 0.912 GB, free: 53.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001319/3.024, allocations: 281.2 kB / 0.9123 GB, free: 53.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004987/3.024, allocations: 105.5 kB / 0.9124 GB, free: 53.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007139/3.031, allocations: 3.514 MB / 0.9158 GB, free: 52.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.21e-07/3.031, allocations: 0 / 0.9158 GB, free: 52.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01079/3.042, allocations: 1.985 MB / 0.9177 GB, free: 52.32 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.002138/3.044, allocations: 0.5099 MB / 0.9182 GB, free: 52.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02737/3.072, allocations: 12.51 MB / 0.9304 GB, free: 44.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/3.072, allocations: 4 kB / 0.9304 GB, free: 44.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01358/3.085, allocations: 5.864 MB / 0.9362 GB, free: 39.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005081/3.091, allocations: 0.6561 MB / 0.9368 GB, free: 38.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05056/3.141, allocations: 20.78 MB / 0.9571 GB, free: 20.69 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008347/3.15, allocations: 4.893 MB / 0.9619 GB, free: 17.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002605/3.152, allocations: 418.1 kB / 0.9623 GB, free: 16.64 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/3.152, allocations: 0 / 0.9623 GB, free: 16.64 MB / 426.7 MB Notification: Performance of Templates: time 0.9047/4.057, allocations: 230.3 MB / 1.187 GB, free: 102.5 MB / 474.7 MB