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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009915/0.0009918, allocations: 89.03 kB / 16.31 MB, free: 5.672 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.001197/0.001197, allocations: 175.8 kB / 17.2 MB, free: 5.59 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.574/1.574, allocations: 205.4 MB / 223.4 MB, free: 5.543 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.0005412/0.0005415, allocations: 18.8 kB / 280.2 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2838, allocations: 47.57 MB / 327.7 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.07208/0.356, allocations: 77.85 MB / 405.6 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.04507/0.4011, allocations: 16.54 MB / 422.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02046/0.4216, allocations: 383 kB / 422.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01293/0.4345, allocations: 3.639 MB / 426.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03106/0.4656, allocations: 10.58 MB / 436.7 MB, free: 6.215 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005966/0.4716, allocations: 1.111 MB / 437.8 MB, free: 5.102 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01249/0.4841, allocations: 8.14 MB / 446 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01536/0.4995, allocations: 9.519 MB / 455.5 MB, free: 3.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005561/0.5051, allocations: 2.078 MB / 457.6 MB, free: 1.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2465/0.7517, allocations: 3.033 MB / 460.6 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001871/0.7536, allocations: 228.7 kB / 460.8 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005303/0.7589, allocations: 1.425 MB / 462.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004662/0.7636, allocations: 2.874 MB / 465.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002989/0.7666, allocations: 1.359 MB / 466.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01271/0.7793, allocations: 9.602 MB / 476.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.7794, allocations: 1.641 kB / 476.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.7794, allocations: 3.844 kB / 476.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005244/0.7799, allocations: 0 / 476.1 MB, free: 10.31 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.01834/0.7983, allocations: 6.978 MB / 483.1 MB, free: 7.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.7983, allocations: 8.625 kB / 483.1 MB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009376/0.8077, allocations: 2.394 MB / 485.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01112/0.8189, allocations: 4.285 MB / 489.7 MB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004469/0.8193, allocations: 438.9 kB / 490.2 MB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003375/0.8227, allocations: 0.6617 MB / 490.8 MB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03396/0.8567, allocations: 16.93 MB / 0.4959 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002271/0.857, allocations: 56.31 kB / 0.4959 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008598/0.8578, allocations: 267.8 kB / 0.4962 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003759/0.8616, allocations: 2.62 MB / 0.4987 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03263/0.8943, allocations: 14.54 MB / 0.5129 GB, free: 7.195 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.0961/0.9904, allocations: 64.03 MB / 0.5755 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0204/1.011, allocations: 7.453 MB / 0.5827 GB, free: 12.42 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005646/1.017, allocations: 3.788 MB / 0.5864 GB, free: 9.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02682/1.043, allocations: 16.62 MB / 0.6027 GB, free: 8.895 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.668e-05/1.043, allocations: 59.56 kB / 0.6027 GB, free: 8.828 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 5.74e-06/1.043, allocations: 0 / 0.6027 GB, free: 8.828 MB / 478.1 MB Notification: Performance of matching and sorting (n=278): time 0.3688/1.412, allocations: 27.55 MB / 0.6296 GB, free: 118.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001224/1.414, allocations: 1.608 MB / 0.6312 GB, free: 116.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01145/1.425, allocations: 5.839 MB / 0.6369 GB, free: 116.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00122/1.426, allocations: 66.61 kB / 0.637 GB, free: 116.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004461/1.431, allocations: 4.853 MB / 0.6417 GB, free: 114 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002042/1.433, allocations: 1.084 MB / 0.6428 GB, free: 113.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007065/1.434, allocations: 183.2 kB / 0.6429 GB, free: 113.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004758/1.434, allocations: 0.6945 MB / 0.6436 GB, free: 113.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00537/1.439, allocations: 3.389 MB / 0.6469 GB, free: 113 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008859/1.448, allocations: 8.827 MB / 0.6555 GB, free: 106 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009602/1.458, allocations: 5.328 MB / 0.6607 GB, free: 105.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002874/1.458, allocations: 58.44 kB / 0.6608 GB, free: 105.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.03633/1.495, allocations: 14.81 MB / 0.6753 GB, free: 104.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001674/1.495, allocations: 87.34 kB / 0.6754 GB, free: 104.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01482/1.51, allocations: 6.782 MB / 0.682 GB, free: 102.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01141/1.521, allocations: 3.257 MB / 0.6852 GB, free: 99.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007569/1.529, allocations: 2.131 MB / 0.6872 GB, free: 98.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0163/1.545, allocations: 15.8 MB / 0.7027 GB, free: 84.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0096/1.555, allocations: 0.5862 MB / 0.7032 GB, free: 83.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002164/1.557, allocations: 0.5429 MB / 0.7038 GB, free: 83.22 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 (1128): * Single equations (assignments): 1112 * 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.008901/1.566, allocations: 3.247 MB / 0.7069 GB, free: 81.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001745/1.568, allocations: 0.5164 MB / 0.7074 GB, free: 80.72 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01152/1.579, allocations: 6.559 MB / 0.7138 GB, free: 75.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008674/1.588, allocations: 5.65 MB / 0.7194 GB, free: 71.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.008509/1.596, allocations: 5.481 MB / 0.7247 GB, free: 67.69 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-05/1.596, allocations: 15.91 kB / 0.7247 GB, free: 67.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02952/1.626, allocations: 17.45 MB / 0.7418 GB, free: 54.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.789e-05/1.626, allocations: 12.91 kB / 0.7418 GB, free: 54.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002264/1.628, allocations: 0.5059 MB / 0.7423 GB, free: 53.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004617/1.633, allocations: 1.853 MB / 0.7441 GB, free: 52.08 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005255/1.633, allocations: 74.3 kB / 0.7442 GB, free: 52.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009954/1.643, allocations: 9.76 MB / 0.7537 GB, free: 41.88 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008075/1.644, allocations: 1.47 MB / 0.7551 GB, free: 40.28 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01405/1.658, allocations: 9.82 MB / 0.7647 GB, free: 30.29 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001868/1.66, allocations: 0.5722 MB / 0.7653 GB, free: 29.69 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009971/1.661, allocations: 67.81 kB / 0.7653 GB, free: 29.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002319/1.664, allocations: 223.7 kB / 0.7656 GB, free: 29.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004337/1.664, allocations: 195.9 kB / 0.7657 GB, free: 29.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002022/1.664, allocations: 87.97 kB / 0.7658 GB, free: 29.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005497/1.67, allocations: 3.629 MB / 0.7694 GB, free: 25.51 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/1.67, allocations: 0 / 0.7694 GB, free: 25.51 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009213/1.679, allocations: 1.72 MB / 0.7711 GB, free: 23.8 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.0008749/1.68, allocations: 270.8 kB / 0.7713 GB, free: 23.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01508/1.695, allocations: 9.123 MB / 0.7802 GB, free: 14.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.805e-05/1.695, allocations: 4 kB / 0.7802 GB, free: 14.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005359/1.7, allocations: 3.383 MB / 0.7835 GB, free: 11.47 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006207/1.707, allocations: 0.812 MB / 0.7843 GB, free: 10.67 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0321/1.739, allocations: 18.08 MB / 0.802 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2296/1.968, allocations: 4.863 MB / 0.8067 GB, free: 209.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.009627/1.978, allocations: 2.911 MB / 0.8096 GB, free: 209.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/1.98, allocations: 372.5 kB / 0.8099 GB, free: 209.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.343e-06/1.98, allocations: 2.953 kB / 0.8099 GB, free: 209.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.1033/2.083, allocations: 61.44 MB / 0.8699 GB, free: 166.2 MB / 0.4981 GB 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)