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.001512/0.001512, allocations: 185.2 kB / 8.359 MB, free: 0.6953 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.307/1.307, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001713/0.001713, allocations: 113.2 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.507e-05/1.506e-05, allocations: 4 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08378/0.08381, allocations: 44.49 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3394/0.4233, allocations: 105.6 MB / 448.2 MB, free: 6.582 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.4236, allocations: 86.7 kB / 448.3 MB, free: 6.539 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5094/0.933, allocations: 124.5 MB / 0.5594 GB, free: 71.67 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.9331, allocations: 7.875 kB / 0.5594 GB, free: 71.67 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.000532/0.9336, allocations: 135.3 kB / 0.5595 GB, free: 71.66 MB / 395.1 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.02758/0.9612, allocations: 7.057 MB / 0.5664 GB, free: 69.09 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.9613, allocations: 10.55 kB / 0.5664 GB, free: 69.09 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01402/0.9753, allocations: 2.906 MB / 0.5693 GB, free: 68.62 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01996/0.9953, allocations: 8.138 MB / 0.5772 GB, free: 66.59 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004791/0.9958, allocations: 230 kB / 0.5774 GB, free: 66.59 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003975/0.9998, allocations: 417.8 kB / 0.5778 GB, free: 66.58 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01962/1.019, allocations: 10.03 MB / 0.5876 GB, free: 62.97 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03567/1.055, allocations: 14.69 MB / 0.602 GB, free: 55.2 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000651/1.056, allocations: 85.25 kB / 0.6021 GB, free: 55.16 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003141/1.059, allocations: 40.62 kB / 0.6021 GB, free: 55.16 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002428/1.061, allocations: 1.496 MB / 0.6036 GB, free: 54.88 MB / 395.1 MB Warning: The model contains alias variables with conflicting start and/or 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.3647/1.426, allocations: 74.08 MB / 0.6759 GB, free: 42.77 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005692/1.432, allocations: 4.464 MB / 0.6803 GB, free: 42.11 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003723/1.436, allocations: 3.257 MB / 0.6834 GB, free: 42.07 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008435/1.437, allocations: 0.6888 MB / 0.6841 GB, free: 41.5 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/1.437, allocations: 57.34 kB / 0.6842 GB, free: 41.46 MB / 411.1 MB Notification: Performance of pre-optimization done (n=259): time 6.502e-06/1.437, allocations: 3.875 kB / 0.6842 GB, free: 41.46 MB / 411.1 MB Notification: Performance of matching and sorting (n=278): time 0.05286/1.49, allocations: 23.59 MB / 0.7072 GB, free: 37.05 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.09e-05/1.49, allocations: 155.5 kB / 0.7074 GB, free: 36.89 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009196/1.499, allocations: 4.601 MB / 0.7119 GB, free: 35.51 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008203/1.5, allocations: 25.7 kB / 0.7119 GB, free: 35.48 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003766/1.503, allocations: 4.877 MB / 0.7166 GB, free: 31.75 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001875/1.505, allocations: 1.054 MB / 0.7177 GB, free: 30.98 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004976/1.506, allocations: 0 / 0.7177 GB, free: 30.98 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0006436/1.507, allocations: 0.6933 MB / 0.7184 GB, free: 30.51 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003988/1.511, allocations: 3.176 MB / 0.7215 GB, free: 29.36 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006453/1.517, allocations: 8.659 MB / 0.7299 GB, free: 20.79 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007247/1.524, allocations: 5.164 MB / 0.735 GB, free: 19.23 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001282/1.524, allocations: 60.66 kB / 0.735 GB, free: 19.23 MB / 411.1 MB Notification: Performance of matching and sorting (n=1194) (initialization): time 0.02423/1.549, allocations: 12.62 MB / 0.7473 GB, free: 15.12 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000298/1.549, allocations: 89.88 kB / 0.7474 GB, free: 15.12 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01212/1.561, allocations: 5.697 MB / 0.753 GB, free: 13.21 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006457/1.568, allocations: 2.138 MB / 0.7551 GB, free: 12.85 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007996/1.576, allocations: 2.176 MB / 0.7572 GB, free: 12.59 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01512/1.591, allocations: 13.78 MB / 0.7707 GB, free: 2.82 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009576/1.6, allocations: 422.9 kB / 0.7711 GB, free: 2.512 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002451/1.603, allocations: 0.5473 MB / 0.7716 GB, free: 1.977 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 899 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1126 * 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.00371/1.607, allocations: 0.6076 MB / 0.7722 GB, free: 1.375 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00202/1.609, allocations: 0.4898 MB / 0.7727 GB, free: 0.8789 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02101/1.63, allocations: 6.814 MB / 0.7793 GB, free: 12.94 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01194/1.642, allocations: 5.521 MB / 0.7847 GB, free: 8.43 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01083/1.653, allocations: 5.375 MB / 0.79 GB, free: 4.031 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.418e-05/1.653, allocations: 13.08 kB / 0.79 GB, free: 4.031 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04768/1.7, allocations: 16.65 MB / 0.8062 GB, free: 8.039 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.112e-05/1.701, allocations: 12 kB / 0.8062 GB, free: 8.027 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002914/1.703, allocations: 0.5149 MB / 0.8067 GB, free: 7.625 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005737/1.709, allocations: 1.792 MB / 0.8085 GB, free: 5.93 MB / 443.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000601/1.71, allocations: 31.97 kB / 0.8085 GB, free: 5.898 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0126/1.722, allocations: 9.444 MB / 0.8177 GB, free: 12.12 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001125/1.724, allocations: 1.396 MB / 0.8191 GB, free: 10.61 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2907/2.014, allocations: 11.07 MB / 0.8299 GB, free: 112.8 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001987/2.016, allocations: 0.538 MB / 0.8304 GB, free: 112.7 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001116/2.018, allocations: 28.48 kB / 0.8305 GB, free: 112.7 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002512/2.02, allocations: 175 kB / 0.8306 GB, free: 112.7 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000446/2.021, allocations: 201.7 kB / 0.8308 GB, free: 112.7 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002209/2.021, allocations: 94.64 kB / 0.8309 GB, free: 112.7 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.005113/2.026, allocations: 3.083 MB / 0.8339 GB, free: 112.5 MB / 459.1 MB Notification: Performance of sort global known variables: time 2e-07/2.026, allocations: 0 / 0.8339 GB, free: 112.5 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.01153/2.037, allocations: 1.515 MB / 0.8354 GB, free: 112.5 MB / 459.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (235): * Single equations (assignments): 225 * 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.0009216/2.038, allocations: 239.3 kB / 0.8356 GB, free: 112.5 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.01405/2.052, allocations: 8.515 MB / 0.844 GB, free: 111.6 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 1.62e-05/2.052, allocations: 0 / 0.844 GB, free: 111.6 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005564/2.058, allocations: 3.315 MB / 0.8472 GB, free: 110.9 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004578/2.063, allocations: 0.6623 MB / 0.8478 GB, free: 110.9 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02992/2.093, allocations: 12.49 MB / 0.86 GB, free: 108.1 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007723/2.1, allocations: 4.974 MB / 0.8649 GB, free: 107.3 MB / 459.1 MB Notification: Performance of simCode: alias equations: time 0.009302/2.11, allocations: 2.996 MB / 0.8678 GB, free: 107.2 MB / 459.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/2.111, allocations: 358.2 kB / 0.8682 GB, free: 107.2 MB / 459.1 MB Notification: Performance of SimCode: time 8.41e-07/2.111, allocations: 2.906 kB / 0.8682 GB, free: 107.2 MB / 459.1 MB Notification: Performance of Templates: time 0.09765/2.209, allocations: 53.32 MB / 0.9202 GB, free: 95.5 MB / 459.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)