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.669/1.669, allocations: 171.2 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003418, allocations: 8 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07869/0.07905, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.4046/0.4837, allocations: 70.3 MB / 342.9 MB, free: 6.656 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.04882/0.5325, allocations: 16.63 MB / 359.6 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01566/0.5483, allocations: 371 kB / 359.9 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01322/0.5615, allocations: 3.62 MB / 363.6 MB, free: 1.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03843/0.6, allocations: 9.896 MB / 373.4 MB, free: 8.059 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007411/0.6075, allocations: 1.229 MB / 374.7 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0106/0.6181, allocations: 3.953 MB / 378.6 MB, free: 2.863 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02026/0.6384, allocations: 9.415 MB / 388 MB, free: 9.375 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004093/0.6426, allocations: 1.651 MB / 389.7 MB, free: 7.719 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004509/0.6471, allocations: 2.013 MB / 391.7 MB, free: 5.699 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001408/0.6486, allocations: 224 kB / 391.9 MB, free: 5.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004604/0.6532, allocations: 1.42 MB / 393.3 MB, free: 4.059 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004429/0.6577, allocations: 2.619 MB / 396 MB, free: 1.434 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002548/0.6603, allocations: 1.345 MB / 397.3 MB, free: 80 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01541/0.6758, allocations: 9.563 MB / 406.9 MB, free: 6.492 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6758, allocations: 7.938 kB / 406.9 MB, free: 6.484 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6758, allocations: 0 / 406.9 MB, free: 6.484 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003797/0.6762, allocations: 0 / 406.9 MB, free: 6.484 MB / 330.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.02637/0.7026, allocations: 7.187 MB / 414.1 MB, free: 15.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.7027, allocations: 8.031 kB / 414.1 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01738/0.7201, allocations: 2.701 MB / 416.8 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01444/0.7345, allocations: 4.775 MB / 421.6 MB, free: 7.637 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005938/0.7352, allocations: 427.1 kB / 422 MB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003531/0.7387, allocations: 0.6556 MB / 422.6 MB, free: 6.562 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05315/0.7919, allocations: 16.9 MB / 439.5 MB, free: 4.734 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002917/0.7923, allocations: 67.31 kB / 439.6 MB, free: 4.668 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002102/0.7944, allocations: 263.8 kB / 439.8 MB, free: 4.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007134/0.8016, allocations: 2.553 MB / 442.4 MB, free: 1.855 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4824/1.284, allocations: 14.58 MB / 457 MB, free: 119.7 MB / 362.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.1137/1.398, allocations: 63.75 MB / 0.5085 GB, free: 61.4 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05574/1.454, allocations: 7.331 MB / 0.5157 GB, free: 53.91 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04919/1.503, allocations: 15.98 MB / 0.5313 GB, free: 37.59 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.02e-05/1.503, allocations: 68.44 kB / 0.5314 GB, free: 37.51 MB / 362.8 MB Notification: Performance of pre-optimization done (n=248): time 7.113e-06/1.503, allocations: 0 / 0.5314 GB, free: 37.51 MB / 362.8 MB Notification: Performance of matching and sorting (n=258): time 0.115/1.618, allocations: 27.21 MB / 0.5579 GB, free: 9.961 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/1.618, allocations: 154.5 kB / 0.5581 GB, free: 9.781 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01144/1.63, allocations: 6.202 MB / 0.5641 GB, free: 3.559 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000734/1.63, allocations: 61.7 kB / 0.5642 GB, free: 3.492 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.2365/1.867, allocations: 4.821 MB / 0.5689 GB, free: 114.6 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001981/1.869, allocations: 1.012 MB / 0.5699 GB, free: 114.1 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001321/1.87, allocations: 179.9 kB / 0.5701 GB, free: 114.1 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0008549/1.871, allocations: 0.6782 MB / 0.5707 GB, free: 113.8 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009192/1.88, allocations: 3.245 MB / 0.5739 GB, free: 113.3 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01293/1.893, allocations: 8.616 MB / 0.5823 GB, free: 104.9 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01222/1.906, allocations: 5.15 MB / 0.5873 GB, free: 102.9 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003276/1.906, allocations: 54.47 kB / 0.5874 GB, free: 102.9 MB / 362.8 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.03915/1.945, allocations: 13.6 MB / 0.6007 GB, free: 97.73 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001675/1.945, allocations: 93.48 kB / 0.6008 GB, free: 97.73 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01749/1.963, allocations: 5.629 MB / 0.6063 GB, free: 95.78 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01108/1.974, allocations: 2.269 MB / 0.6085 GB, free: 94.29 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01211/1.986, allocations: 2.078 MB / 0.6105 GB, free: 92.48 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02205/2.008, allocations: 14.55 MB / 0.6247 GB, free: 77.45 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009775/2.018, allocations: 0.5235 MB / 0.6252 GB, free: 76.93 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001696/2.02, allocations: 0.5334 MB / 0.6257 GB, free: 76.4 MB / 362.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 872 * 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 (1094): * Single equations (assignments): 1080 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * 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: 0 * 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: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.007391/2.027, allocations: 3.201 MB / 0.6289 GB, free: 73.19 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/2.028, allocations: 0.5105 MB / 0.6294 GB, free: 72.67 MB / 362.8 MB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 212 equation(s) and 206 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006337/2.035, allocations: 2.529 MB / 0.6318 GB, free: 70.13 MB / 362.8 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.