Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.00164/0.00164, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 197 kB / 16.53 MB, free: 6.664 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.451/1.451, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.00118/0.00118, allocations: 51.94 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2251, allocations: 46.64 MB / 325.3 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.01955/0.2447, allocations: 19.46 MB / 344.8 MB, free: 404 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01548/0.2602, allocations: 6.269 MB / 351 MB, free: 10.1 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004872/0.2651, allocations: 143.6 kB / 351.2 MB, free: 9.961 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01098/0.2761, allocations: 6.059 MB / 357.2 MB, free: 3.883 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007551/0.2837, allocations: 2.645 MB / 359.9 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005588/0.2893, allocations: 2.51 MB / 362.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0132/0.3026, allocations: 7.078 MB / 369.5 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01002/0.3126, allocations: 8.12 MB / 377.6 MB, free: 15.4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005343/0.318, allocations: 2.832 MB / 380.4 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00605/0.3241, allocations: 3.595 MB / 384 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002019/0.3262, allocations: 0.6406 MB / 384.7 MB, free: 8.316 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004142/0.3303, allocations: 1.998 MB / 386.7 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003623/0.334, allocations: 3.421 MB / 390.1 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005573/0.3395, allocations: 3.866 MB / 393.9 MB, free: 15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01461/0.3542, allocations: 12.03 MB / 406 MB, free: 2.934 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.3542, allocations: 3.938 kB / 406 MB, free: 2.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3542, allocations: 0 / 406 MB, free: 2.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004532/0.3547, allocations: 0 / 406 MB, free: 2.93 MB / 334.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.02242/0.3771, allocations: 8.436 MB / 414.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.3772, allocations: 8.031 kB / 414.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009036/0.3862, allocations: 2.351 MB / 416.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009879/0.3961, allocations: 4.356 MB / 421.1 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003813/0.3966, allocations: 439.4 kB / 421.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002686/0.3993, allocations: 0.6595 MB / 422.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03389/0.4332, allocations: 16.93 MB / 439.2 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002262/0.4334, allocations: 63.38 kB / 439.2 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001041/0.4345, allocations: 267.8 kB / 439.5 MB, free: 332 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003743/0.4382, allocations: 2.584 MB / 442.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3714/0.8097, allocations: 14.56 MB / 456.6 MB, free: 100.7 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.07547/0.8852, allocations: 64.09 MB / 0.5085 GB, free: 49.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01943/0.9047, allocations: 7.38 MB / 0.5157 GB, free: 41.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003902/0.9086, allocations: 3.793 MB / 0.5194 GB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01916/0.9278, allocations: 16.63 MB / 0.5357 GB, free: 20.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.9279, allocations: 60.5 kB / 0.5357 GB, free: 20.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=262): time 4.278e-06/0.9279, allocations: 0 / 0.5357 GB, free: 20.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=278): time 0.06195/0.9898, allocations: 27.59 MB / 0.5627 GB, free: 8.777 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00124/0.9911, allocations: 1.705 MB / 0.5643 GB, free: 6.895 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007703/0.9988, allocations: 5.878 MB / 0.5701 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006306/0.9995, allocations: 73.14 kB / 0.5701 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002958/1.002, allocations: 4.849 MB / 0.5749 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001382/1.004, allocations: 1.08 MB / 0.5759 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002199/1.006, allocations: 1.844 MB / 0.5777 GB, free: 9.066 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.713e-05/1.006, allocations: 301.1 kB / 0.578 GB, free: 8.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004793/1.011, allocations: 3.418 MB / 0.5814 GB, free: 5.344 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009195/1.02, allocations: 8.869 MB / 0.59 GB, free: 9.777 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01591/1.036, allocations: 13.26 MB / 0.603 GB, free: 9.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001655/1.036, allocations: 56 kB / 0.603 GB, free: 9.766 MB / 446.1 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.2486/1.285, allocations: 14.89 MB / 0.6176 GB, free: 145.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000452/1.285, allocations: 90.72 kB / 0.6177 GB, free: 145.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01693/1.302, allocations: 6.802 MB / 0.6243 GB, free: 144.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01372/1.316, allocations: 3.234 MB / 0.6275 GB, free: 144.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007831/1.324, allocations: 2.141 MB / 0.6295 GB, free: 144.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/1.342, allocations: 17.02 MB / 0.6462 GB, free: 132.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007917/1.35, allocations: 0.5885 MB / 0.6467 GB, free: 132.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001838/1.351, allocations: 0.5412 MB / 0.6473 GB, free: 132.3 MB / 446.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 (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.006232/1.358, allocations: 3.247 MB / 0.6504 GB, free: 129.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00126/1.359, allocations: 0.5194 MB / 0.6509 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/1.37, allocations: 6.566 MB / 0.6574 GB, free: 123 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009077/1.379, allocations: 5.658 MB / 0.6629 GB, free: 117.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.008464/1.387, allocations: 5.491 MB / 0.6682 GB, free: 111.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-05/1.388, allocations: 15.95 kB / 0.6683 GB, free: 111.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02795/1.416, allocations: 17.49 MB / 0.6853 GB, free: 94.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.522e-05/1.416, allocations: 12 kB / 0.6854 GB, free: 94.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002277/1.418, allocations: 0.504 MB / 0.6858 GB, free: 93.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005005/1.423, allocations: 1.858 MB / 0.6877 GB, free: 91.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005002/1.423, allocations: 71.95 kB / 0.6877 GB, free: 91.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009929/1.433, allocations: 10.39 MB / 0.6979 GB, free: 80.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007365/1.434, allocations: 1.56 MB / 0.6994 GB, free: 79.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01391/1.448, allocations: 9.833 MB / 0.709 GB, free: 69.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001871/1.45, allocations: 0.5738 MB / 0.7096 GB, free: 69.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001158/1.451, allocations: 67.92 kB / 0.7096 GB, free: 69.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002581/1.454, allocations: 219.7 kB / 0.7098 GB, free: 68.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004893/1.454, allocations: 197.5 kB / 0.71 GB, free: 68.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001889/1.454, allocations: 84.17 kB / 0.7101 GB, free: 68.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005588/1.46, allocations: 3.66 MB / 0.7137 GB, free: 64.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.91e-07/1.46, allocations: 0 / 0.7137 GB, free: 64.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008125/1.468, allocations: 1.725 MB / 0.7154 GB, free: 63.15 MB / 446.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 (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.000898/1.469, allocations: 289.6 kB / 0.7156 GB, free: 62.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01659/1.486, allocations: 11.59 MB / 0.727 GB, free: 51.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/1.486, allocations: 4 kB / 0.727 GB, free: 51.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00471/1.49, allocations: 3.392 MB / 0.7303 GB, free: 47.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004728/1.495, allocations: 0.8644 MB / 0.7311 GB, free: 46.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02656/1.522, allocations: 15.44 MB / 0.7462 GB, free: 31.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005015/1.527, allocations: 4.88 MB / 0.751 GB, free: 26.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007217/1.534, allocations: 2.911 MB / 0.7538 GB, free: 23.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/1.535, allocations: 367.4 kB / 0.7542 GB, free: 23.12 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/1.535, allocations: 0 / 0.7542 GB, free: 23.12 MB / 446.1 MB Notification: Performance of Templates: time 0.2977/1.833, allocations: 65.8 MB / 0.8184 GB, free: 113.6 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe 2>&1)