Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001851/0.001851, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002173/0.002173, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.443/1.443, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.84 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2186, allocations: 53.32 MB / 432.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.02122/0.2398, allocations: 18.55 MB / 450.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.2527, allocations: 6.203 MB / 456.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002422/0.2551, allocations: 147.5 kB / 456.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01124/0.2663, allocations: 6.102 MB / 463.1 MB, free: 8.281 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006197/0.2725, allocations: 2.607 MB / 465.7 MB, free: 5.664 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005287/0.2778, allocations: 2.541 MB / 468.2 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009843/0.2877, allocations: 7.105 MB / 475.3 MB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007179/0.2948, allocations: 5.453 MB / 480.8 MB, free: 6.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003776/0.2986, allocations: 2.769 MB / 483.5 MB, free: 3.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005412/0.304, allocations: 3.75 MB / 487.3 MB, free: 15.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001278/0.3053, allocations: 0.625 MB / 487.9 MB, free: 15.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003562/0.3089, allocations: 2.064 MB / 490 MB, free: 13.22 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003366/0.3122, allocations: 3.444 MB / 493.4 MB, free: 9.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003883/0.3161, allocations: 3.737 MB / 497.1 MB, free: 6.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01332/0.3294, allocations: 12.01 MB / 0.4972 GB, free: 9.953 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3294, allocations: 0 / 0.4972 GB, free: 9.953 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3294, allocations: 0 / 0.4972 GB, free: 9.953 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002082/0.3297, allocations: 4 kB / 0.4972 GB, free: 9.949 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.01808/0.3477, allocations: 8.524 MB / 0.5056 GB, free: 1.328 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3478, allocations: 12.03 kB / 0.5056 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008647/0.3564, allocations: 2.403 MB / 0.5079 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009344/0.3658, allocations: 4.229 MB / 0.512 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003417/0.3661, allocations: 435.1 kB / 0.5125 GB, free: 10.17 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001391/0.3675, allocations: 0.6441 MB / 0.5131 GB, free: 9.527 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03131/0.3988, allocations: 16.47 MB / 0.5292 GB, free: 8.129 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001716/0.399, allocations: 59.5 kB / 0.5292 GB, free: 8.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006996/0.3997, allocations: 267.8 kB / 0.5295 GB, free: 7.809 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003962/0.4036, allocations: 2.459 MB / 0.5319 GB, free: 5.348 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2055/0.6092, allocations: 14.15 MB / 0.5457 GB, free: 90.34 MB / 446.1 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.0543/0.6635, allocations: 62.57 MB / 0.6068 GB, free: 33.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01909/0.6826, allocations: 7.073 MB / 0.6137 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003171/0.6857, allocations: 3.534 MB / 0.6172 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01895/0.7047, allocations: 16.51 MB / 0.6333 GB, free: 5.945 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.7047, allocations: 68.5 kB / 0.6333 GB, free: 5.871 MB / 446.1 MB Notification: Performance of pre-optimization done (n=253): time 5.07e-06/0.7047, allocations: 0 / 0.6333 GB, free: 5.871 MB / 446.1 MB Notification: Performance of matching and sorting (n=263): time 0.06554/0.7703, allocations: 26.88 MB / 0.6596 GB, free: 11.06 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.7704, allocations: 154.5 kB / 0.6597 GB, free: 10.88 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007729/0.7781, allocations: 5.764 MB / 0.6654 GB, free: 5.25 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000291/0.7784, allocations: 61.7 kB / 0.6654 GB, free: 5.184 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0037/0.7821, allocations: 4.923 MB / 0.6702 GB, free: 224 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001114/0.7832, allocations: 1.074 MB / 0.6713 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002398/0.7856, allocations: 1.798 MB / 0.673 GB, free: 13.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.7857, allocations: 301.1 kB / 0.6733 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004992/0.7907, allocations: 3.262 MB / 0.6765 GB, free: 9.758 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009355/0.8001, allocations: 8.606 MB / 0.6849 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.016/0.8161, allocations: 12.84 MB / 0.6975 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000102/0.8162, allocations: 56 kB / 0.6975 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1158) (initialization): time 0.03131/0.8475, allocations: 14.51 MB / 0.7117 GB, free: 368 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.8476, allocations: 91.12 kB / 0.7118 GB, free: 280 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01717/0.8648, allocations: 6.548 MB / 0.7182 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0141/0.8789, allocations: 3.322 MB / 0.7214 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007081/0.8859, allocations: 2.078 MB / 0.7234 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02355/0.9095, allocations: 17.03 MB / 0.7401 GB, free: 2.328 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006475/0.916, allocations: 0.5229 MB / 0.7406 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009603/0.9169, allocations: 0.5156 MB / 0.7411 GB, free: 1.289 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 859 * Number of states: 0 () * Number of discrete variables: 62 (sensorConstraintRelative.arrow.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (1098): * Single equations (assignments): 1084 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,3,100.0%), (3,3,100.0%), (2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.1909/1.108, allocations: 3.149 MB / 0.7442 GB, free: 183.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009708/1.109, allocations: 0.5312 MB / 0.7447 GB, free: 183.3 MB / 0.545 GB 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 214 equation(s) and 208 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003572/1.112, allocations: 2.481 MB / 0.7471 GB, free: 183.2 MB / 0.545 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode DAEmode: The model Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint could not be translated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.1991873933002353] Failed to read output from testmodel.py, exit status != 0: ['time', 'bodyOfConstraint.body.w_a[1]', 'bodyOfConstraint.body.w_a[2]', 'bodyOfConstraint.body.w_a[3]'] 1.1197319249622524 1.128618402 0.796802364 Calling exit ...