Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 201.1 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 226.5 MB / 245.4 MB, free: 8.145 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008018/0.0008018, allocations: 103.7 kB / 297.5 MB, free: 6.867 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002132/0.0002133, allocations: 4 kB / 358.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2013, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3056/0.5069, allocations: 115 MB / 0.5121 GB, free: 97.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.5072, allocations: 96.55 kB / 0.5122 GB, free: 97.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2746/0.7819, allocations: 129.1 MB / 0.6383 GB, free: 4.383 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.7819, allocations: 0 / 0.6383 GB, free: 4.383 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000458/0.7824, allocations: 144 kB / 0.6384 GB, free: 4.242 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2352 * Number of variables: 2352 Notification: Performance of Generate backend data structure: time 0.024/0.8064, allocations: 7.219 MB / 0.6455 GB, free: 12.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.8065, allocations: 8.031 kB / 0.6455 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01268/0.8191, allocations: 2.846 MB / 0.6482 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01371/0.8329, allocations: 6.326 MB / 0.6544 GB, free: 3.656 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003668/0.8333, allocations: 0.5219 MB / 0.6549 GB, free: 3.133 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00156/0.8349, allocations: 0.6914 MB / 0.6556 GB, free: 2.441 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2412/1.076, allocations: 17.13 MB / 0.6723 GB, free: 65.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005885/1.077, allocations: 83.27 kB / 0.6724 GB, free: 65.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003276/1.08, allocations: 332.1 kB / 0.6727 GB, free: 65.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003541/1.084, allocations: 1.494 MB / 0.6742 GB, free: 65.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03783/1.121, allocations: 14.28 MB / 0.6881 GB, free: 65.18 MB / 442.7 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.07263/1.194, allocations: 74.22 MB / 0.7606 GB, free: 21.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01821/1.212, allocations: 7.316 MB / 0.7678 GB, free: 19.03 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003777/1.216, allocations: 3.699 MB / 0.7714 GB, free: 17.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02014/1.236, allocations: 16.17 MB / 0.7872 GB, free: 9.234 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/1.236, allocations: 55.28 kB / 0.7872 GB, free: 9.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=253): time 5.059e-06/1.236, allocations: 3.531 kB / 0.7872 GB, free: 9.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=269): time 0.07208/1.308, allocations: 27.89 MB / 0.8145 GB, free: 8.629 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001262/1.31, allocations: 1.604 MB / 0.816 GB, free: 6.914 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008656/1.318, allocations: 5.755 MB / 0.8217 GB, free: 2.078 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006376/1.319, allocations: 71.31 kB / 0.8217 GB, free: 2.008 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003218/1.322, allocations: 4.795 MB / 0.8264 GB, free: 13.71 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001403/1.324, allocations: 1.048 MB / 0.8274 GB, free: 12.79 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003804/1.324, allocations: 179.1 kB / 0.8276 GB, free: 12.62 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004297/1.325, allocations: 0.6795 MB / 0.8283 GB, free: 12.04 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004473/1.329, allocations: 3.247 MB / 0.8314 GB, free: 9.289 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007726/1.337, allocations: 8.616 MB / 0.8398 GB, free: 14.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01514/1.352, allocations: 12.85 MB / 0.8524 GB, free: 120 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001818/1.352, allocations: 60 kB / 0.8525 GB, free: 60 kB / 490.7 MB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.2471/1.599, allocations: 14.05 MB / 0.8662 GB, free: 108.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/1.599, allocations: 91.31 kB / 0.8663 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009992/1.609, allocations: 5.671 MB / 0.8718 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005634/1.615, allocations: 2.079 MB / 0.8738 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006904/1.622, allocations: 2.086 MB / 0.8759 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/1.634, allocations: 14.08 MB / 0.8896 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007207/1.641, allocations: 0.5617 MB / 0.8902 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001795/1.643, allocations: 0.5253 MB / 0.8907 GB, free: 100 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 865 * Number of states: 0 () * Number of discrete variables: 62 (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.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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 (1097): * Single equations (assignments): 1083 * 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.006831/1.65, allocations: 3.19 MB / 0.8938 GB, free: 99.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/1.651, allocations: 0.5168 MB / 0.8943 GB, free: 99.74 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/1.662, allocations: 6.383 MB / 0.9005 GB, free: 99.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008763/1.67, allocations: 5.491 MB / 0.9059 GB, free: 98.72 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.009269/1.68, allocations: 5.877 MB / 0.9116 GB, free: 97.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.129e-05/1.68, allocations: 11.72 kB / 0.9116 GB, free: 97.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02688/1.707, allocations: 16.67 MB / 0.9279 GB, free: 91.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.223e-05/1.707, allocations: 13.72 kB / 0.9279 GB, free: 91.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002496/1.709, allocations: 499.2 kB / 0.9284 GB, free: 91.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004832/1.714, allocations: 1.794 MB / 0.9302 GB, free: 91.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004333/1.715, allocations: 65.66 kB / 0.9302 GB, free: 91.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01021/1.725, allocations: 9.736 MB / 0.9397 GB, free: 85.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008755/1.726, allocations: 1.472 MB / 0.9412 GB, free: 84.05 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01467/1.741, allocations: 9.189 MB / 0.9501 GB, free: 78.74 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001677/1.742, allocations: 0.5548 MB / 0.9507 GB, free: 78.19 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001533/1.744, allocations: 55.05 kB / 0.9507 GB, free: 78.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002972/1.747, allocations: 213.9 kB / 0.9509 GB, free: 78.01 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006473/1.747, allocations: 184.5 kB / 0.9511 GB, free: 77.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003548/1.748, allocations: 85.64 kB / 0.9512 GB, free: 77.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007272/1.755, allocations: 3.571 MB / 0.9547 GB, free: 74.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.755, allocations: 0 / 0.9547 GB, free: 74.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009711/1.765, allocations: 1.689 MB / 0.9563 GB, free: 73.23 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (223): * Single equations (assignments): 213 * 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.001324/1.766, allocations: 302.1 kB / 0.9566 GB, free: 72.99 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01355/1.78, allocations: 8.814 MB / 0.9652 GB, free: 65.22 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/1.78, allocations: 0 / 0.9652 GB, free: 65.22 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00508/1.785, allocations: 3.302 MB / 0.9685 GB, free: 62.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01151/1.796, allocations: 0.7989 MB / 0.9692 GB, free: 61.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02983/1.826, allocations: 17.7 MB / 0.9865 GB, free: 45.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005974/1.832, allocations: 4.794 MB / 0.9912 GB, free: 41.94 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007328/1.84, allocations: 2.871 MB / 0.994 GB, free: 40.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/1.841, allocations: 356.6 kB / 0.9943 GB, free: 39.83 MB / 490.7 MB Notification: Performance of SimCode: time 1.222e-06/1.841, allocations: 0 / 0.9943 GB, free: 39.83 MB / 490.7 MB Notification: Performance of Templates: time 0.3339/2.175, allocations: 58.77 MB / 1.052 GB, free: 87.24 MB / 490.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Constraints/SphericalConstraint/SphericalConstraint.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches