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.000897/0.000897, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009011/0.0009012, allocations: 177.3 kB / 15.94 MB, free: 228 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.449/1.449, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.0004843/0.0004843, allocations: 8 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2261, allocations: 47.58 MB / 326.4 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.06185/0.288, allocations: 73.49 MB / 399.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03816/0.3262, allocations: 17.28 MB / 417.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01749/0.3438, allocations: 383 kB / 417.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01406/0.3579, allocations: 3.713 MB / 421.3 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03064/0.3886, allocations: 10.31 MB / 431.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005891/0.3945, allocations: 1.221 MB / 432.8 MB, free: 8.859 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007892/0.4024, allocations: 3.898 MB / 436.7 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0136/0.4161, allocations: 9.463 MB / 446.2 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00328/0.4194, allocations: 1.666 MB / 447.9 MB, free: 9.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003052/0.4225, allocations: 2.032 MB / 449.9 MB, free: 7.688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008634/0.4234, allocations: 224 kB / 450.1 MB, free: 7.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002757/0.4261, allocations: 1.393 MB / 451.5 MB, free: 6.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002582/0.4287, allocations: 2.665 MB / 454.2 MB, free: 3.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001528/0.4303, allocations: 1.365 MB / 455.5 MB, free: 2.027 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2175/0.6478, allocations: 9.628 MB / 465.2 MB, free: 13.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.6479, allocations: 0 / 465.2 MB, free: 13.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.6479, allocations: 0 / 465.2 MB, free: 13.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008656/0.6487, allocations: 0 / 465.2 MB, free: 13.65 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.02622/0.675, allocations: 7.28 MB / 472.4 MB, free: 10.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.675, allocations: 7.688 kB / 472.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01131/0.6863, allocations: 2.728 MB / 475.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01144/0.6978, allocations: 4.816 MB / 480 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003736/0.6982, allocations: 432.7 kB / 480.4 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003819/0.702, allocations: 0.6712 MB / 481.1 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04257/0.7446, allocations: 17.16 MB / 498.3 MB, free: 4.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003189/0.745, allocations: 61.62 kB / 498.3 MB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002273/0.7473, allocations: 269.2 kB / 498.6 MB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003798/0.7511, allocations: 2.585 MB / 0.4894 GB, free: 4.324 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03383/0.7849, allocations: 14.82 MB / 0.5039 GB, free: 13.95 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.09532/0.8803, allocations: 64.32 MB / 0.5667 GB, free: 9.031 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02214/0.9025, allocations: 7.557 MB / 0.5741 GB, free: 2.871 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03317/0.9357, allocations: 16.78 MB / 0.5905 GB, free: 6.18 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.151e-05/0.9358, allocations: 61.06 kB / 0.5905 GB, free: 6.129 MB / 462.1 MB Notification: Performance of pre-optimization done (n=262): time 5.931e-06/0.9359, allocations: 0 / 0.5905 GB, free: 6.129 MB / 462.1 MB Notification: Performance of matching and sorting (n=278): time 0.08092/1.017, allocations: 28.25 MB / 0.6181 GB, free: 10.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001271/1.018, allocations: 1.622 MB / 0.6197 GB, free: 9.039 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009966/1.028, allocations: 6.234 MB / 0.6258 GB, free: 2.793 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009179/1.029, allocations: 69.89 kB / 0.6258 GB, free: 2.719 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1942/1.223, allocations: 4.856 MB / 0.6306 GB, free: 205.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001647/1.225, allocations: 1.081 MB / 0.6316 GB, free: 205.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008223/1.226, allocations: 179.1 kB / 0.6318 GB, free: 205.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0005459/1.226, allocations: 0.694 MB / 0.6325 GB, free: 204.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005314/1.232, allocations: 3.382 MB / 0.6358 GB, free: 204.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007455/1.239, allocations: 8.784 MB / 0.6444 GB, free: 195.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007638/1.247, allocations: 5.31 MB / 0.6495 GB, free: 193.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001418/1.247, allocations: 53.88 kB / 0.6496 GB, free: 193.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.03286/1.28, allocations: 14.79 MB / 0.664 GB, free: 186.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/1.28, allocations: 88 kB / 0.6641 GB, free: 186.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01694/1.297, allocations: 6.788 MB / 0.6708 GB, free: 181.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01255/1.31, allocations: 3.265 MB / 0.6739 GB, free: 179.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007494/1.317, allocations: 2.119 MB / 0.676 GB, free: 177.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01642/1.334, allocations: 16.3 MB / 0.6919 GB, free: 160.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009192/1.343, allocations: 0.5749 MB / 0.6925 GB, free: 159.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002223/1.345, allocations: 0.5466 MB / 0.693 GB, free: 159.2 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 (1116): * Single equations (assignments): 1100 * 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.009646/1.355, allocations: 3.243 MB / 0.6962 GB, free: 156 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001699/1.356, allocations: 0.5206 MB / 0.6967 GB, free: 155.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/1.368, allocations: 6.569 MB / 0.7031 GB, free: 148.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009971/1.378, allocations: 5.642 MB / 0.7086 GB, free: 143 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.008842/1.387, allocations: 5.484 MB / 0.714 GB, free: 137.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.482e-05/1.387, allocations: 15.94 kB / 0.714 GB, free: 137.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0313/1.419, allocations: 17.5 MB / 0.7311 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.401e-05/1.419, allocations: 19.89 kB / 0.7311 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002287/1.421, allocations: 0.5068 MB / 0.7316 GB, free: 119.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005073/1.426, allocations: 1.839 MB / 0.7334 GB, free: 117.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007379/1.427, allocations: 78.97 kB / 0.7335 GB, free: 117.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01009/1.437, allocations: 9.979 MB / 0.7432 GB, free: 106.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007548/1.438, allocations: 1.479 MB / 0.7447 GB, free: 105.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01603/1.454, allocations: 11.32 MB / 0.7557 GB, free: 93.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002083/1.456, allocations: 0.5955 MB / 0.7563 GB, free: 92.78 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001799/1.458, allocations: 63.98 kB / 0.7564 GB, free: 92.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003619/1.461, allocations: 222.1 kB / 0.7566 GB, free: 92.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006301/1.462, allocations: 201.5 kB / 0.7568 GB, free: 92.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003471/1.462, allocations: 83.98 kB / 0.7568 GB, free: 92.22 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007904/1.47, allocations: 3.934 MB / 0.7607 GB, free: 88.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/1.47, allocations: 0 / 0.7607 GB, free: 88.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01159/1.482, allocations: 1.736 MB / 0.7624 GB, free: 86.57 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.001432/1.483, allocations: 280.1 kB / 0.7626 GB, free: 86.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01609/1.499, allocations: 9.082 MB / 0.7715 GB, free: 77.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/1.5, allocations: 0 / 0.7715 GB, free: 77.14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005895/1.505, allocations: 3.388 MB / 0.7748 GB, free: 73.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007051/1.513, allocations: 0.7851 MB / 0.7756 GB, free: 72.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03177/1.544, allocations: 17.99 MB / 0.7932 GB, free: 54.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007899/1.552, allocations: 5.012 MB / 0.7981 GB, free: 49.68 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.008364/1.561, allocations: 2.918 MB / 0.8009 GB, free: 46.76 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001639/1.562, allocations: 382.3 kB / 0.8013 GB, free: 46.39 MB / 494.1 MB Notification: Performance of SimCode: time 1.002e-06/1.562, allocations: 0 / 0.8013 GB, free: 46.39 MB / 494.1 MB Notification: Performance of Templates: time 0.316/1.878, allocations: 62.24 MB / 0.862 GB, free: 183.8 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: