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.0009427/0.0009427, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.00105/0.00105, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.4 MB / 222.1 MB, free: 5.484 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.0004542/0.0004542, allocations: 12 kB / 278.9 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2977, allocations: 47.58 MB / 326.5 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.07067/0.3684, allocations: 77.85 MB / 404.3 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.04003/0.4085, allocations: 16.53 MB / 420.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01917/0.4277, allocations: 387 kB / 421.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0125/0.4402, allocations: 3.643 MB / 424.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03227/0.4725, allocations: 10.58 MB / 435.5 MB, free: 6.191 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005709/0.4783, allocations: 1.115 MB / 436.6 MB, free: 5.074 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01208/0.4904, allocations: 8.122 MB / 444.7 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01758/0.508, allocations: 9.529 MB / 454.2 MB, free: 3.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005225/0.5132, allocations: 2.082 MB / 456.3 MB, free: 1.219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2893/0.8025, allocations: 3.037 MB / 459.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00152/0.8041, allocations: 223.7 kB / 459.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004791/0.8089, allocations: 1.427 MB / 461 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004825/0.8137, allocations: 2.872 MB / 463.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002928/0.8167, allocations: 1.364 MB / 465.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01369/0.8304, allocations: 9.596 MB / 474.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.8304, allocations: 3.188 kB / 474.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.8304, allocations: 0 / 474.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006785/0.8311, allocations: 0 / 474.8 MB, free: 10.29 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.02228/0.8534, allocations: 6.973 MB / 481.8 MB, free: 7.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.8535, allocations: 8.781 kB / 481.8 MB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/0.8635, allocations: 2.399 MB / 484.2 MB, free: 7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/0.8736, allocations: 4.277 MB / 488.5 MB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003635/0.874, allocations: 437.4 kB / 488.9 MB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003475/0.8775, allocations: 0.6623 MB / 489.6 MB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04091/0.9184, allocations: 16.94 MB / 0.4946 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002771/0.9188, allocations: 61.47 kB / 0.4947 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009362/0.9197, allocations: 266.8 kB / 0.495 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003553/0.9233, allocations: 2.586 MB / 0.4975 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03198/0.9553, allocations: 14.55 MB / 0.5117 GB, free: 7.078 MB / 398.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.1022/1.058, allocations: 64.02 MB / 0.5742 GB, free: 2.367 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02103/1.079, allocations: 7.449 MB / 0.5815 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005781/1.084, allocations: 3.793 MB / 0.5852 GB, free: 9.891 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02545/1.11, allocations: 16.62 MB / 0.6014 GB, free: 8.855 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.991e-05/1.11, allocations: 63.55 kB / 0.6015 GB, free: 8.785 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 5.44e-06/1.11, allocations: 0 / 0.6015 GB, free: 8.785 MB / 478.1 MB Notification: Performance of matching and sorting (n=278): time 0.3799/1.49, allocations: 27.54 MB / 0.6284 GB, free: 118 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001218/1.491, allocations: 1.607 MB / 0.6299 GB, free: 116.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01031/1.501, allocations: 5.848 MB / 0.6357 GB, free: 116.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009253/1.502, allocations: 64.91 kB / 0.6357 GB, free: 116.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003587/1.506, allocations: 4.853 MB / 0.6405 GB, free: 114 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001754/1.508, allocations: 1.085 MB / 0.6415 GB, free: 113.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005017/1.508, allocations: 178.1 kB / 0.6417 GB, free: 113.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004452/1.509, allocations: 0.6973 MB / 0.6424 GB, free: 113 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004939/1.514, allocations: 3.384 MB / 0.6457 GB, free: 113 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007256/1.521, allocations: 8.831 MB / 0.6543 GB, free: 106 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007812/1.529, allocations: 5.326 MB / 0.6595 GB, free: 105.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001739/1.529, allocations: 54.75 kB / 0.6595 GB, free: 105.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.03267/1.562, allocations: 14.82 MB / 0.674 GB, free: 104.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001815/1.562, allocations: 87.84 kB / 0.6741 GB, free: 104.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01656/1.578, allocations: 6.783 MB / 0.6807 GB, free: 102.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01234/1.591, allocations: 3.251 MB / 0.6839 GB, free: 100 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007941/1.599, allocations: 2.142 MB / 0.686 GB, free: 98.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01722/1.616, allocations: 15.8 MB / 0.7014 GB, free: 84.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01026/1.626, allocations: 0.5865 MB / 0.702 GB, free: 83.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002306/1.629, allocations: 0.5416 MB / 0.7025 GB, free: 83.27 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 (linear and non-linear blocks): 3 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,100.0%) 3,(3,100.0%) 3,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009357/1.638, allocations: 3.248 MB / 0.7057 GB, free: 81.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001878/1.64, allocations: 0.5128 MB / 0.7062 GB, free: 80.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/1.653, allocations: 6.563 MB / 0.7126 GB, free: 76.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009588/1.663, allocations: 5.652 MB / 0.7181 GB, free: 71.81 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.008826/1.672, allocations: 5.477 MB / 0.7235 GB, free: 67.74 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.825e-05/1.672, allocations: 15.91 kB / 0.7235 GB, free: 67.72 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03744/1.709, allocations: 17.45 MB / 0.7405 GB, free: 54.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.058e-05/1.709, allocations: 12 kB / 0.7405 GB, free: 54.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002353/1.712, allocations: 0.5061 MB / 0.741 GB, free: 53.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0046/1.716, allocations: 1.856 MB / 0.7428 GB, free: 52.05 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004942/1.717, allocations: 67.97 kB / 0.7429 GB, free: 51.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009597/1.726, allocations: 9.769 MB / 0.7525 GB, free: 41.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007541/1.727, allocations: 1.462 MB / 0.7539 GB, free: 40.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01409/1.741, allocations: 9.815 MB / 0.7635 GB, free: 30.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00208/1.743, allocations: 0.5722 MB / 0.764 GB, free: 29.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008545/1.744, allocations: 63.98 kB / 0.7641 GB, free: 29.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002355/1.747, allocations: 228.8 kB / 0.7643 GB, free: 29.37 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004252/1.747, allocations: 189.5 kB / 0.7645 GB, free: 29.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001939/1.747, allocations: 95.56 kB / 0.7646 GB, free: 29.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005589/1.753, allocations: 3.625 MB / 0.7681 GB, free: 25.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/1.753, allocations: 0 / 0.7681 GB, free: 25.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00986/1.763, allocations: 1.72 MB / 0.7698 GB, free: 23.77 MB / 494.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 (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 3,(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001015/1.764, allocations: 275.6 kB / 0.7701 GB, free: 23.54 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01521/1.779, allocations: 9.129 MB / 0.779 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.411e-05/1.779, allocations: 5.672 kB / 0.779 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005408/1.785, allocations: 3.385 MB / 0.7823 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005709/1.79, allocations: 0.8116 MB / 0.7831 GB, free: 10.63 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03409/1.824, allocations: 18.07 MB / 0.8007 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2145/2.039, allocations: 4.869 MB / 0.8055 GB, free: 209.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.009396/2.048, allocations: 2.915 MB / 0.8083 GB, free: 209.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/2.05, allocations: 375.7 kB / 0.8087 GB, free: 209.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/2.05, allocations: 2.188 kB / 0.8087 GB, free: 209.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.1058/2.156, allocations: 61.43 MB / 0.8687 GB, free: 166.1 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)