Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.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.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_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadModel(Modelica): time 2.007/2.007, allocations: 194.9 MB / 211.7 MB, free: 2.871 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003459, allocations: 12 kB / 264.5 MB, free: 12.9 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09557/0.09594, allocations: 44.51 MB / 309.1 MB, free: 336 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4649/0.5609, allocations: 106.4 MB / 415.4 MB, free: 11.23 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003832/0.5613, allocations: 97.69 kB / 415.5 MB, free: 11.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8886/1.45, allocations: 128.3 MB / 0.5311 GB, free: 68.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.537e-06/1.45, allocations: 2.719 kB / 0.5311 GB, free: 68.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006064/1.451, allocations: 145.2 kB / 0.5313 GB, free: 68.68 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: 2366 * Number of variables: 2366 Notification: Performance of Generate backend data structure: time 0.03908/1.49, allocations: 7.501 MB / 0.5386 GB, free: 65.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/1.49, allocations: 12.14 kB / 0.5386 GB, free: 65.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02406/1.514, allocations: 2.906 MB / 0.5414 GB, free: 65.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03011/1.544, allocations: 8.178 MB / 0.5494 GB, free: 64.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007874/1.545, allocations: 0.5196 MB / 0.5499 GB, free: 64.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004123/1.549, allocations: 0.7 MB / 0.5506 GB, free: 64.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05738/1.606, allocations: 17.34 MB / 0.5675 GB, free: 61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005669/1.607, allocations: 80.44 kB / 0.5676 GB, free: 61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0041/1.611, allocations: 333.7 kB / 0.5679 GB, free: 61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003839/1.615, allocations: 1.493 MB / 0.5694 GB, free: 60.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04532/1.66, allocations: 14.58 MB / 0.5836 GB, free: 60.93 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.1206/1.781, allocations: 74.7 MB / 0.6566 GB, free: 22.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03512/1.816, allocations: 7.258 MB / 0.6637 GB, free: 16.26 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04271/1.859, allocations: 15.7 MB / 0.679 GB, free: 2.477 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.373e-05/1.859, allocations: 68.44 kB / 0.6791 GB, free: 2.402 MB / 426.7 MB Notification: Performance of pre-optimization done (n=248): time 7.124e-06/1.859, allocations: 0 / 0.6791 GB, free: 2.402 MB / 426.7 MB Notification: Performance of matching and sorting (n=264): time 0.4911/2.35, allocations: 27.59 MB / 0.706 GB, free: 77.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001375/2.352, allocations: 1.616 MB / 0.7076 GB, free: 76.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01387/2.366, allocations: 5.849 MB / 0.7133 GB, free: 75.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008244/2.367, allocations: 67.25 kB / 0.7134 GB, free: 75.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004393/2.371, allocations: 4.837 MB / 0.7181 GB, free: 73.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001904/2.373, allocations: 1.039 MB / 0.7191 GB, free: 72.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001357/2.374, allocations: 179.8 kB / 0.7193 GB, free: 72.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008245/2.375, allocations: 0.6891 MB / 0.7199 GB, free: 72.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009183/2.384, allocations: 3.276 MB / 0.7231 GB, free: 72.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01235/2.397, allocations: 8.67 MB / 0.7316 GB, free: 65.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01203/2.409, allocations: 5.198 MB / 0.7367 GB, free: 65.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002155/2.409, allocations: 56.31 kB / 0.7367 GB, free: 65.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.03967/2.449, allocations: 13.61 MB / 0.75 GB, free: 61.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001504/2.449, allocations: 88.41 kB / 0.7501 GB, free: 61.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01872/2.468, allocations: 5.688 MB / 0.7557 GB, free: 59.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01094/2.479, allocations: 2.109 MB / 0.7577 GB, free: 59.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01288/2.492, allocations: 2.107 MB / 0.7598 GB, free: 59.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02831/2.52, allocations: 14.36 MB / 0.7738 GB, free: 49.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01114/2.531, allocations: 0.5587 MB / 0.7743 GB, free: 49.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002286/2.534, allocations: 0.5333 MB / 0.7749 GB, free: 48.94 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.009207/2.543, allocations: 3.216 MB / 0.778 GB, free: 47.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001472/2.544, allocations: 0.5155 MB / 0.7785 GB, free: 47.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02108/2.565, allocations: 6.43 MB / 0.7848 GB, free: 43.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01811/2.584, allocations: 5.521 MB / 0.7902 GB, free: 39.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01904/2.603, allocations: 5.91 MB / 0.796 GB, free: 34.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.431e-05/2.603, allocations: 18.2 kB / 0.796 GB, free: 34.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05669/2.659, allocations: 17.11 MB / 0.8127 GB, free: 20.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.492e-05/2.66, allocations: 12 kB / 0.8127 GB, free: 20.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007037/2.667, allocations: 0.4963 MB / 0.8132 GB, free: 20.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01496/2.682, allocations: 1.792 MB / 0.8149 GB, free: 18.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001081/2.683, allocations: 67.12 kB / 0.815 GB, free: 18.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02944/2.712, allocations: 9.96 MB / 0.8247 GB, free: 9.926 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001824/2.714, allocations: 1.486 MB / 0.8262 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4615/3.176, allocations: 9.793 MB / 0.8357 GB, free: 68.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002907/3.179, allocations: 0.5738 MB / 0.8363 GB, free: 68.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003146/3.182, allocations: 57.56 kB / 0.8363 GB, free: 68.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008038/3.19, allocations: 214.6 kB / 0.8366 GB, free: 68.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001654/3.192, allocations: 190.3 kB / 0.8367 GB, free: 68.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007596/3.193, allocations: 89.22 kB / 0.8368 GB, free: 68.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01511/3.208, allocations: 3.632 MB / 0.8404 GB, free: 68.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.443e-06/3.208, allocations: 0 / 0.8404 GB, free: 68.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01959/3.227, allocations: 1.681 MB / 0.842 GB, free: 68.21 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.002238/3.23, allocations: 284.9 kB / 0.8423 GB, free: 68.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.06004/3.29, allocations: 8.872 MB / 0.8509 GB, free: 67.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.919e-05/3.29, allocations: 3.969 kB / 0.8509 GB, free: 67.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01219/3.302, allocations: 3.351 MB / 0.8542 GB, free: 66.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007135/3.309, allocations: 0.767 MB / 0.855 GB, free: 66.51 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04337/3.353, allocations: 17.83 MB / 0.8724 GB, free: 59.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01392/3.367, allocations: 4.967 MB / 0.8772 GB, free: 58.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01541/3.382, allocations: 2.897 MB / 0.8801 GB, free: 58.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002758/3.385, allocations: 364.5 kB / 0.8804 GB, free: 58.53 MB / 426.7 MB Notification: Performance of SimCode: time 1.573e-06/3.385, allocations: 3.609 kB / 0.8804 GB, free: 58.53 MB / 426.7 MB Notification: Performance of Templates: time 0.167/3.552, allocations: 58.72 MB / 0.9377 GB, free: 40.12 MB / 426.7 MB