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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001044/0.001044, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.198/1.198, allocations: 194.5 MB / 211.6 MB, free: 3.047 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001702/0.001702, allocations: 121.3 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002901/0.0002902, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09033/0.09064, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2963/0.387, allocations: 106.4 MB / 461.5 MB, free: 15.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.3873, allocations: 89.61 kB / 461.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4731/0.8604, allocations: 127.5 MB / 0.5752 GB, free: 82.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.8604, allocations: 7.875 kB / 0.5752 GB, free: 82.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003218/0.8608, allocations: 141.3 kB / 0.5753 GB, free: 82.59 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2366 * Number of variables: 2366 Notification: Performance of Generate backend data structure: time 0.02357/0.8843, allocations: 7.486 MB / 0.5827 GB, free: 77.85 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.8844, allocations: 13.97 kB / 0.5827 GB, free: 77.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01361/0.898, allocations: 2.912 MB / 0.5855 GB, free: 76.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01886/0.9169, allocations: 8.182 MB / 0.5935 GB, free: 69.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003478/0.9173, allocations: 0.5172 MB / 0.594 GB, free: 69.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002684/0.92, allocations: 0.6958 MB / 0.5947 GB, free: 68.85 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03174/0.9517, allocations: 17.35 MB / 0.6116 GB, free: 50.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002357/0.952, allocations: 83.23 kB / 0.6117 GB, free: 50.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001048/0.9531, allocations: 333.5 kB / 0.612 GB, free: 49.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001689/0.9547, allocations: 1.484 MB / 0.6135 GB, free: 48.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02577/0.9805, allocations: 14.58 MB / 0.6277 GB, free: 33.79 MB / 394.7 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.2939/1.274, allocations: 74.7 MB / 0.7007 GB, free: 26.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02159/1.296, allocations: 7.259 MB / 0.7077 GB, free: 26.17 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02534/1.322, allocations: 15.71 MB / 0.7231 GB, free: 22.94 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/1.322, allocations: 61.05 kB / 0.7232 GB, free: 22.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=248): time 6.512e-06/1.322, allocations: 0 / 0.7232 GB, free: 22.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=264): time 0.06337/1.385, allocations: 27.96 MB / 0.7505 GB, free: 13.65 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009746/1.386, allocations: 1.61 MB / 0.752 GB, free: 12.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008193/1.394, allocations: 5.202 MB / 0.7571 GB, free: 10.17 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008609/1.395, allocations: 61.78 kB / 0.7572 GB, free: 10.11 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002941/1.398, allocations: 4.848 MB / 0.7619 GB, free: 6.398 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001568/1.4, allocations: 1.038 MB / 0.7629 GB, free: 5.652 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005032/1.4, allocations: 179.5 kB / 0.7631 GB, free: 5.516 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003913/1.401, allocations: 0.6784 MB / 0.7637 GB, free: 5.051 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004665/1.405, allocations: 3.279 MB / 0.7669 GB, free: 3.953 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009282/1.415, allocations: 8.668 MB / 0.7754 GB, free: 11.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009132/1.424, allocations: 5.202 MB / 0.7805 GB, free: 8.746 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002457/1.424, allocations: 56 kB / 0.7805 GB, free: 8.691 MB / 410.7 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.03034/1.454, allocations: 13.64 MB / 0.7939 GB, free: 13.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001688/1.455, allocations: 91.61 kB / 0.794 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0113/1.466, allocations: 5.684 MB / 0.7995 GB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006624/1.473, allocations: 2.101 MB / 0.8016 GB, free: 7.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00745/1.48, allocations: 2.11 MB / 0.8036 GB, free: 5.219 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0162/1.496, allocations: 14.35 MB / 0.8176 GB, free: 7.609 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007836/1.504, allocations: 0.5711 MB / 0.8182 GB, free: 7.141 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001978/1.506, allocations: 0.5344 MB / 0.8187 GB, free: 6.617 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 875 * Number of states: 0 () * Number of discrete variables: 57 (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.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 (1102): * Single equations (assignments): 1088 * Array equations: 6 * 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.008716/1.515, allocations: 3.214 MB / 0.8218 GB, free: 3.484 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001222/1.516, allocations: 0.5128 MB / 0.8223 GB, free: 2.965 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2252/1.741, allocations: 6.427 MB / 0.8286 GB, free: 109.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00941/1.751, allocations: 5.522 MB / 0.834 GB, free: 108.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01255/1.763, allocations: 5.897 MB / 0.8398 GB, free: 108.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.469e-05/1.763, allocations: 12.12 kB / 0.8398 GB, free: 108.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03125/1.795, allocations: 17.11 MB / 0.8565 GB, free: 106.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-05/1.795, allocations: 8.469 kB / 0.8565 GB, free: 106.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002072/1.797, allocations: 0.4883 MB / 0.857 GB, free: 106.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004641/1.801, allocations: 1.802 MB / 0.8587 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000287/1.802, allocations: 66.34 kB / 0.8588 GB, free: 106.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009499/1.811, allocations: 9.962 MB / 0.8685 GB, free: 100.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006949/1.812, allocations: 1.475 MB / 0.87 GB, free: 99 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01335/1.825, allocations: 10.83 MB / 0.8805 GB, free: 93.69 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001864/1.827, allocations: 0.5696 MB / 0.8811 GB, free: 93.57 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005997/1.828, allocations: 59.31 kB / 0.8812 GB, free: 93.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001985/1.83, allocations: 212.8 kB / 0.8814 GB, free: 93.51 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003935/1.83, allocations: 188.5 kB / 0.8815 GB, free: 93.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001907/1.83, allocations: 85.62 kB / 0.8816 GB, free: 93.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005156/1.836, allocations: 3.633 MB / 0.8852 GB, free: 92.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.52e-07/1.836, allocations: 4.156 kB / 0.8852 GB, free: 92.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007669/1.843, allocations: 1.689 MB / 0.8868 GB, free: 92.06 MB / 442.7 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 (221): * Single equations (assignments): 211 * 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.0007941/1.844, allocations: 272.2 kB / 0.8871 GB, free: 91.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01382/1.858, allocations: 8.868 MB / 0.8957 GB, free: 88.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/1.858, allocations: 2.094 kB / 0.8957 GB, free: 88.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004808/1.863, allocations: 3.354 MB / 0.899 GB, free: 87.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003952/1.867, allocations: 0.7662 MB / 0.8998 GB, free: 86.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02518/1.892, allocations: 17.79 MB / 0.9171 GB, free: 72.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00535/1.897, allocations: 4.965 MB / 0.922 GB, free: 69.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007444/1.905, allocations: 2.896 MB / 0.9248 GB, free: 67.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/1.906, allocations: 358.9 kB / 0.9252 GB, free: 67.17 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/1.906, allocations: 4 kB / 0.9252 GB, free: 67.17 MB / 442.7 MB Notification: Performance of Templates: time 0.2606/2.167, allocations: 58.69 MB / 0.9825 GB, free: 106.4 MB / 442.7 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)