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.001081/0.001081, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.2/1.2, allocations: 227.2 MB / 245 MB, free: 5.773 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008623/0.0008623, allocations: 98.03 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002179/0.0002181, allocations: 4 kB / 357.9 MB, free: 9.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2128, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3026/0.5155, allocations: 114.9 MB / 0.512 GB, free: 44.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.5157, allocations: 96.91 kB / 0.5121 GB, free: 44.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.297/0.8127, allocations: 133.3 MB / 0.6423 GB, free: 4.734 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.8128, allocations: 0 / 0.6423 GB, free: 4.734 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005347/0.8133, allocations: 144 kB / 0.6424 GB, free: 4.594 MB / 426.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.02608/0.8394, allocations: 7.57 MB / 0.6498 GB, free: 12.94 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.8395, allocations: 12.03 kB / 0.6498 GB, free: 12.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01336/0.8528, allocations: 2.939 MB / 0.6527 GB, free: 9.973 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01718/0.87, allocations: 7.095 MB / 0.6596 GB, free: 2.793 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007445/0.8708, allocations: 0.5176 MB / 0.6601 GB, free: 2.273 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004077/0.8749, allocations: 0.6911 MB / 0.6608 GB, free: 1.582 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2667/1.142, allocations: 17.32 MB / 0.6777 GB, free: 75.21 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005912/1.142, allocations: 81.05 kB / 0.6778 GB, free: 75.21 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002635/1.145, allocations: 328.4 kB / 0.6781 GB, free: 75.21 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002297/1.147, allocations: 1.488 MB / 0.6796 GB, free: 75.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02613/1.173, allocations: 14.52 MB / 0.6938 GB, free: 75.14 MB / 458.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.07725/1.251, allocations: 74.36 MB / 0.7664 GB, free: 47.48 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01833/1.269, allocations: 7.411 MB / 0.7736 GB, free: 45.29 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02329/1.292, allocations: 16.27 MB / 0.7895 GB, free: 37.04 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/1.292, allocations: 63.56 kB / 0.7896 GB, free: 36.99 MB / 474.7 MB Notification: Performance of pre-optimization done (n=253): time 5.691e-06/1.292, allocations: 0 / 0.7896 GB, free: 36.99 MB / 474.7 MB Notification: Performance of matching and sorting (n=269): time 0.0635/1.356, allocations: 27.95 MB / 0.8169 GB, free: 21.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001197/1.357, allocations: 1.619 MB / 0.8184 GB, free: 19.68 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009216/1.366, allocations: 5.124 MB / 0.8234 GB, free: 15.34 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005959/1.367, allocations: 64.98 kB / 0.8235 GB, free: 15.28 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004177/1.371, allocations: 4.792 MB / 0.8282 GB, free: 11.01 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001566/1.373, allocations: 1.047 MB / 0.8292 GB, free: 10.09 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009776/1.374, allocations: 176 kB / 0.8294 GB, free: 9.922 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007966/1.375, allocations: 0.6875 MB / 0.83 GB, free: 9.336 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005518/1.38, allocations: 3.245 MB / 0.8332 GB, free: 6.586 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009664/1.39, allocations: 8.575 MB / 0.8416 GB, free: 12.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007948/1.398, allocations: 5.16 MB / 0.8466 GB, free: 7.469 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001781/1.398, allocations: 63.94 kB / 0.8467 GB, free: 7.406 MB / 490.7 MB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.246/1.644, allocations: 13.66 MB / 0.86 GB, free: 97.13 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002073/1.644, allocations: 89.28 kB / 0.8601 GB, free: 97.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01101/1.655, allocations: 5.666 MB / 0.8656 GB, free: 96.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005908/1.661, allocations: 2.096 MB / 0.8677 GB, free: 96.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006786/1.668, allocations: 2.091 MB / 0.8697 GB, free: 96.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/1.681, allocations: 14.34 MB / 0.8837 GB, free: 89.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00729/1.688, allocations: 0.5602 MB / 0.8843 GB, free: 89.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001861/1.69, allocations: 0.5242 MB / 0.8848 GB, free: 89.12 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.007692/1.698, allocations: 3.19 MB / 0.8879 GB, free: 89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001474/1.699, allocations: 0.5114 MB / 0.8884 GB, free: 89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/1.711, allocations: 6.383 MB / 0.8946 GB, free: 88.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008495/1.72, allocations: 5.492 MB / 0.9 GB, free: 88.03 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.008774/1.729, allocations: 5.874 MB / 0.9057 GB, free: 87.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.664e-05/1.729, allocations: 17.17 kB / 0.9058 GB, free: 87.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0293/1.758, allocations: 16.67 MB / 0.922 GB, free: 84.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.606e-05/1.758, allocations: 10.59 kB / 0.9221 GB, free: 84.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002232/1.76, allocations: 0.4892 MB / 0.9225 GB, free: 84.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004745/1.765, allocations: 1.8 MB / 0.9243 GB, free: 84.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003604/1.765, allocations: 72.48 kB / 0.9244 GB, free: 84.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009721/1.775, allocations: 9.942 MB / 0.9341 GB, free: 78.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007103/1.776, allocations: 1.477 MB / 0.9355 GB, free: 76.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/1.79, allocations: 10.36 MB / 0.9456 GB, free: 72.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/1.792, allocations: 0.5589 MB / 0.9462 GB, free: 71.97 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001192/1.793, allocations: 57.97 kB / 0.9462 GB, free: 71.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002756/1.796, allocations: 207.5 kB / 0.9464 GB, free: 71.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004824/1.796, allocations: 186.2 kB / 0.9466 GB, free: 71.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002395/1.796, allocations: 81.34 kB / 0.9467 GB, free: 71.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006559/1.803, allocations: 3.572 MB / 0.9502 GB, free: 70.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.803, allocations: 2.438 kB / 0.9502 GB, free: 70.66 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009081/1.812, allocations: 1.694 MB / 0.9518 GB, free: 70.48 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.001221/1.813, allocations: 288.2 kB / 0.9521 GB, free: 70.36 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01295/1.826, allocations: 8.8 MB / 0.9607 GB, free: 65.01 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.826, allocations: 3.562 kB / 0.9607 GB, free: 65.01 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004717/1.831, allocations: 3.314 MB / 0.9639 GB, free: 62.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00386/1.835, allocations: 0.7767 MB / 0.9647 GB, free: 61.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02769/1.863, allocations: 17.62 MB / 0.9819 GB, free: 45.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007235/1.87, allocations: 4.937 MB / 0.9867 GB, free: 41.95 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007458/1.877, allocations: 2.868 MB / 0.9895 GB, free: 40.17 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/1.879, allocations: 360.2 kB / 0.9899 GB, free: 39.84 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/1.879, allocations: 0 / 0.9899 GB, free: 39.84 MB / 490.7 MB Notification: Performance of Templates: time 0.3163/2.195, allocations: 58.62 MB / 1.047 GB, free: 88.6 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/jenkins/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