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.Constraints.SphericalConstraint.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.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadModel(Modelica): time 1.796/1.796, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003577, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0793/0.07968, allocations: 44.51 MB / 308.5 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3759/0.4557, allocations: 106.4 MB / 414.8 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.456, allocations: 94.06 kB / 414.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6983/1.154, allocations: 127.5 MB / 0.5297 GB, free: 58.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.769e-06/1.154, allocations: 0 / 0.5297 GB, free: 58.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004377/1.155, allocations: 142.3 kB / 0.5298 GB, free: 58.11 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: 2366 * Number of variables: 2366 Notification: Performance of Generate backend data structure: time 0.02721/1.182, allocations: 7.502 MB / 0.5371 GB, free: 55.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/1.182, allocations: 7.812 kB / 0.5371 GB, free: 55.35 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0177/1.2, allocations: 2.906 MB / 0.54 GB, free: 54.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02328/1.223, allocations: 8.177 MB / 0.548 GB, free: 54.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005729/1.224, allocations: 0.5209 MB / 0.5485 GB, free: 54.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002986/1.227, allocations: 0.6973 MB / 0.5492 GB, free: 54.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04413/1.271, allocations: 17.35 MB / 0.5661 GB, free: 50.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004474/1.271, allocations: 83.75 kB / 0.5662 GB, free: 50.26 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003001/1.274, allocations: 331.5 kB / 0.5665 GB, free: 50.26 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002899/1.277, allocations: 1.5 MB / 0.568 GB, free: 50.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03745/1.315, allocations: 14.57 MB / 0.5822 GB, free: 47.18 MB / 394.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.1025/1.417, allocations: 74.7 MB / 0.6551 GB, free: 164 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02889/1.446, allocations: 7.306 MB / 0.6623 GB, free: 10.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2827/1.729, allocations: 15.7 MB / 0.6776 GB, free: 85.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.08e-05/1.729, allocations: 62.05 kB / 0.6777 GB, free: 85.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=248): time 7.202e-06/1.729, allocations: 0 / 0.6777 GB, free: 85.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=264): time 0.09788/1.827, allocations: 27.95 MB / 0.705 GB, free: 80.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001149/1.828, allocations: 1.614 MB / 0.7065 GB, free: 78.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/1.839, allocations: 5.2 MB / 0.7116 GB, free: 78.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006269/1.84, allocations: 65.23 kB / 0.7117 GB, free: 78.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003302/1.843, allocations: 4.679 MB / 0.7162 GB, free: 75.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001419/1.845, allocations: 1.038 MB / 0.7173 GB, free: 75.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008753/1.846, allocations: 176.3 kB / 0.7174 GB, free: 75.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005681/1.846, allocations: 0.6932 MB / 0.7181 GB, free: 74.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006876/1.853, allocations: 3.278 MB / 0.7213 GB, free: 74.94 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009665/1.863, allocations: 8.667 MB / 0.7298 GB, free: 67.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/1.873, allocations: 5.199 MB / 0.7348 GB, free: 66.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001726/1.873, allocations: 54.88 kB / 0.7349 GB, free: 66.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.03313/1.906, allocations: 13.43 MB / 0.748 GB, free: 62.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001469/1.906, allocations: 86.09 kB / 0.7481 GB, free: 62.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01486/1.921, allocations: 5.698 MB / 0.7537 GB, free: 60.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008421/1.93, allocations: 2.104 MB / 0.7557 GB, free: 59.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008969/1.939, allocations: 2.109 MB / 0.7578 GB, free: 59.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01901/1.958, allocations: 14.34 MB / 0.7718 GB, free: 49.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009746/1.968, allocations: 0.5651 MB / 0.7723 GB, free: 49.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001882/1.97, allocations: 0.5341 MB / 0.7729 GB, free: 49.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 875 * 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.sphereColor[3],joint.sphereColor[2],joint.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1102): * Single equations (assignments): 1088 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,100.0%) 3,(3,100.0%) 3,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008068/1.978, allocations: 3.222 MB / 0.776 GB, free: 46.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/1.979, allocations: 0.5128 MB / 0.7765 GB, free: 45.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0154/1.994, allocations: 6.437 MB / 0.7828 GB, free: 40.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01294/2.007, allocations: 5.512 MB / 0.7882 GB, free: 36.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01365/2.021, allocations: 5.903 MB / 0.7939 GB, free: 31.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-05/2.021, allocations: 10.12 kB / 0.7939 GB, free: 31.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04099/2.062, allocations: 17.11 MB / 0.8107 GB, free: 17.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-05/2.062, allocations: 11.47 kB / 0.8107 GB, free: 17.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003146/2.065, allocations: 0.4904 MB / 0.8111 GB, free: 17.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006905/2.072, allocations: 1.8 MB / 0.8129 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000719/2.073, allocations: 63.86 kB / 0.813 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01554/2.089, allocations: 9.957 MB / 0.8227 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001083/2.09, allocations: 1.483 MB / 0.8241 GB, free: 5.168 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2836/2.373, allocations: 10.81 MB / 0.8347 GB, free: 73.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001846/2.375, allocations: 0.572 MB / 0.8353 GB, free: 73.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001864/2.377, allocations: 64.16 kB / 0.8353 GB, free: 73.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004179/2.381, allocations: 213.5 kB / 0.8355 GB, free: 73.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009775/2.382, allocations: 191.1 kB / 0.8357 GB, free: 73.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003505/2.383, allocations: 86.59 kB / 0.8358 GB, free: 73.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.009647/2.392, allocations: 3.639 MB / 0.8393 GB, free: 73.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.06e-06/2.392, allocations: 0 / 0.8393 GB, free: 73.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0108/2.403, allocations: 1.686 MB / 0.841 GB, free: 73.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],joint.w_rel[1],joint.w_rel[2],joint.w_rel[3],bodyOfConstraint.body.w_a[1],bodyOfConstraint.body.w_a[2],bodyOfConstraint.body.w_a[3],freeMotionScalarInit.derd[1].u,freeMotionScalarInit.derd[2].u,freeMotionScalarInit.derd[3].u) * 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 (221): * Single equations (assignments): 211 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 3,(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001321/2.405, allocations: 280.1 kB / 0.8413 GB, free: 73.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01836/2.423, allocations: 8.875 MB / 0.8499 GB, free: 72.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/2.423, allocations: 3.188 kB / 0.8499 GB, free: 72.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007872/2.431, allocations: 3.354 MB / 0.8532 GB, free: 71.78 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00549/2.436, allocations: 0.7676 MB / 0.8539 GB, free: 71.76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0383/2.475, allocations: 18.54 MB / 0.8721 GB, free: 64.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01139/2.486, allocations: 4.966 MB / 0.8769 GB, free: 63.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001986/2.488, allocations: 433 kB / 0.8773 GB, free: 63.88 MB / 426.7 MB Notification: Performance of SimCode: time 1.784e-06/2.488, allocations: 0 / 0.8773 GB, free: 63.88 MB / 426.7 MB Notification: Performance of Templates: time 0.8959/3.384, allocations: 277 MB / 1.148 GB, free: 108 MB / 458.7 MB