Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadModel(Modelica): time 1.816/1.816, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.0003371, allocations: 8 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08664/0.087, allocations: 44.5 MB / 309.1 MB, free: 380 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.3647/0.4517, allocations: 70.3 MB / 379.4 MB, free: 7.871 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04059/0.4924, allocations: 16.65 MB / 396 MB, free: 7.375 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0159/0.5083, allocations: 374.3 kB / 396.4 MB, free: 7.309 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01171/0.5201, allocations: 3.621 MB / 400 MB, free: 5.559 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03546/0.5556, allocations: 9.9 MB / 409.9 MB, free: 2.582 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006767/0.5624, allocations: 1.211 MB / 411.1 MB, free: 2.254 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009104/0.5715, allocations: 3.95 MB / 415.1 MB, free: 1.375 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01756/0.5891, allocations: 9.426 MB / 424.5 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004081/0.5933, allocations: 1.65 MB / 426.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004421/0.5977, allocations: 2.015 MB / 428.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001227/0.599, allocations: 220 kB / 428.4 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004657/0.6037, allocations: 1.439 MB / 429.8 MB, free: 9.289 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00426/0.608, allocations: 2.614 MB / 432.4 MB, free: 7.156 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002236/0.6103, allocations: 1.348 MB / 433.8 MB, free: 6.426 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01477/0.6251, allocations: 9.571 MB / 443.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.6251, allocations: 0 / 443.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.736e-06/0.6251, allocations: 0 / 443.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.00035/0.6255, allocations: 0 / 443.3 MB, free: 14.12 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.02567/0.6512, allocations: 7.196 MB / 450.5 MB, free: 7.262 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.6512, allocations: 8.031 kB / 450.5 MB, free: 7.254 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01771/0.669, allocations: 2.727 MB / 453.3 MB, free: 4.516 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01418/0.6832, allocations: 4.779 MB / 458 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005147/0.6837, allocations: 427.6 kB / 458.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003388/0.6871, allocations: 0.6558 MB / 459.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05102/0.7382, allocations: 16.9 MB / 476 MB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003065/0.7385, allocations: 63.47 kB / 476.1 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001907/0.7405, allocations: 262.3 kB / 476.3 MB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006697/0.7472, allocations: 2.555 MB / 478.9 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04885/0.7961, allocations: 14.59 MB / 493.5 MB, free: 11.63 MB / 394.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.6348/1.431, allocations: 63.76 MB / 0.5442 GB, free: 119.8 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03583/1.467, allocations: 7.318 MB / 0.5513 GB, free: 119.2 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03656/1.503, allocations: 16.01 MB / 0.567 GB, free: 112.1 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/1.504, allocations: 66.44 kB / 0.567 GB, free: 112.1 MB / 426.8 MB Notification: Performance of pre-optimization done (n=248): time 7.194e-06/1.504, allocations: 0 / 0.567 GB, free: 112.1 MB / 426.8 MB Notification: Performance of matching and sorting (n=258): time 0.1113/1.615, allocations: 27.21 MB / 0.5936 GB, free: 89.92 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/1.615, allocations: 164.4 kB / 0.5938 GB, free: 89.73 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01049/1.625, allocations: 6.203 MB / 0.5998 GB, free: 83.52 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007536/1.626, allocations: 62.64 kB / 0.5999 GB, free: 83.45 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003431/1.63, allocations: 4.826 MB / 0.6046 GB, free: 78.65 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001541/1.631, allocations: 1.01 MB / 0.6056 GB, free: 77.65 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007674/1.632, allocations: 171.9 kB / 0.6057 GB, free: 77.48 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0004585/1.633, allocations: 0.682 MB / 0.6064 GB, free: 76.79 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007224/1.64, allocations: 3.269 MB / 0.6096 GB, free: 73.52 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01074/1.651, allocations: 8.643 MB / 0.618 GB, free: 62.34 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01094/1.662, allocations: 5.183 MB / 0.6231 GB, free: 57.28 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001392/1.662, allocations: 52 kB / 0.6232 GB, free: 57.23 MB / 426.8 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.054/1.716, allocations: 14.51 MB / 0.6373 GB, free: 42.63 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001755/1.716, allocations: 87.98 kB / 0.6374 GB, free: 42.54 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05248/1.768, allocations: 6.544 MB / 0.6438 GB, free: 35.92 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.055/1.824, allocations: 3.258 MB / 0.647 GB, free: 32.63 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01662/1.84, allocations: 2.074 MB / 0.649 GB, free: 30.55 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03631/1.877, allocations: 16.28 MB / 0.6649 GB, free: 13.47 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00936/1.886, allocations: 0.5317 MB / 0.6654 GB, free: 12.94 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00132/1.887, allocations: 0.5201 MB / 0.6659 GB, free: 12.42 MB / 426.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): 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.006988/1.894, allocations: 3.208 MB / 0.6691 GB, free: 9.199 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001222/1.896, allocations: 0.5128 MB / 0.6696 GB, free: 8.68 MB / 426.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.005973/1.902, allocations: 2.522 MB / 0.672 GB, free: 6.152 MB / 426.8 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.