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.0008257/0.0008256, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005776/0.005776, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.555/1.555, allocations: 205.4 MB / 222.4 MB, free: 5.793 MB / 174.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.000468/0.0004681, allocations: 16.42 kB / 279.4 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2528, allocations: 47.59 MB / 327 MB, free: 1.715 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.0785/0.3314, allocations: 83.76 MB / 410.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.05387/0.3853, allocations: 17.27 MB / 428.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01748/0.4029, allocations: 383 kB / 428.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002818/0.4057, allocations: 0.6917 MB / 429.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007121/0.4129, allocations: 2.503 MB / 431.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003939/0.4168, allocations: 1.236 MB / 432.9 MB, free: 9.445 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01534/0.4322, allocations: 10.22 MB / 443.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01605/0.4483, allocations: 11.07 MB / 454.2 MB, free: 4.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004658/0.453, allocations: 1.914 MB / 456.1 MB, free: 2.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2864/0.7395, allocations: 3.082 MB / 459.2 MB, free: 9.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002231/0.7417, allocations: 224.5 kB / 459.4 MB, free: 9.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005738/0.7475, allocations: 1.678 MB / 461.1 MB, free: 9.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004715/0.7523, allocations: 2.928 MB / 464 MB, free: 9.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007661/0.7599, allocations: 3.261 MB / 467.2 MB, free: 9.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01753/0.7775, allocations: 11.47 MB / 478.7 MB, free: 7.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.7776, allocations: 0 / 478.7 MB, free: 7.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.99e-06/0.7776, allocations: 0 / 478.7 MB, free: 7.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007005/0.7783, allocations: 2.719 kB / 478.7 MB, free: 7.641 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.02212/0.8004, allocations: 6.885 MB / 485.6 MB, free: 3.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.8005, allocations: 13.34 kB / 485.6 MB, free: 3.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/0.8124, allocations: 2.397 MB / 488 MB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01117/0.8236, allocations: 4.355 MB / 492.4 MB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004846/0.8241, allocations: 439.9 kB / 492.8 MB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003499/0.8276, allocations: 0.6641 MB / 493.5 MB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0448/0.8725, allocations: 17.27 MB / 0.4988 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002894/0.8728, allocations: 57 kB / 0.4988 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001581/0.8744, allocations: 270 kB / 0.4991 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004742/0.8791, allocations: 2.583 MB / 0.5016 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03443/0.9136, allocations: 14.62 MB / 0.5159 GB, free: 13.83 MB / 414.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.1032/1.017, allocations: 64.06 MB / 0.5784 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02297/1.04, allocations: 7.452 MB / 0.5857 GB, free: 5.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006044/1.046, allocations: 3.807 MB / 0.5894 GB, free: 1.531 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02753/1.074, allocations: 16.61 MB / 0.6057 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.106e-05/1.074, allocations: 63.47 kB / 0.6057 GB, free: 408 kB / 494.1 MB Notification: Performance of pre-optimization done (n=262): time 9.247e-06/1.074, allocations: 0 / 0.6057 GB, free: 408 kB / 494.1 MB Notification: Performance of matching and sorting (n=278): time 0.2968/1.37, allocations: 27.56 MB / 0.6326 GB, free: 217.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001311/1.372, allocations: 1.618 MB / 0.6342 GB, free: 216 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01009/1.382, allocations: 5.886 MB / 0.64 GB, free: 213.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007733/1.383, allocations: 63.83 kB / 0.64 GB, free: 213.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003215/1.386, allocations: 4.851 MB / 0.6448 GB, free: 210.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001556/1.388, allocations: 1.079 MB / 0.6458 GB, free: 209.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00122/1.389, allocations: 0.7718 MB / 0.6466 GB, free: 209 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.57e-05/1.389, allocations: 308.6 kB / 0.6469 GB, free: 208.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004665/1.393, allocations: 3.42 MB / 0.6502 GB, free: 207.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007264/1.401, allocations: 8.868 MB / 0.6589 GB, free: 199.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01302/1.414, allocations: 13.27 MB / 0.6718 GB, free: 187.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001671/1.414, allocations: 56 kB / 0.6719 GB, free: 187.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.03239/1.446, allocations: 14.89 MB / 0.6864 GB, free: 174.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/1.447, allocations: 91.12 kB / 0.6865 GB, free: 174.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01562/1.462, allocations: 6.806 MB / 0.6931 GB, free: 167.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0131/1.475, allocations: 3.223 MB / 0.6963 GB, free: 164.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007535/1.483, allocations: 2.141 MB / 0.6984 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0158/1.499, allocations: 15.82 MB / 0.7138 GB, free: 145.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009012/1.508, allocations: 0.5862 MB / 0.7144 GB, free: 145.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00216/1.51, allocations: 0.5424 MB / 0.7149 GB, free: 144.8 MB / 0.4981 GB 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.007206/1.517, allocations: 3.246 MB / 0.7181 GB, free: 141.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001725/1.519, allocations: 0.5167 MB / 0.7186 GB, free: 141 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01841/1.537, allocations: 6.574 MB / 0.725 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0153/1.553, allocations: 5.663 MB / 0.7306 GB, free: 128.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01422/1.567, allocations: 5.491 MB / 0.7359 GB, free: 123 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.565e-05/1.567, allocations: 15.95 kB / 0.7359 GB, free: 123 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04621/1.613, allocations: 17.47 MB / 0.753 GB, free: 105.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.806e-05/1.613, allocations: 12 kB / 0.753 GB, free: 105.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00332/1.617, allocations: 0.5031 MB / 0.7535 GB, free: 104.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007796/1.625, allocations: 1.843 MB / 0.7553 GB, free: 103 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006226/1.625, allocations: 76.42 kB / 0.7554 GB, free: 102.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0133/1.639, allocations: 9.781 MB / 0.7649 GB, free: 92.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007501/1.639, allocations: 1.475 MB / 0.7664 GB, free: 91.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01558/1.655, allocations: 9.838 MB / 0.776 GB, free: 81.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002201/1.657, allocations: 0.58 MB / 0.7765 GB, free: 80.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001806/1.659, allocations: 59.98 kB / 0.7766 GB, free: 80.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003779/1.663, allocations: 226.6 kB / 0.7768 GB, free: 80.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006786/1.664, allocations: 193.5 kB / 0.777 GB, free: 79.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003713/1.664, allocations: 83.98 kB / 0.7771 GB, free: 79.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.007949/1.672, allocations: 3.664 MB / 0.7807 GB, free: 76.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.072e-06/1.672, allocations: 4 kB / 0.7807 GB, free: 76.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01093/1.683, allocations: 1.719 MB / 0.7823 GB, free: 74.53 MB / 0.4981 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.001514/1.684, allocations: 272.8 kB / 0.7826 GB, free: 74.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01536/1.7, allocations: 9.176 MB / 0.7916 GB, free: 65.01 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.012e-05/1.7, allocations: 4.062 kB / 0.7916 GB, free: 65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00587/1.706, allocations: 3.388 MB / 0.7949 GB, free: 61.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01571/1.722, allocations: 0.8123 MB / 0.7957 GB, free: 60.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03342/1.755, allocations: 18.82 MB / 0.814 GB, free: 41.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008606/1.764, allocations: 4.881 MB / 0.8188 GB, free: 36.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007561/1.771, allocations: 2.907 MB / 0.8216 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001216/1.772, allocations: 379.3 kB / 0.822 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/1.772, allocations: 0 / 0.822 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.3373/2.11, allocations: 62.69 MB / 0.8832 GB, free: 186.9 MB / 0.4981 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)