Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadModel(Modelica): time 1.693/1.693, allocations: 171.1 MB / 187.3 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003433, allocations: 8 kB / 233.8 MB, free: 0.9766 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08188/0.08224, allocations: 38.77 MB / 272.6 MB, free: 10.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3975/0.4798, allocations: 100.7 MB / 373.2 MB, free: 14.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003578/0.4802, allocations: 91.95 kB / 373.3 MB, free: 14.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7218/1.202, allocations: 128.2 MB / 0.4897 GB, free: 52.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.835e-06/1.202, allocations: 3.938 kB / 0.4897 GB, free: 52.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004809/1.203, allocations: 144 kB / 0.4899 GB, free: 52.15 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: 2366 * Number of variables: 2366 Notification: Performance of Generate backend data structure: time 0.03639/1.239, allocations: 7.495 MB / 0.4972 GB, free: 44.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.239, allocations: 8.031 kB / 0.4972 GB, free: 44.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02979/1.269, allocations: 2.908 MB / 0.5 GB, free: 41.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03731/1.306, allocations: 8.167 MB / 0.508 GB, free: 33.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000866/1.307, allocations: 0.5176 MB / 0.5085 GB, free: 32.87 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004731/1.312, allocations: 0.6988 MB / 0.5092 GB, free: 32.17 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05833/1.37, allocations: 17.41 MB / 0.5262 GB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004466/1.371, allocations: 75.28 kB / 0.5263 GB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003696/1.374, allocations: 343.8 kB / 0.5266 GB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003668/1.378, allocations: 1.491 MB / 0.5281 GB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5537/1.932, allocations: 14.57 MB / 0.5423 GB, free: 47.91 MB / 346.8 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.1255/2.058, allocations: 74.7 MB / 0.6152 GB, free: 4.277 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03595/2.094, allocations: 7.247 MB / 0.6223 GB, free: 2.125 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04283/2.136, allocations: 15.71 MB / 0.6377 GB, free: 10.38 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.926e-05/2.137, allocations: 60.81 kB / 0.6377 GB, free: 10.32 MB / 362.8 MB Notification: Performance of pre-optimization done (n=248): time 7.384e-06/2.137, allocations: 0 / 0.6377 GB, free: 10.32 MB / 362.8 MB Notification: Performance of matching and sorting (n=264): time 0.1462/2.283, allocations: 27.54 MB / 0.6646 GB, free: 9.312 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001861/2.285, allocations: 1.628 MB / 0.6662 GB, free: 7.574 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01626/2.301, allocations: 5.848 MB / 0.6719 GB, free: 2.66 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008476/2.302, allocations: 65.64 kB / 0.672 GB, free: 2.594 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005645/2.308, allocations: 4.678 MB / 0.6765 GB, free: 14.36 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002183/2.31, allocations: 1.04 MB / 0.6775 GB, free: 13.45 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001339/2.311, allocations: 177.1 kB / 0.6777 GB, free: 13.27 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.000959/2.312, allocations: 0.686 MB / 0.6784 GB, free: 12.68 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009848/2.322, allocations: 3.272 MB / 0.6816 GB, free: 9.91 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2941/2.616, allocations: 8.696 MB / 0.6901 GB, free: 88.06 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01421/2.631, allocations: 5.197 MB / 0.6951 GB, free: 88.05 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000255/2.631, allocations: 57.39 kB / 0.6952 GB, free: 88.05 MB / 394.8 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.04184/2.673, allocations: 13.32 MB / 0.7082 GB, free: 86.96 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001661/2.673, allocations: 89.78 kB / 0.7083 GB, free: 86.96 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01888/2.692, allocations: 5.609 MB / 0.7138 GB, free: 86.54 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/2.702, allocations: 2.01 MB / 0.7157 GB, free: 86.48 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01353/2.716, allocations: 2.124 MB / 0.7178 GB, free: 86.3 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02121/2.737, allocations: 13.93 MB / 0.7314 GB, free: 78.62 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01115/2.748, allocations: 0.5674 MB / 0.732 GB, free: 78.62 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002148/2.751, allocations: 0.5347 MB / 0.7325 GB, free: 78.58 MB / 394.8 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 (1105): * Single equations (assignments): 1091 * 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 {1} * 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.009704/2.76, allocations: 3.216 MB / 0.7356 GB, free: 77.2 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001388/2.762, allocations: 0.5145 MB / 0.7361 GB, free: 77.2 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02155/2.783, allocations: 6.432 MB / 0.7424 GB, free: 74.78 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01819/2.801, allocations: 5.523 MB / 0.7478 GB, free: 72.81 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01819/2.82, allocations: 5.903 MB / 0.7536 GB, free: 70.68 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.656e-05/2.82, allocations: 13.28 kB / 0.7536 GB, free: 70.68 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04807/2.868, allocations: 17.12 MB / 0.7703 GB, free: 63.05 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.204e-05/2.868, allocations: 8 kB / 0.7703 GB, free: 63.05 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004716/2.873, allocations: 499.8 kB / 0.7708 GB, free: 62.67 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009602/2.882, allocations: 1.803 MB / 0.7725 GB, free: 61.49 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000787/2.883, allocations: 68.2 kB / 0.7726 GB, free: 61.43 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01894/2.902, allocations: 9.95 MB / 0.7823 GB, free: 52.53 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001165/2.903, allocations: 1.481 MB / 0.7838 GB, free: 50.98 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02512/2.929, allocations: 9.33 MB / 0.7929 GB, free: 43.18 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001909/2.93, allocations: 0.5657 MB / 0.7934 GB, free: 42.62 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002035/2.933, allocations: 65.91 kB / 0.7935 GB, free: 42.56 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005221/2.938, allocations: 219.5 kB / 0.7937 GB, free: 42.43 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009882/2.939, allocations: 184.7 kB / 0.7939 GB, free: 42.31 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003459/2.939, allocations: 84.67 kB / 0.794 GB, free: 42.23 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.009026/2.948, allocations: 3.64 MB / 0.7975 GB, free: 39.24 MB / 394.8 MB Notification: Performance of sort global known variables: time 7.22e-07/2.948, allocations: 0 / 0.7975 GB, free: 39.24 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.01143/2.96, allocations: 1.677 MB / 0.7992 GB, free: 37.59 MB / 394.8 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.001543/2.961, allocations: 272.8 kB / 0.7994 GB, free: 37.36 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.02215/2.983, allocations: 8.736 MB / 0.808 GB, free: 28.98 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/2.984, allocations: 4 kB / 0.808 GB, free: 28.98 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00944/2.993, allocations: 3.353 MB / 0.8112 GB, free: 25.53 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006763/3, allocations: 0.7789 MB / 0.812 GB, free: 24.79 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3332/3.333, allocations: 18.58 MB / 0.8301 GB, free: 81.01 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01395/3.347, allocations: 4.965 MB / 0.835 GB, free: 80.16 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002729/3.35, allocations: 433.9 kB / 0.8354 GB, free: 80.16 MB / 394.8 MB Notification: Performance of SimCode: time 2.955e-06/3.35, allocations: 2.656 kB / 0.8354 GB, free: 80.16 MB / 394.8 MB Notification: Performance of Templates: time 0.7833/4.133, allocations: 276.7 MB / 1.106 GB, free: 9.98 MB / 410.8 MB