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.008753/0.008759, allocations: 105.2 kB / 15.74 MB, free: 6.035 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.001938/0.001938, allocations: 200.3 kB / 16.68 MB, free: 5.953 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.621/1.621, allocations: 205.1 MB / 222.6 MB, free: 4.535 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.001211/0.001211, allocations: 57.81 kB / 326.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1084, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.02177/0.1302, allocations: 19.45 MB / 392.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01714/0.1474, allocations: 6.277 MB / 398.9 MB, free: 7.473 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005331/0.1528, allocations: 147.5 kB / 399 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01267/0.1655, allocations: 6.063 MB / 405.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01065/0.1762, allocations: 2.712 MB / 407.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006952/0.1832, allocations: 2.514 MB / 410.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0127/0.1959, allocations: 7.074 MB / 417.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01383/0.2098, allocations: 8.089 MB / 425.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006314/0.2161, allocations: 2.836 MB / 428.3 MB, free: 9.879 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006859/0.223, allocations: 3.595 MB / 431.9 MB, free: 6.273 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002865/0.2259, allocations: 0.6445 MB / 432.6 MB, free: 5.629 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005961/0.2319, allocations: 2.001 MB / 434.6 MB, free: 3.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005764/0.2377, allocations: 3.492 MB / 438.1 MB, free: 128 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009314/0.247, allocations: 3.866 MB / 441.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5072/0.7543, allocations: 12.35 MB / 454.3 MB, free: 27.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/0.7543, allocations: 1.156 kB / 454.3 MB, free: 27.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.7544, allocations: 1.406 kB / 454.3 MB, free: 27.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005895/0.7549, allocations: 0 / 454.3 MB, free: 27.45 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.02911/0.7841, allocations: 8.428 MB / 462.7 MB, free: 24.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.7841, allocations: 12.75 kB / 462.7 MB, free: 24.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.7953, allocations: 2.344 MB / 465.1 MB, free: 24.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/0.8068, allocations: 4.46 MB / 469.5 MB, free: 23.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006346/0.8074, allocations: 433.5 kB / 469.9 MB, free: 23.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004319/0.8118, allocations: 0.6654 MB / 470.6 MB, free: 23.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03606/0.8478, allocations: 16.92 MB / 487.5 MB, free: 18.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004348/0.8483, allocations: 69.39 kB / 487.6 MB, free: 18.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001884/0.8502, allocations: 273.7 kB / 487.9 MB, free: 18.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003489/0.8537, allocations: 2.582 MB / 490.5 MB, free: 18.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03021/0.884, allocations: 14.57 MB / 0.4932 GB, free: 5.73 MB / 382.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.1038/0.9878, allocations: 63.77 MB / 0.5555 GB, free: 5.188 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0232/1.011, allocations: 7.377 MB / 0.5627 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005663/1.017, allocations: 3.812 MB / 0.5664 GB, free: 9.859 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03094/1.048, allocations: 16.59 MB / 0.5826 GB, free: 8.848 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.692e-05/1.048, allocations: 68.39 kB / 0.5827 GB, free: 8.777 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 6.763e-06/1.048, allocations: 0 / 0.5827 GB, free: 8.777 MB / 478.1 MB Notification: Performance of matching and sorting (n=278): time 0.08869/1.137, allocations: 27.59 MB / 0.6096 GB, free: 12.95 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001772/1.138, allocations: 1.702 MB / 0.6113 GB, free: 11.08 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01322/1.152, allocations: 5.877 MB / 0.617 GB, free: 5.188 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0009566/1.153, allocations: 65.7 kB / 0.6171 GB, free: 5.117 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004815/1.158, allocations: 4.849 MB / 0.6218 GB, free: 300 kB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002279/1.16, allocations: 1.088 MB / 0.6229 GB, free: 15.21 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00636/1.166, allocations: 1.84 MB / 0.6247 GB, free: 13.36 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.166, allocations: 301.1 kB / 0.625 GB, free: 13.06 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007321/1.174, allocations: 3.422 MB / 0.6283 GB, free: 9.633 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3304/1.504, allocations: 8.86 MB / 0.6369 GB, free: 186.1 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01748/1.522, allocations: 13.28 MB / 0.6499 GB, free: 176.9 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003028/1.522, allocations: 54.53 kB / 0.65 GB, free: 176.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.03909/1.561, allocations: 14.9 MB / 0.6645 GB, free: 171.8 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.000236/1.561, allocations: 86.28 kB / 0.6646 GB, free: 171.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0166/1.578, allocations: 6.797 MB / 0.6712 GB, free: 169.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01309/1.591, allocations: 3.228 MB / 0.6744 GB, free: 169.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007/1.598, allocations: 2.137 MB / 0.6765 GB, free: 167 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01736/1.616, allocations: 17.02 MB / 0.6931 GB, free: 149.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008552/1.624, allocations: 0.5902 MB / 0.6937 GB, free: 148.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002246/1.626, allocations: 0.5379 MB / 0.6942 GB, free: 148.1 MB / 0.5138 GB 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.007599/1.634, allocations: 3.243 MB / 0.6974 GB, free: 145 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001627/1.636, allocations: 0.5115 MB / 0.6979 GB, free: 144.7 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01308/1.649, allocations: 6.573 MB / 0.7043 GB, free: 138.1 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009659/1.659, allocations: 5.656 MB / 0.7098 GB, free: 132.3 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.009419/1.668, allocations: 5.495 MB / 0.7152 GB, free: 126.7 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.817e-05/1.668, allocations: 15.95 kB / 0.7152 GB, free: 126.7 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03608/1.704, allocations: 17.48 MB / 0.7323 GB, free: 109.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-05/1.704, allocations: 8 kB / 0.7323 GB, free: 109.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002607/1.707, allocations: 0.504 MB / 0.7328 GB, free: 108.6 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005213/1.712, allocations: 1.849 MB / 0.7346 GB, free: 106.8 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009581/1.713, allocations: 75.95 kB / 0.7346 GB, free: 106.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01142/1.725, allocations: 10.4 MB / 0.7448 GB, free: 95.93 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008689/1.725, allocations: 1.556 MB / 0.7463 GB, free: 94.23 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01615/1.742, allocations: 9.836 MB / 0.7559 GB, free: 84.38 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0018/1.743, allocations: 0.5683 MB / 0.7565 GB, free: 83.79 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001696/1.745, allocations: 63.97 kB / 0.7565 GB, free: 83.73 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003653/1.749, allocations: 223.6 kB / 0.7567 GB, free: 83.51 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000698/1.75, allocations: 195.4 kB / 0.7569 GB, free: 83.32 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003335/1.75, allocations: 87.97 kB / 0.757 GB, free: 83.24 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007809/1.758, allocations: 3.664 MB / 0.7606 GB, free: 79.57 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4.5e-07/1.758, allocations: 0 / 0.7606 GB, free: 79.57 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01414/1.772, allocations: 1.72 MB / 0.7623 GB, free: 77.86 MB / 0.5138 GB 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.00147/1.773, allocations: 281.4 kB / 0.7625 GB, free: 77.59 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01647/1.79, allocations: 9.235 MB / 0.7716 GB, free: 68.29 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/1.79, allocations: 0 / 0.7716 GB, free: 68.29 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005416/1.795, allocations: 3.388 MB / 0.7749 GB, free: 64.81 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00728/1.803, allocations: 0.8675 MB / 0.7757 GB, free: 63.95 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02906/1.832, allocations: 15.26 MB / 0.7906 GB, free: 48.55 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008988/1.841, allocations: 4.881 MB / 0.7954 GB, free: 43.63 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007047/1.848, allocations: 2.903 MB / 0.7982 GB, free: 40.72 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/1.849, allocations: 371.4 kB / 0.7986 GB, free: 40.36 MB / 0.5138 GB Notification: Performance of SimCode: time 9.52e-07/1.849, allocations: 4 kB / 0.7986 GB, free: 40.36 MB / 0.5138 GB Notification: Performance of Templates: time 0.4138/2.263, allocations: 61.05 MB / 0.8582 GB, free: 164.9 MB / 0.5138 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)