Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001168/0.001168, allocations: 107.8 kB / 16.92 MB, free: 6.145 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.0014/0.0014, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.522/1.522, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001373/0.001373, allocations: 51.92 kB / 280 MB, free: 3.156 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09372/0.0951, allocations: 46.62 MB / 326.6 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.02175/0.1169, allocations: 19.46 MB / 346.1 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01456/0.1315, allocations: 6.281 MB / 352.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004443/0.136, allocations: 143.6 kB / 352.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0113/0.1474, allocations: 6.051 MB / 358.6 MB, free: 4.395 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00836/0.1557, allocations: 2.649 MB / 361.2 MB, free: 1.734 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006063/0.1618, allocations: 2.51 MB / 363.7 MB, free: 15.22 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01019/0.172, allocations: 7.074 MB / 370.8 MB, free: 8.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2426/0.4147, allocations: 8.116 MB / 378.9 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007683/0.4225, allocations: 2.829 MB / 381.7 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009222/0.4317, allocations: 3.591 MB / 385.3 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004857/0.4366, allocations: 0.6426 MB / 386 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009052/0.4457, allocations: 1.998 MB / 388 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008254/0.454, allocations: 3.432 MB / 391.4 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01097/0.4651, allocations: 3.863 MB / 395.3 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01782/0.4829, allocations: 12.03 MB / 407.3 MB, free: 9.094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.483, allocations: 0 / 407.3 MB, free: 9.094 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.483, allocations: 0.5 kB / 407.3 MB, free: 9.094 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0006117/0.4836, allocations: 7.281 kB / 407.3 MB, free: 9.09 MB / 318.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.02989/0.5135, allocations: 8.427 MB / 415.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.666e-05/0.5136, allocations: 9 kB / 415.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/0.5244, allocations: 2.352 MB / 418.1 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01116/0.5356, allocations: 4.36 MB / 422.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005375/0.5362, allocations: 436.3 kB / 422.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003667/0.5399, allocations: 0.6643 MB / 423.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04595/0.5859, allocations: 16.93 MB / 440.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004454/0.5864, allocations: 58.44 kB / 440.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003696/0.5901, allocations: 271.6 kB / 440.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004781/0.5949, allocations: 2.583 MB / 443.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03702/0.632, allocations: 14.56 MB / 457.9 MB, free: 12.12 MB / 366.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.1001/0.7321, allocations: 64.09 MB / 0.5098 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02269/0.7548, allocations: 7.377 MB / 0.517 GB, free: 3.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006282/0.7611, allocations: 3.799 MB / 0.5207 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.254/1.015, allocations: 16.62 MB / 0.5369 GB, free: 155.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.394e-05/1.015, allocations: 60.42 kB / 0.537 GB, free: 155.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=262): time 7.114e-06/1.015, allocations: 0 / 0.537 GB, free: 155.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=278): time 0.08217/1.097, allocations: 27.59 MB / 0.5639 GB, free: 147.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001233/1.099, allocations: 1.704 MB / 0.5656 GB, free: 145.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01128/1.11, allocations: 5.88 MB / 0.5713 GB, free: 143.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007137/1.111, allocations: 64.33 kB / 0.5714 GB, free: 143.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003213/1.114, allocations: 4.857 MB / 0.5762 GB, free: 139.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001845/1.116, allocations: 1.089 MB / 0.5772 GB, free: 139 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004727/1.121, allocations: 1.832 MB / 0.579 GB, free: 137.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.739e-05/1.121, allocations: 308.3 kB / 0.5793 GB, free: 137 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005031/1.126, allocations: 3.419 MB / 0.5826 GB, free: 134.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007751/1.133, allocations: 8.863 MB / 0.5913 GB, free: 123.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01366/1.147, allocations: 13.28 MB / 0.6043 GB, free: 107.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001896/1.147, allocations: 56 kB / 0.6043 GB, free: 107.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.03302/1.18, allocations: 14.89 MB / 0.6189 GB, free: 92.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002614/1.181, allocations: 88 kB / 0.6189 GB, free: 92.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0174/1.198, allocations: 6.807 MB / 0.6256 GB, free: 85.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01308/1.211, allocations: 3.225 MB / 0.6287 GB, free: 82.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00752/1.219, allocations: 2.14 MB / 0.6308 GB, free: 80.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01717/1.236, allocations: 17.03 MB / 0.6475 GB, free: 62.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01138/1.247, allocations: 0.5812 MB / 0.648 GB, free: 61.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00303/1.251, allocations: 0.5461 MB / 0.6486 GB, free: 61.02 MB / 446.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.00878/1.259, allocations: 3.242 MB / 0.6517 GB, free: 57.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001984/1.261, allocations: 0.5168 MB / 0.6522 GB, free: 57.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01382/1.275, allocations: 6.574 MB / 0.6586 GB, free: 50.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01071/1.286, allocations: 5.664 MB / 0.6642 GB, free: 44.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01034/1.296, allocations: 5.499 MB / 0.6696 GB, free: 39.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.416e-05/1.296, allocations: 11.95 kB / 0.6696 GB, free: 39.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04132/1.338, allocations: 17.49 MB / 0.6866 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.907e-05/1.338, allocations: 12.22 kB / 0.6867 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002819/1.341, allocations: 0.5031 MB / 0.6871 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005692/1.346, allocations: 1.854 MB / 0.689 GB, free: 19.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008743/1.347, allocations: 75.97 kB / 0.689 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2777/1.625, allocations: 10.39 MB / 0.6992 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009206/1.626, allocations: 1.553 MB / 0.7007 GB, free: 136.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01873/1.645, allocations: 9.828 MB / 0.7103 GB, free: 134 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002115/1.647, allocations: 0.5711 MB / 0.7108 GB, free: 133.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001701/1.649, allocations: 64.22 kB / 0.7109 GB, free: 133.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003584/1.652, allocations: 220.1 kB / 0.7111 GB, free: 133.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007252/1.653, allocations: 196.7 kB / 0.7113 GB, free: 133.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002294/1.653, allocations: 90.56 kB / 0.7114 GB, free: 133.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007745/1.661, allocations: 3.662 MB / 0.715 GB, free: 132.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.11e-07/1.661, allocations: 0 / 0.715 GB, free: 132.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01288/1.674, allocations: 1.722 MB / 0.7166 GB, free: 132.3 MB / 446.1 MB 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.001616/1.676, allocations: 280.7 kB / 0.7169 GB, free: 132.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02103/1.697, allocations: 11.59 MB / 0.7282 GB, free: 128.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-05/1.697, allocations: 0 / 0.7282 GB, free: 128.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006948/1.704, allocations: 3.393 MB / 0.7315 GB, free: 127 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008801/1.713, allocations: 0.8803 MB / 0.7324 GB, free: 126.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03145/1.744, allocations: 15.45 MB / 0.7475 GB, free: 113.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009995/1.754, allocations: 4.877 MB / 0.7523 GB, free: 109.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007497/1.762, allocations: 2.914 MB / 0.7551 GB, free: 108 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/1.763, allocations: 366.7 kB / 0.7554 GB, free: 107.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.953e-06/1.763, allocations: 0 / 0.7554 GB, free: 107.7 MB / 446.1 MB Notification: Performance of Templates: time 0.1047/1.868, allocations: 65.78 MB / 0.8197 GB, free: 42.63 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe 2>&1)