Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007606/0.007606, allocations: 101.7 kB / 15.73 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 191.5 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 51.92 kB / 326.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1147, allocations: 46.62 MB / 373.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.2849/0.3997, allocations: 19.46 MB / 392.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01835/0.4181, allocations: 6.279 MB / 398.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008048/0.4262, allocations: 150.4 kB / 399 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01646/0.4427, allocations: 6.053 MB / 405.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01324/0.456, allocations: 2.719 MB / 407.8 MB, free: 8.457 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007893/0.464, allocations: 2.511 MB / 410.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0151/0.4791, allocations: 7.076 MB / 417.4 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01534/0.4945, allocations: 8.1 MB / 425.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00822/0.5027, allocations: 2.832 MB / 428.3 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008375/0.5112, allocations: 3.595 MB / 431.9 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003506/0.5147, allocations: 0.6445 MB / 432.6 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006243/0.521, allocations: 2.005 MB / 434.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005524/0.5265, allocations: 3.488 MB / 438.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007453/0.534, allocations: 3.862 MB / 441.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02086/0.5549, allocations: 12.35 MB / 454.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.555, allocations: 0 / 454.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.555, allocations: 0 / 454.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005275/0.5555, allocations: 0 / 454.3 MB, free: 14.18 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2401 * Number of variables: 2401 Notification: Performance of Generate backend data structure: time 0.02772/0.5832, allocations: 8.436 MB / 462.7 MB, free: 5.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.5833, allocations: 11.97 kB / 462.7 MB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.5935, allocations: 2.343 MB / 465.1 MB, free: 3.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01115/0.6047, allocations: 4.458 MB / 469.5 MB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004799/0.6052, allocations: 435.6 kB / 469.9 MB, free: 14.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003199/0.6085, allocations: 0.6673 MB / 470.6 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03842/0.6469, allocations: 16.93 MB / 487.5 MB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002823/0.6472, allocations: 67.39 kB / 487.6 MB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001356/0.6486, allocations: 263.8 kB / 487.9 MB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003865/0.6525, allocations: 2.584 MB / 490.4 MB, free: 8.895 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03016/0.6827, allocations: 14.56 MB / 0.4932 GB, free: 10.31 MB / 430.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.539/1.222, allocations: 63.77 MB / 0.5555 GB, free: 110.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02132/1.243, allocations: 7.368 MB / 0.5626 GB, free: 110 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005242/1.248, allocations: 3.806 MB / 0.5664 GB, free: 109.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02452/1.273, allocations: 16.62 MB / 0.5826 GB, free: 102.1 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/1.273, allocations: 59.38 kB / 0.5826 GB, free: 102.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 6.252e-06/1.273, allocations: 2.062 kB / 0.5827 GB, free: 102.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=278): time 0.06057/1.334, allocations: 27.59 MB / 0.6096 GB, free: 85.71 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001036/1.335, allocations: 1.698 MB / 0.6113 GB, free: 83.86 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008321/1.343, allocations: 5.874 MB / 0.617 GB, free: 77.96 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007982/1.344, allocations: 61.7 kB / 0.6171 GB, free: 77.89 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002519/1.346, allocations: 4.854 MB / 0.6218 GB, free: 73.04 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00137/1.348, allocations: 1.088 MB / 0.6229 GB, free: 71.96 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002357/1.35, allocations: 1.842 MB / 0.6247 GB, free: 70.11 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.027e-05/1.35, allocations: 305.1 kB / 0.6249 GB, free: 69.81 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003975/1.354, allocations: 3.422 MB / 0.6283 GB, free: 66.39 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006632/1.361, allocations: 8.873 MB / 0.6369 GB, free: 54.93 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01294/1.374, allocations: 13.26 MB / 0.6499 GB, free: 39.23 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001495/1.374, allocations: 56 kB / 0.65 GB, free: 39.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.03014/1.404, allocations: 14.89 MB / 0.6645 GB, free: 24.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/1.404, allocations: 87.94 kB / 0.6646 GB, free: 24.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01487/1.419, allocations: 6.794 MB / 0.6712 GB, free: 17.24 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01175/1.431, allocations: 3.232 MB / 0.6744 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006727/1.438, allocations: 2.14 MB / 0.6765 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01775/1.455, allocations: 17.02 MB / 0.6931 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00917/1.465, allocations: 0.589 MB / 0.6937 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002208/1.467, allocations: 0.5427 MB / 0.6942 GB, free: 8.867 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 875 * Number of states: 0 () * Number of discrete variables: 60 (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 (1128): * Single equations (assignments): 1112 * Array equations: 8 * 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.007218/1.474, allocations: 3.241 MB / 0.6974 GB, free: 5.613 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001542/1.476, allocations: 0.5128 MB / 0.6979 GB, free: 5.094 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/1.49, allocations: 6.576 MB / 0.7043 GB, free: 14.41 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0106/1.5, allocations: 5.662 MB / 0.7098 GB, free: 8.668 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.009776/1.51, allocations: 5.487 MB / 0.7152 GB, free: 3.082 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.29e-05/1.51, allocations: 15.95 kB / 0.7152 GB, free: 3.066 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03664/1.547, allocations: 17.46 MB / 0.7322 GB, free: 1.426 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.017e-05/1.547, allocations: 16 kB / 0.7323 GB, free: 1.41 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00237/1.549, allocations: 0.5077 MB / 0.7328 GB, free: 0.9023 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005472/1.555, allocations: 1.848 MB / 0.7346 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004821/1.555, allocations: 71.97 kB / 0.7346 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0137/1.569, allocations: 10.39 MB / 0.7448 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001199/1.57, allocations: 1.562 MB / 0.7463 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3054/1.876, allocations: 9.837 MB / 0.7559 GB, free: 189.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002517/1.878, allocations: 0.5663 MB / 0.7565 GB, free: 189.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002291/1.881, allocations: 65.56 kB / 0.7565 GB, free: 189.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005283/1.886, allocations: 220 kB / 0.7567 GB, free: 189.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001253/1.887, allocations: 203.4 kB / 0.7569 GB, free: 189.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006725/1.888, allocations: 87.22 kB / 0.757 GB, free: 189.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01044/1.898, allocations: 3.659 MB / 0.7606 GB, free: 187.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.192e-06/1.898, allocations: 1.625 kB / 0.7606 GB, free: 187.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01177/1.91, allocations: 1.719 MB / 0.7623 GB, free: 187.7 MB / 0.5294 GB 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 (233): * Single equations (assignments): 223 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (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): 2 systems {(3,3,100.0%), (3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001447/1.912, allocations: 280.2 kB / 0.7625 GB, free: 187.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01841/1.93, allocations: 9.231 MB / 0.7715 GB, free: 184 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.15e-05/1.93, allocations: 2.75 kB / 0.7715 GB, free: 184 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005702/1.936, allocations: 3.4 MB / 0.7749 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006708/1.943, allocations: 0.8584 MB / 0.7757 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02503/1.968, allocations: 15.28 MB / 0.7906 GB, free: 175.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005512/1.973, allocations: 4.866 MB / 0.7954 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005945/1.979, allocations: 2.911 MB / 0.7982 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009707/1.98, allocations: 373.5 kB / 0.7986 GB, free: 171.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.533e-06/1.98, allocations: 4 kB / 0.7986 GB, free: 171.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.09274/2.073, allocations: 61.06 MB / 0.8582 GB, free: 111.8 MB / 0.5294 GB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe 2>&1)