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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.63/1.63, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003784, allocations: 11.98 kB / 233.2 MB, free: 3.012 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07177/0.07218, allocations: 38.78 MB / 272 MB, free: 12.15 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3251/0.3973, allocations: 91.76 MB / 363.8 MB, free: 14.39 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.3976, allocations: 92.75 kB / 363.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6251/1.023, allocations: 123 MB / 486.8 MB, free: 69.94 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.746e-06/1.023, allocations: 0 / 486.8 MB, free: 69.94 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003697/1.023, allocations: 126.3 kB / 487 MB, free: 69.94 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.02149/1.045, allocations: 6.801 MB / 493.8 MB, free: 65.85 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/1.045, allocations: 6.875 kB / 493.8 MB, free: 65.85 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01592/1.061, allocations: 2.818 MB / 496.6 MB, free: 64.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02012/1.081, allocations: 7.812 MB / 0.4926 GB, free: 57.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005289/1.081, allocations: 485.9 kB / 0.493 GB, free: 57.44 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002816/1.084, allocations: 0.6318 MB / 0.4937 GB, free: 56.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.039/1.123, allocations: 16.33 MB / 0.5096 GB, free: 39.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003727/1.124, allocations: 95.11 kB / 0.5097 GB, free: 39.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002421/1.126, allocations: 307.9 kB / 0.51 GB, free: 38.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002559/1.129, allocations: 1.501 MB / 0.5115 GB, free: 37.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03298/1.162, allocations: 13.88 MB / 0.525 GB, free: 23.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3521/1.514, allocations: 73.46 MB / 0.5967 GB, free: 31.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04741/1.561, allocations: 7.567 MB / 0.6041 GB, free: 31.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001497/1.563, allocations: 1.285 MB / 0.6054 GB, free: 29.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02268/1.586, allocations: 5.658 MB / 0.6109 GB, free: 29.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=297): time 8.41e-06/1.586, allocations: 0 / 0.6109 GB, free: 29.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=388): time 0.2097/1.795, allocations: 49.4 MB / 0.6592 GB, free: 17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/1.795, allocations: 173.9 kB / 0.6593 GB, free: 16.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01476/1.81, allocations: 4.896 MB / 0.6641 GB, free: 12.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001386/1.812, allocations: 89.59 kB / 0.6642 GB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005618/1.817, allocations: 4.054 MB / 0.6681 GB, free: 8.953 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003181/1.821, allocations: 1.431 MB / 0.6695 GB, free: 7.684 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00184/1.822, allocations: 176 kB / 0.6697 GB, free: 7.512 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0009671/1.823, allocations: 0.6671 MB / 0.6704 GB, free: 6.934 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01606/1.84, allocations: 4.636 MB / 0.6749 GB, free: 2.723 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02391/1.864, allocations: 9.11 MB / 0.6838 GB, free: 7.477 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02487/1.888, allocations: 6.462 MB / 0.6901 GB, free: 1.125 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001515/1.889, allocations: 46.53 kB / 0.6901 GB, free: 1.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=1112) (initialization): time 0.29/2.179, allocations: 19.38 MB / 0.7091 GB, free: 94.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001967/2.179, allocations: 100.6 kB / 0.7092 GB, free: 94.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003192/2.179, allocations: 155.8 kB / 0.7093 GB, free: 94.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02598/2.205, allocations: 6.696 MB / 0.7159 GB, free: 94.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008378/2.214, allocations: 1.842 MB / 0.7177 GB, free: 94.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07278/2.286, allocations: 37.41 MB / 0.7542 GB, free: 84.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00931/2.296, allocations: 0.5963 MB / 0.7548 GB, free: 84.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002079/2.298, allocations: 492.6 kB / 0.7552 GB, free: 84.59 MB / 394.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.008066/2.306, allocations: 3.134 MB / 0.7583 GB, free: 83.26 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001342/2.307, allocations: 0.5112 MB / 0.7588 GB, free: 83.26 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03927/2.347, allocations: 13.97 MB / 0.7724 GB, free: 78.51 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-05/2.347, allocations: 42.06 kB / 0.7725 GB, free: 78.51 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-05/2.347, allocations: 23.72 kB / 0.7725 GB, free: 78.51 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.11e-05/2.347, allocations: 22.38 kB / 0.7725 GB, free: 78.51 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06748/2.414, allocations: 26.91 MB / 0.7988 GB, free: 60.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.385e-05/2.415, allocations: 4 kB / 0.7988 GB, free: 60.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003226/2.418, allocations: 0.5304 MB / 0.7993 GB, free: 59.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02289/2.441, allocations: 6.296 MB / 0.8055 GB, free: 54.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001133/2.442, allocations: 83.25 kB / 0.8056 GB, free: 54.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06621/2.508, allocations: 36.02 MB / 0.8407 GB, free: 18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.915e-06/2.508, allocations: 7.938 kB / 0.8407 GB, free: 17.99 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.288/2.796, allocations: 20.45 MB / 0.8607 GB, free: 92.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004573/2.801, allocations: 1.389 MB / 0.8621 GB, free: 92.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002064/2.803, allocations: 68.31 kB / 0.8621 GB, free: 92.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005165/2.808, allocations: 344.2 kB / 0.8625 GB, free: 92.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001822/2.81, allocations: 281.1 kB / 0.8627 GB, free: 92.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008417/2.811, allocations: 101.5 kB / 0.8628 GB, free: 92.58 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.008498/2.819, allocations: 3.506 MB / 0.8663 GB, free: 92.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.232e-06/2.819, allocations: 3.062 kB / 0.8663 GB, free: 92.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01173/2.831, allocations: 1.977 MB / 0.8682 GB, free: 92.4 MB / 394.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.002352/2.834, allocations: 449.2 kB / 0.8686 GB, free: 92.26 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.02544/2.859, allocations: 12.34 MB / 0.8807 GB, free: 91.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.74e-06/2.859, allocations: 5.625 kB / 0.8807 GB, free: 91.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01243/2.872, allocations: 5.739 MB / 0.8863 GB, free: 88.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00476/2.876, allocations: 0.6467 MB / 0.8869 GB, free: 88.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06042/2.937, allocations: 20.58 MB / 0.907 GB, free: 78.89 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01082/2.948, allocations: 4.881 MB / 0.9118 GB, free: 77.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002178/2.95, allocations: 405.5 kB / 0.9122 GB, free: 77.15 MB / 394.7 MB Notification: Performance of SimCode: time 3.273e-06/2.95, allocations: 0 / 0.9122 GB, free: 77.15 MB / 394.7 MB Notification: Performance of Templates: time 0.8719/3.822, allocations: 229 MB / 1.136 GB, free: 125 MB / 426.7 MB