Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002208/0.002208, allocations: 215.5 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 7.785 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 51.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2345, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.02008/0.2546, allocations: 15.95 MB / 448.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01234/0.2669, allocations: 5.945 MB / 454.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002581/0.2695, allocations: 171.1 kB / 454.4 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01145/0.281, allocations: 5.842 MB / 460.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006159/0.2871, allocations: 2.618 MB / 462.9 MB, free: 8.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005077/0.2922, allocations: 2.456 MB / 465.3 MB, free: 5.629 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009259/0.3014, allocations: 7.119 MB / 472.4 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007729/0.3092, allocations: 5.761 MB / 478.2 MB, free: 8.637 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004261/0.3134, allocations: 2.801 MB / 481 MB, free: 5.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005127/0.3186, allocations: 3.758 MB / 484.8 MB, free: 2.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001149/0.3197, allocations: 0.625 MB / 485.4 MB, free: 1.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003452/0.3232, allocations: 1.919 MB / 487.3 MB, free: 15.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003334/0.3265, allocations: 3.444 MB / 490.8 MB, free: 12.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003035/0.3295, allocations: 2.828 MB / 493.6 MB, free: 9.215 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.013/0.3425, allocations: 12.07 MB / 0.4938 GB, free: 13.1 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3425, allocations: 0 / 0.4938 GB, free: 13.1 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3425, allocations: 0 / 0.4938 GB, free: 13.1 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001964/0.3427, allocations: 0 / 0.4938 GB, free: 13.1 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.01753/0.3603, allocations: 8.445 MB / 0.502 GB, free: 4.578 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.3603, allocations: 8.031 kB / 0.5021 GB, free: 4.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008511/0.3688, allocations: 2.41 MB / 0.5044 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009109/0.3779, allocations: 4.153 MB / 0.5085 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003398/0.3783, allocations: 439.2 kB / 0.5089 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001384/0.3797, allocations: 0.6518 MB / 0.5095 GB, free: 12.83 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02976/0.4094, allocations: 16.51 MB / 0.5256 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000177/0.4096, allocations: 63.5 kB / 0.5257 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007002/0.4103, allocations: 255.8 kB / 0.526 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003691/0.414, allocations: 2.463 MB / 0.5284 GB, free: 8.598 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3373/0.7513, allocations: 14.13 MB / 0.5421 GB, free: 91.97 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.05318/0.8045, allocations: 57.79 MB / 0.5986 GB, free: 41.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01827/0.8228, allocations: 6.621 MB / 0.6051 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003187/0.826, allocations: 3.543 MB / 0.6085 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01932/0.8453, allocations: 13.65 MB / 0.6218 GB, free: 17.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.8453, allocations: 64.5 kB / 0.6219 GB, free: 17.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=253): time 5.41e-06/0.8453, allocations: 0 / 0.6219 GB, free: 17.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=263): time 0.05815/0.9035, allocations: 26.21 MB / 0.6475 GB, free: 7.406 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.9036, allocations: 158.5 kB / 0.6477 GB, free: 7.219 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007294/0.9109, allocations: 5.613 MB / 0.6531 GB, free: 1.754 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002474/0.9111, allocations: 65.7 kB / 0.6532 GB, free: 1.684 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003772/0.9149, allocations: 4.949 MB / 0.658 GB, free: 12.69 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001084/0.916, allocations: 1.07 MB / 0.6591 GB, free: 11.61 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002547/0.9185, allocations: 1.802 MB / 0.6608 GB, free: 9.797 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.9186, allocations: 301.1 kB / 0.6611 GB, free: 9.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004999/0.9236, allocations: 3.265 MB / 0.6643 GB, free: 6.227 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009642/0.9333, allocations: 8.598 MB / 0.6727 GB, free: 10.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01625/0.9495, allocations: 12.85 MB / 0.6853 GB, free: 11.49 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001095/0.9496, allocations: 52 kB / 0.6853 GB, free: 11.44 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1158) (initialization): time 0.03047/0.9801, allocations: 14.27 MB / 0.6992 GB, free: 13.14 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.9802, allocations: 88 kB / 0.6993 GB, free: 13.05 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01684/0.9971, allocations: 6.318 MB / 0.7055 GB, free: 6.707 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0139/1.011, allocations: 3.314 MB / 0.7087 GB, free: 3.363 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00664/1.018, allocations: 2.078 MB / 0.7108 GB, free: 1.281 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02208/1.04, allocations: 16.16 MB / 0.7265 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005668/1.045, allocations: 0.5267 MB / 0.7271 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007243/1.046, allocations: 0.5195 MB / 0.7276 GB, free: 15.45 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.004692/1.051, allocations: 3.164 MB / 0.7307 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007865/1.052, allocations: 0.4928 MB / 0.7311 GB, free: 11.77 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.004094/1.056, allocations: 2.438 MB / 0.7335 GB, free: 9.32 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.339885735003918] 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.0652751500019804 1.216837892 0.871842734 Calling exit ...