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.Constraints.RevoluteConstraint.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.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadModel(Modelica): time 1.975/1.975, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004143/0.0004144, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1164, allocations: 44.51 MB / 309 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5266/0.6431, allocations: 106.9 MB / 415.9 MB, free: 10.71 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/0.6435, allocations: 104.8 kB / 416 MB, free: 10.69 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8552/1.499, allocations: 128.1 MB / 0.5313 GB, free: 68.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.946e-06/1.499, allocations: 1.469 kB / 0.5313 GB, free: 68.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005985/1.499, allocations: 139.8 kB / 0.5315 GB, free: 68.09 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: 2355 * Number of variables: 2355 Notification: Performance of Generate backend data structure: time 0.04373/1.543, allocations: 7.52 MB / 0.5388 GB, free: 65.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/1.543, allocations: 9.875 kB / 0.5388 GB, free: 65.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02355/1.567, allocations: 2.766 MB / 0.5415 GB, free: 64.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0295/1.596, allocations: 7.527 MB / 0.5489 GB, free: 64.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007804/1.597, allocations: 0.523 MB / 0.5494 GB, free: 64.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004317/1.602, allocations: 0.6901 MB / 0.5501 GB, free: 64.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05924/1.661, allocations: 17.31 MB / 0.567 GB, free: 60.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006387/1.662, allocations: 82.11 kB / 0.567 GB, free: 60.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004021/1.666, allocations: 332.5 kB / 0.5674 GB, free: 60.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00373/1.669, allocations: 1.496 MB / 0.5688 GB, free: 60.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04793/1.717, allocations: 14.52 MB / 0.583 GB, free: 60.51 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1281/1.845, allocations: 73.29 MB / 0.6546 GB, free: 24.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03765/1.883, allocations: 7.634 MB / 0.662 GB, free: 18.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04406/1.927, allocations: 15.91 MB / 0.6776 GB, free: 4.352 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.874e-05/1.927, allocations: 67.22 kB / 0.6776 GB, free: 4.281 MB / 426.7 MB Notification: Performance of pre-optimization done (n=261): time 7.394e-06/1.927, allocations: 0 / 0.6776 GB, free: 4.281 MB / 426.7 MB Notification: Performance of matching and sorting (n=335): time 0.5845/2.512, allocations: 45.77 MB / 0.7223 GB, free: 76.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.04012/2.552, allocations: 16.1 MB / 0.7381 GB, free: 73.26 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01502/2.567, allocations: 5.699 MB / 0.7436 GB, free: 72.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001282/2.569, allocations: 76.02 kB / 0.7437 GB, free: 72.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004524/2.573, allocations: 4.581 MB / 0.7482 GB, free: 69.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002621/2.576, allocations: 1.25 MB / 0.7494 GB, free: 68.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001833/2.578, allocations: 182.3 kB / 0.7496 GB, free: 67.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008178/2.579, allocations: 0.6962 MB / 0.7502 GB, free: 67.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01135/2.59, allocations: 4.111 MB / 0.7543 GB, free: 66.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01557/2.606, allocations: 9.345 MB / 0.7634 GB, free: 57.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01535/2.621, allocations: 6.063 MB / 0.7693 GB, free: 55.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002826/2.621, allocations: 52.69 kB / 0.7694 GB, free: 55.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.06844/2.69, allocations: 17.75 MB / 0.7867 GB, free: 47.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001524/2.69, allocations: 84.19 kB / 0.7868 GB, free: 47.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000346/2.69, allocations: 191.8 kB / 0.787 GB, free: 47.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04471/2.735, allocations: 4.996 MB / 0.7918 GB, free: 44.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01736/2.753, allocations: 1.999 MB / 0.7938 GB, free: 42.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08217/2.835, allocations: 38.26 MB / 0.8311 GB, free: 8.629 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01335/2.848, allocations: 0.5467 MB / 0.8317 GB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002681/2.851, allocations: 0.5598 MB / 0.8322 GB, free: 7.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 838 * Number of states: 0 () * Number of discrete variables: 57 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1047): * Single equations (assignments): 1036 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 38,(2,100.0%) 23,(3,77.8%) 12,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.01055/2.861, allocations: 3.255 MB / 0.8354 GB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3698/3.231, allocations: 0.5243 MB / 0.8359 GB, free: 68.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04529/3.277, allocations: 10.47 MB / 0.8461 GB, free: 67.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001275/3.277, allocations: 44.11 kB / 0.8462 GB, free: 67.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03771/3.315, allocations: 9.568 MB / 0.8555 GB, free: 67.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.844e-05/3.315, allocations: 18.2 kB / 0.8555 GB, free: 67.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07823/3.393, allocations: 23.51 MB / 0.8785 GB, free: 65.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.872e-05/3.393, allocations: 6.438 kB / 0.8785 GB, free: 65.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004774/3.398, allocations: 453.5 kB / 0.8789 GB, free: 65.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02287/3.421, allocations: 3.689 MB / 0.8826 GB, free: 65.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00108/3.422, allocations: 61.36 kB / 0.8826 GB, free: 65.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06406/3.486, allocations: 28.24 MB / 0.9102 GB, free: 51.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02904/3.515, allocations: 12.65 MB / 0.9225 GB, free: 44.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05495/3.57, allocations: 14.27 MB / 0.9365 GB, free: 39.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004944/3.575, allocations: 1.142 MB / 0.9376 GB, free: 38.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002413/3.578, allocations: 63.8 kB / 0.9377 GB, free: 38.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007309/3.585, allocations: 224.9 kB / 0.9379 GB, free: 38.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001873/3.587, allocations: 244.7 kB / 0.9381 GB, free: 38.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005685/3.587, allocations: 98.84 kB / 0.9382 GB, free: 38.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0109/3.598, allocations: 3.546 MB / 0.9417 GB, free: 35.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.532e-06/3.598, allocations: 0 / 0.9417 GB, free: 35.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.02013/3.619, allocations: 2.037 MB / 0.9437 GB, free: 33.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.constantTorque.phi,bodyOfJoint.body.w_a[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (204): * Single equations (assignments): 196 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(3,100.0%) 35,(3,100.0%) 25} * Non-linear torn systems: 1 {3 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.002379/3.621, allocations: 261.3 kB / 0.9439 GB, free: 33.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03478/3.656, allocations: 10.79 MB / 0.9544 GB, free: 24.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-05/3.656, allocations: 1.203 kB / 0.9544 GB, free: 24.19 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01403/3.67, allocations: 4.227 MB / 0.9586 GB, free: 20.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008229/3.678, allocations: 0.75 MB / 0.9593 GB, free: 19.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04929/3.728, allocations: 19.75 MB / 0.9786 GB, free: 1.938 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01432/3.742, allocations: 5.11 MB / 0.9836 GB, free: 14.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003139/3.745, allocations: 421.9 kB / 0.984 GB, free: 13.77 MB / 442.7 MB Notification: Performance of SimCode: time 1.863e-06/3.745, allocations: 0 / 0.984 GB, free: 13.77 MB / 442.7 MB Notification: Performance of Templates: time 1.147/4.892, allocations: 244.7 MB / 1.223 GB, free: 88.12 MB / 474.7 MB