Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadModel(Modelica): time 1.856/1.856, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003557, allocations: 8 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08598/0.08636, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.453/0.5394, allocations: 100.7 MB / 373.3 MB, free: 5.055 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004296/0.5399, allocations: 99.58 kB / 373.4 MB, free: 5.004 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7778/1.318, allocations: 128.2 MB / 0.4898 GB, free: 62.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.975e-06/1.318, allocations: 3.938 kB / 0.4898 GB, free: 62.44 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005376/1.318, allocations: 147.4 kB / 0.49 GB, free: 62.3 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.03566/1.354, allocations: 7.489 MB / 0.4973 GB, free: 54.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/1.354, allocations: 11.97 kB / 0.4973 GB, free: 54.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02279/1.377, allocations: 2.899 MB / 0.5001 GB, free: 51.85 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02848/1.405, allocations: 8.164 MB / 0.5081 GB, free: 43.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005938/1.406, allocations: 0.5239 MB / 0.5086 GB, free: 43.19 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003775/1.41, allocations: 0.6949 MB / 0.5093 GB, free: 42.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05313/1.463, allocations: 17.34 MB / 0.5262 GB, free: 23.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000413/1.463, allocations: 91.2 kB / 0.5263 GB, free: 23.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003133/1.467, allocations: 327.9 kB / 0.5266 GB, free: 23.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00341/1.47, allocations: 1.491 MB / 0.5281 GB, free: 21.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04536/1.515, allocations: 14.58 MB / 0.5423 GB, free: 7.285 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.3919/1.907, allocations: 74.69 MB / 0.6153 GB, free: 26.87 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05429/1.962, allocations: 7.26 MB / 0.6223 GB, free: 25.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05438/2.016, allocations: 15.7 MB / 0.6377 GB, free: 17.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.593e-05/2.016, allocations: 65.05 kB / 0.6377 GB, free: 17.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=248): time 6.923e-06/2.016, allocations: 0 / 0.6377 GB, free: 17.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=264): time 0.1258/2.142, allocations: 27.55 MB / 0.6646 GB, free: 3.375 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001825/2.144, allocations: 1.616 MB / 0.6662 GB, free: 1.656 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02755/2.172, allocations: 6.545 MB / 0.6726 GB, free: 14.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008709/2.173, allocations: 61.7 kB / 0.6727 GB, free: 14.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006286/2.179, allocations: 4.845 MB / 0.6774 GB, free: 10.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002284/2.181, allocations: 1.044 MB / 0.6784 GB, free: 9.125 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001646/2.183, allocations: 178.1 kB / 0.6786 GB, free: 8.953 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00119/2.184, allocations: 0.6737 MB / 0.6793 GB, free: 8.375 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01515/2.199, allocations: 3.274 MB / 0.6824 GB, free: 5.602 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.285/2.484, allocations: 8.659 MB / 0.6909 GB, free: 79.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01349/2.498, allocations: 5.19 MB / 0.696 GB, free: 79.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003142/2.498, allocations: 55.25 kB / 0.696 GB, free: 79.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.0438/2.542, allocations: 13.52 MB / 0.7092 GB, free: 78.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003301/2.543, allocations: 84.69 kB / 0.7093 GB, free: 78.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01858/2.561, allocations: 5.602 MB / 0.7148 GB, free: 78.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/2.571, allocations: 2.018 MB / 0.7168 GB, free: 78.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01301/2.584, allocations: 2.123 MB / 0.7188 GB, free: 77.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02101/2.605, allocations: 13.94 MB / 0.7324 GB, free: 69.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01101/2.616, allocations: 0.5651 MB / 0.733 GB, free: 69.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002779/2.619, allocations: 0.5336 MB / 0.7335 GB, free: 68.95 MB / 378.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.009192/2.629, allocations: 3.219 MB / 0.7367 GB, free: 67.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001343/2.63, allocations: 0.512 MB / 0.7372 GB, free: 67.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02019/2.65, allocations: 6.433 MB / 0.7434 GB, free: 65.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02086/2.671, allocations: 5.513 MB / 0.7488 GB, free: 63.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02537/2.696, allocations: 5.909 MB / 0.7546 GB, free: 61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.364e-05/2.697, allocations: 10.78 kB / 0.7546 GB, free: 61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07213/2.769, allocations: 17.12 MB / 0.7713 GB, free: 50.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.93e-05/2.769, allocations: 14.44 kB / 0.7713 GB, free: 50 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00727/2.776, allocations: 0.4891 MB / 0.7718 GB, free: 49.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01649/2.793, allocations: 1.789 MB / 0.7736 GB, free: 48.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009254/2.794, allocations: 69.95 kB / 0.7736 GB, free: 48.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02788/2.822, allocations: 9.952 MB / 0.7833 GB, free: 39.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001562/2.823, allocations: 1.491 MB / 0.7848 GB, free: 37.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03668/2.86, allocations: 9.328 MB / 0.7939 GB, free: 29.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002499/2.862, allocations: 0.5727 MB / 0.7945 GB, free: 29.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002292/2.865, allocations: 60.77 kB / 0.7945 GB, free: 29.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00532/2.87, allocations: 211.7 kB / 0.7947 GB, free: 29.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001035/2.871, allocations: 198.4 kB / 0.7949 GB, free: 28.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003239/2.872, allocations: 80.75 kB / 0.795 GB, free: 28.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.009442/2.881, allocations: 3.637 MB / 0.7985 GB, free: 25.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/2.881, allocations: 0 / 0.7985 GB, free: 25.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01277/2.894, allocations: 1.682 MB / 0.8002 GB, free: 23.45 MB / 378.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.001545/2.895, allocations: 267.2 kB / 0.8004 GB, free: 23.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02201/2.917, allocations: 8.739 MB / 0.809 GB, free: 14.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/2.918, allocations: 0 / 0.809 GB, free: 14.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008997/2.927, allocations: 3.341 MB / 0.8122 GB, free: 10.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006021/2.933, allocations: 0.7737 MB / 0.813 GB, free: 10.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4119/3.345, allocations: 17.83 MB / 0.8304 GB, free: 86.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02069/3.365, allocations: 4.961 MB / 0.8353 GB, free: 85.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.02351/3.389, allocations: 2.903 MB / 0.8381 GB, free: 85.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003838/3.393, allocations: 364.8 kB / 0.8384 GB, free: 85.26 MB / 394.7 MB Notification: Performance of SimCode: time 1.583e-06/3.393, allocations: 0 / 0.8384 GB, free: 85.26 MB / 394.7 MB Notification: Performance of Templates: time 0.2215/3.614, allocations: 58.08 MB / 0.8952 GB, free: 68.79 MB / 394.7 MB