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.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_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadModel(Modelica): time 2.005/2.005, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005307/0.0005309, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1447, allocations: 44.49 MB / 309 MB, free: 1.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5304/0.6751, allocations: 106.4 MB / 415.4 MB, free: 10.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.6755, allocations: 96.23 kB / 415.5 MB, free: 10.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8614/1.537, allocations: 128.3 MB / 0.531 GB, free: 67.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.167e-06/1.537, allocations: 0 / 0.531 GB, free: 67.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006413/1.538, allocations: 148.8 kB / 0.5312 GB, free: 67.82 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.04319/1.581, allocations: 7.491 MB / 0.5385 GB, free: 65.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/1.581, allocations: 8.719 kB / 0.5385 GB, free: 65.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02552/1.606, allocations: 2.91 MB / 0.5413 GB, free: 64.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03049/1.637, allocations: 8.181 MB / 0.5493 GB, free: 63.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007733/1.638, allocations: 0.5247 MB / 0.5498 GB, free: 63.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004021/1.642, allocations: 0.6893 MB / 0.5505 GB, free: 63.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0507/1.693, allocations: 17.4 MB / 0.5675 GB, free: 60.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003539/1.693, allocations: 90.19 kB / 0.5676 GB, free: 60.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001968/1.695, allocations: 328.6 kB / 0.5679 GB, free: 60.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003146/1.698, allocations: 1.491 MB / 0.5694 GB, free: 60.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04514/1.743, allocations: 14.58 MB / 0.5836 GB, free: 60.08 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.1265/1.87, allocations: 74.7 MB / 0.6565 GB, free: 22.31 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03562/1.906, allocations: 7.255 MB / 0.6636 GB, free: 16.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0423/1.948, allocations: 15.7 MB / 0.679 GB, free: 2.609 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.324e-05/1.948, allocations: 60.56 kB / 0.679 GB, free: 2.543 MB / 426.7 MB Notification: Performance of pre-optimization done (n=248): time 9.819e-06/1.948, allocations: 0 / 0.679 GB, free: 2.543 MB / 426.7 MB Notification: Performance of matching and sorting (n=264): time 0.4528/2.401, allocations: 27.56 MB / 0.7059 GB, free: 76.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001517/2.402, allocations: 1.62 MB / 0.7075 GB, free: 75.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0155/2.418, allocations: 5.841 MB / 0.7132 GB, free: 74.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008873/2.419, allocations: 68.25 kB / 0.7133 GB, free: 74.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00436/2.423, allocations: 4.678 MB / 0.7179 GB, free: 72.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002058/2.425, allocations: 1.041 MB / 0.7189 GB, free: 71.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00151/2.427, allocations: 174.8 kB / 0.719 GB, free: 71.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008738/2.428, allocations: 0.6907 MB / 0.7197 GB, free: 71.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008772/2.437, allocations: 3.279 MB / 0.7229 GB, free: 71.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01271/2.449, allocations: 8.7 MB / 0.7314 GB, free: 64.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01212/2.462, allocations: 5.2 MB / 0.7365 GB, free: 64.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002452/2.462, allocations: 59.41 kB / 0.7365 GB, free: 64.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.0407/2.503, allocations: 13.42 MB / 0.7497 GB, free: 61.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001714/2.503, allocations: 87.12 kB / 0.7497 GB, free: 61.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01933/2.522, allocations: 5.686 MB / 0.7553 GB, free: 59.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01123/2.534, allocations: 2.101 MB / 0.7573 GB, free: 58.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01303/2.547, allocations: 2.108 MB / 0.7594 GB, free: 58.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0232/2.57, allocations: 14.36 MB / 0.7734 GB, free: 48.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01144/2.581, allocations: 0.5601 MB / 0.774 GB, free: 48.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002338/2.584, allocations: 0.5347 MB / 0.7745 GB, free: 48.25 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.01016/2.594, allocations: 3.224 MB / 0.7776 GB, free: 46.74 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001551/2.595, allocations: 0.5139 MB / 0.7781 GB, free: 46.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02217/2.618, allocations: 6.429 MB / 0.7844 GB, free: 43.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01834/2.636, allocations: 5.528 MB / 0.7898 GB, free: 39.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01903/2.655, allocations: 5.899 MB / 0.7956 GB, free: 34.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.974e-05/2.655, allocations: 15.7 kB / 0.7956 GB, free: 34.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05281/2.708, allocations: 17.11 MB / 0.8123 GB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.74e-05/2.708, allocations: 8.875 kB / 0.8123 GB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004757/2.713, allocations: 0.4975 MB / 0.8128 GB, free: 20.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009807/2.723, allocations: 1.797 MB / 0.8145 GB, free: 18.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008836/2.724, allocations: 69.7 kB / 0.8146 GB, free: 18.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01914/2.743, allocations: 9.957 MB / 0.8243 GB, free: 9.945 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001221/2.744, allocations: 1.481 MB / 0.8258 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3621/3.106, allocations: 9.681 MB / 0.8352 GB, free: 67.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002269/3.109, allocations: 0.5749 MB / 0.8358 GB, free: 67.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002593/3.111, allocations: 57.52 kB / 0.8359 GB, free: 67.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00574/3.117, allocations: 218.5 kB / 0.8361 GB, free: 67.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001211/3.118, allocations: 190 kB / 0.8362 GB, free: 67.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005418/3.119, allocations: 86.27 kB / 0.8363 GB, free: 67.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01173/3.131, allocations: 3.632 MB / 0.8399 GB, free: 67.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.332e-06/3.131, allocations: 0 / 0.8399 GB, free: 67.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01351/3.144, allocations: 1.683 MB / 0.8415 GB, free: 67.27 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.001838/3.146, allocations: 274.6 kB / 0.8418 GB, free: 67.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02525/3.171, allocations: 8.888 MB / 0.8505 GB, free: 66.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.39e-05/3.171, allocations: 0 / 0.8505 GB, free: 66.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01035/3.182, allocations: 3.348 MB / 0.8537 GB, free: 65.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007774/3.19, allocations: 0.7635 MB / 0.8545 GB, free: 65.56 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04741/3.237, allocations: 18.6 MB / 0.8726 GB, free: 58.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01311/3.25, allocations: 4.963 MB / 0.8775 GB, free: 57.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002689/3.253, allocations: 433.8 kB / 0.8779 GB, free: 57.7 MB / 426.7 MB Notification: Performance of SimCode: time 2.345e-06/3.253, allocations: 0 / 0.8779 GB, free: 57.7 MB / 426.7 MB Notification: Performance of Templates: time 0.8358/4.089, allocations: 276.9 MB / 1.148 GB, free: 3.516 MB / 458.7 MB