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.Constraints.SphericalConstraint.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.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.604/1.604, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003766, allocations: 12 kB / 233.2 MB, free: 3 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07258/0.073, allocations: 38.77 MB / 272 MB, free: 12.15 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3255/0.3985, allocations: 100.7 MB / 372.7 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.3989, allocations: 90.33 kB / 372.8 MB, free: 5.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6434/1.042, allocations: 127.3 MB / 0.4884 GB, free: 63.81 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.513e-06/1.042, allocations: 3.938 kB / 0.4884 GB, free: 63.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003859/1.043, allocations: 143 kB / 0.4885 GB, free: 63.67 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.03074/1.073, allocations: 7.493 MB / 0.4958 GB, free: 56.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/1.074, allocations: 8.031 kB / 0.4958 GB, free: 56.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02646/1.1, allocations: 2.899 MB / 0.4987 GB, free: 53.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02229/1.122, allocations: 8.169 MB / 0.5067 GB, free: 45.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005761/1.123, allocations: 0.5176 MB / 0.5072 GB, free: 44.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002957/1.126, allocations: 0.6949 MB / 0.5078 GB, free: 43.83 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04781/1.174, allocations: 17.36 MB / 0.5248 GB, free: 25.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006857/1.175, allocations: 75.28 kB / 0.5249 GB, free: 25.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004172/1.179, allocations: 335.8 kB / 0.5252 GB, free: 24.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004763/1.184, allocations: 1.491 MB / 0.5266 GB, free: 23.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06221/1.246, allocations: 14.58 MB / 0.5409 GB, free: 8.617 MB / 346.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.3784/1.624, allocations: 74.69 MB / 0.6138 GB, free: 27.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02631/1.651, allocations: 7.261 MB / 0.6209 GB, free: 26.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03227/1.683, allocations: 15.7 MB / 0.6362 GB, free: 18.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.84e-05/1.683, allocations: 64.14 kB / 0.6363 GB, free: 18.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=248): time 7.055e-06/1.683, allocations: 7.359 kB / 0.6363 GB, free: 18.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=264): time 0.09825/1.781, allocations: 27.95 MB / 0.6636 GB, free: 4.391 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001819/1.783, allocations: 1.616 MB / 0.6652 GB, free: 2.676 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01497/1.798, allocations: 5.268 MB / 0.6703 GB, free: 14.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006622/1.799, allocations: 61.7 kB / 0.6704 GB, free: 14.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00513/1.804, allocations: 4.689 MB / 0.675 GB, free: 10.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001869/1.806, allocations: 1.031 MB / 0.676 GB, free: 9.227 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009509/1.807, allocations: 179.6 kB / 0.6761 GB, free: 9.055 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0007835/1.808, allocations: 0.692 MB / 0.6768 GB, free: 8.457 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007944/1.816, allocations: 3.268 MB / 0.68 GB, free: 5.688 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01357/1.829, allocations: 8.674 MB / 0.6885 GB, free: 11.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01143/1.841, allocations: 5.197 MB / 0.6935 GB, free: 6.543 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000169/1.841, allocations: 52 kB / 0.6936 GB, free: 6.492 MB / 394.7 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.263/2.104, allocations: 13.34 MB / 0.7066 GB, free: 92.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002155/2.104, allocations: 96.55 kB / 0.7067 GB, free: 92.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01587/2.12, allocations: 5.603 MB / 0.7122 GB, free: 92.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008041/2.128, allocations: 2.015 MB / 0.7142 GB, free: 92.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009057/2.137, allocations: 2.125 MB / 0.7162 GB, free: 92.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01776/2.155, allocations: 13.94 MB / 0.7298 GB, free: 84.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009374/2.165, allocations: 0.565 MB / 0.7304 GB, free: 84.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001908/2.167, allocations: 0.5384 MB / 0.7309 GB, free: 84.57 MB / 394.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 (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.007953/2.175, allocations: 3.222 MB / 0.7341 GB, free: 84.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001163/2.176, allocations: 0.5154 MB / 0.7346 GB, free: 84.45 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01673/2.193, allocations: 6.425 MB / 0.7408 GB, free: 83.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0141/2.207, allocations: 5.522 MB / 0.7462 GB, free: 82.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01436/2.221, allocations: 5.906 MB / 0.752 GB, free: 80.58 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-05/2.221, allocations: 12.56 kB / 0.752 GB, free: 80.58 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04135/2.263, allocations: 17.12 MB / 0.7687 GB, free: 74.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.015e-05/2.263, allocations: 9.906 kB / 0.7687 GB, free: 74.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003015/2.266, allocations: 494.9 kB / 0.7692 GB, free: 74.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006662/2.272, allocations: 1.799 MB / 0.771 GB, free: 74.01 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006599/2.273, allocations: 75.86 kB / 0.771 GB, free: 73.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0151/2.288, allocations: 9.949 MB / 0.7808 GB, free: 66.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000965/2.289, allocations: 1.487 MB / 0.7822 GB, free: 65.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01948/2.309, allocations: 10.81 MB / 0.7928 GB, free: 55.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001739/2.31, allocations: 0.5718 MB / 0.7933 GB, free: 55.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001682/2.312, allocations: 62.61 kB / 0.7934 GB, free: 55.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003881/2.316, allocations: 215 kB / 0.7936 GB, free: 55.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008865/2.317, allocations: 189.8 kB / 0.7938 GB, free: 54.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003105/2.317, allocations: 82.94 kB / 0.7938 GB, free: 54.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.008387/2.326, allocations: 3.636 MB / 0.7974 GB, free: 51.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.064e-06/2.326, allocations: 3.938 kB / 0.7974 GB, free: 51.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01112/2.337, allocations: 1.682 MB / 0.799 GB, free: 50.04 MB / 394.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.001192/2.338, allocations: 262.8 kB / 0.7993 GB, free: 49.81 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.017/2.355, allocations: 8.758 MB / 0.8078 GB, free: 41.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/2.355, allocations: 0 / 0.8078 GB, free: 41.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007134/2.362, allocations: 3.356 MB / 0.8111 GB, free: 37.62 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004717/2.367, allocations: 0.7758 MB / 0.8119 GB, free: 36.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03578/2.403, allocations: 18.54 MB / 0.83 GB, free: 18.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01071/2.414, allocations: 4.965 MB / 0.8348 GB, free: 13.36 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001946/2.416, allocations: 431.4 kB / 0.8353 GB, free: 12.94 MB / 394.7 MB Notification: Performance of SimCode: time 1.86e-06/2.416, allocations: 4 kB / 0.8353 GB, free: 12.94 MB / 394.7 MB Notification: Performance of Templates: time 0.835/3.251, allocations: 276.7 MB / 1.106 GB, free: 26.28 MB / 410.7 MB