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.616/1.616, allocations: 171.2 MB / 184.2 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.354e-05/3.368e-05, allocations: 11.92 kB / 228.8 MB, free: 15.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.206, allocations: 38.77 MB / 267.6 MB, free: 9.441 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3261/0.5321, allocations: 91.68 MB / 359.3 MB, free: 35.26 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.5324, allocations: 86.53 kB / 359.4 MB, free: 35.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4285/0.9609, allocations: 123 MB / 482.4 MB, free: 3.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.432e-06/0.9609, allocations: 0 / 482.4 MB, free: 3.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004181/0.9614, allocations: 127.9 kB / 482.5 MB, free: 3.625 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.02283/0.9842, allocations: 6.385 MB / 488.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.9843, allocations: 8.031 kB / 488.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03238/1.017, allocations: 2.823 MB / 491.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04305/1.06, allocations: 7.775 MB / 499.5 MB, free: 2.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001189/1.061, allocations: 480.6 kB / 500 MB, free: 2.008 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004939/1.066, allocations: 0.6286 MB / 0.4889 GB, free: 1.379 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2903/1.356, allocations: 16.22 MB / 0.5047 GB, free: 48.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003831/1.357, allocations: 87.91 kB / 0.5048 GB, free: 48.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002443/1.359, allocations: 298.3 kB / 0.5051 GB, free: 48.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00294/1.362, allocations: 1.512 MB / 0.5066 GB, free: 48.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03501/1.397, allocations: 13.69 MB / 0.5199 GB, free: 48.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1019/1.499, allocations: 73.47 MB / 0.5917 GB, free: 18.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02555/1.525, allocations: 7.526 MB / 0.599 GB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007802/1.533, allocations: 4.97 MB / 0.6039 GB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/1.534, allocations: 1.284 MB / 0.6051 GB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02251/1.557, allocations: 5.637 MB / 0.6106 GB, free: 8.195 MB / 378.7 MB Notification: Performance of pre-optimization done (n=297): time 9.37e-06/1.557, allocations: 0 / 0.6106 GB, free: 8.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=388): time 0.4167/1.973, allocations: 42.08 MB / 0.6517 GB, free: 63.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/1.974, allocations: 167.4 kB / 0.6519 GB, free: 63.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01057/1.984, allocations: 4.849 MB / 0.6566 GB, free: 63.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000989/1.985, allocations: 87.17 kB / 0.6567 GB, free: 63.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004077/1.989, allocations: 4.066 MB / 0.6607 GB, free: 61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00222/1.992, allocations: 1.424 MB / 0.6621 GB, free: 60.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001211/1.993, allocations: 174.8 kB / 0.6622 GB, free: 60.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0006702/1.993, allocations: 0.671 MB / 0.6629 GB, free: 59.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009661/2.003, allocations: 4.569 MB / 0.6674 GB, free: 59.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01253/2.016, allocations: 9.034 MB / 0.6762 GB, free: 54.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01257/2.028, allocations: 6.439 MB / 0.6825 GB, free: 54.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001488/2.029, allocations: 43 kB / 0.6825 GB, free: 54.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=1112) (initialization): time 0.05107/2.08, allocations: 19.23 MB / 0.7013 GB, free: 49.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001636/2.08, allocations: 111.6 kB / 0.7014 GB, free: 49.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001896/2.08, allocations: 154.7 kB / 0.7015 GB, free: 49.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02447/2.105, allocations: 6.682 MB / 0.7081 GB, free: 46.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008101/2.113, allocations: 1.839 MB / 0.7099 GB, free: 44.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06735/2.18, allocations: 35.85 MB / 0.7449 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009493/2.19, allocations: 0.5931 MB / 0.7455 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002083/2.192, allocations: 491.9 kB / 0.7459 GB, free: 12.77 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 () * 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.002491/2.194, allocations: 0.7355 MB / 0.7466 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001306/2.196, allocations: 0.5129 MB / 0.7471 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2696/2.465, allocations: 13.9 MB / 0.7607 GB, free: 54.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.477e-05/2.465, allocations: 43.56 kB / 0.7608 GB, free: 54.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-05/2.465, allocations: 22.78 kB / 0.7608 GB, free: 54.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.836e-05/2.465, allocations: 26.55 kB / 0.7608 GB, free: 54.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06735/2.533, allocations: 26.83 MB / 0.787 GB, free: 53.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-05/2.533, allocations: 3.719 kB / 0.787 GB, free: 53.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003273/2.536, allocations: 0.5345 MB / 0.7875 GB, free: 53.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02479/2.561, allocations: 6.289 MB / 0.7937 GB, free: 53.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001082/2.562, allocations: 69.53 kB / 0.7937 GB, free: 53.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06906/2.631, allocations: 34.48 MB / 0.8274 GB, free: 43.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.505e-06/2.631, allocations: 13.5 kB / 0.8274 GB, free: 43.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04818/2.679, allocations: 20.34 MB / 0.8473 GB, free: 35.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004427/2.684, allocations: 1.389 MB / 0.8486 GB, free: 34.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002041/2.686, allocations: 71.56 kB / 0.8487 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0052/2.691, allocations: 342.4 kB / 0.849 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00182/2.693, allocations: 277.9 kB / 0.8493 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008443/2.694, allocations: 102.8 kB / 0.8494 GB, free: 34.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.008621/2.703, allocations: 3.457 MB / 0.8528 GB, free: 31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.385e-06/2.703, allocations: 0 / 0.8528 GB, free: 31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01218/2.715, allocations: 1.97 MB / 0.8547 GB, free: 29.05 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) * 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.00222/2.717, allocations: 434.6 kB / 0.8551 GB, free: 28.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02481/2.742, allocations: 12.2 MB / 0.867 GB, free: 18.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/2.742, allocations: 4 kB / 0.867 GB, free: 18.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01251/2.754, allocations: 5.661 MB / 0.8726 GB, free: 13.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004942/2.759, allocations: 0.6543 MB / 0.8732 GB, free: 12.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04704/2.807, allocations: 15.8 MB / 0.8886 GB, free: 15.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0128/2.819, allocations: 4.878 MB / 0.8934 GB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002304/2.822, allocations: 410.5 kB / 0.8938 GB, free: 11.22 MB / 394.7 MB Notification: Performance of SimCode: time 2.124e-06/2.822, allocations: 0 / 0.8938 GB, free: 11.22 MB / 394.7 MB Notification: Performance of Templates: time 0.7905/3.612, allocations: 229 MB / 1.117 GB, free: 60.63 MB / 410.7 MB