Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 175.8 kB / 17.4 MB, free: 4.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.3 MB / 241.4 MB, free: 9.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008306/0.0008305, allocations: 99.27 kB / 292.6 MB, free: 10.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003408, allocations: 15.98 kB / 352.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2048, allocations: 50.4 MB / 402.7 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2857/0.4906, allocations: 114.8 MB / 0.5054 GB, free: 98.28 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.4909, allocations: 96.11 kB / 0.5055 GB, free: 98.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2541/0.745, allocations: 126 MB / 0.6286 GB, free: 268 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.745, allocations: 0 / 0.6286 GB, free: 268 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002985/0.7453, allocations: 144 kB / 0.6287 GB, free: 124 kB / 394.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.01874/0.764, allocations: 7.106 MB / 0.6357 GB, free: 8.926 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.7641, allocations: 12.02 kB / 0.6357 GB, free: 8.914 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/0.7759, allocations: 2.796 MB / 0.6384 GB, free: 6.105 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01355/0.7894, allocations: 6.606 MB / 0.6448 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003887/0.7899, allocations: 0.5218 MB / 0.6454 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001906/0.7918, allocations: 0.6914 MB / 0.646 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4059/1.198, allocations: 17.13 MB / 0.6628 GB, free: 53.54 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004035/1.198, allocations: 88.58 kB / 0.6628 GB, free: 53.54 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001728/1.2, allocations: 329 kB / 0.6632 GB, free: 53.54 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00226/1.202, allocations: 1.49 MB / 0.6646 GB, free: 53.53 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02837/1.231, allocations: 14.29 MB / 0.6786 GB, free: 53.48 MB / 426.8 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.07992/1.311, allocations: 74.23 MB / 0.7511 GB, free: 24.52 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01803/1.329, allocations: 7.322 MB / 0.7582 GB, free: 22.36 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004349/1.333, allocations: 3.696 MB / 0.7618 GB, free: 20.79 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02398/1.357, allocations: 16.15 MB / 0.7776 GB, free: 12.58 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/1.357, allocations: 60.25 kB / 0.7776 GB, free: 12.52 MB / 442.8 MB Notification: Performance of pre-optimization done (n=253): time 6.081e-06/1.357, allocations: 0 / 0.7776 GB, free: 12.52 MB / 442.8 MB Notification: Performance of matching and sorting (n=269): time 0.06759/1.425, allocations: 27.48 MB / 0.8045 GB, free: 9.086 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00126/1.426, allocations: 1.601 MB / 0.8061 GB, free: 7.371 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008432/1.434, allocations: 5.766 MB / 0.8117 GB, free: 2.586 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006133/1.435, allocations: 61.7 kB / 0.8117 GB, free: 2.52 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00337/1.438, allocations: 4.796 MB / 0.8164 GB, free: 14.23 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001505/1.44, allocations: 1.055 MB / 0.8175 GB, free: 13.3 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005368/1.441, allocations: 173.9 kB / 0.8176 GB, free: 13.13 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.000468/1.441, allocations: 0.6804 MB / 0.8183 GB, free: 12.55 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004873/1.446, allocations: 3.244 MB / 0.8215 GB, free: 9.801 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2568/1.703, allocations: 8.613 MB / 0.8299 GB, free: 95.56 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/1.715, allocations: 12.86 MB / 0.8424 GB, free: 88.71 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001492/1.715, allocations: 57.12 kB / 0.8425 GB, free: 88.71 MB / 474.8 MB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.02274/1.738, allocations: 13.51 MB / 0.8557 GB, free: 87.27 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.787e-05/1.738, allocations: 88.95 kB / 0.8558 GB, free: 87.27 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008885/1.747, allocations: 5.664 MB / 0.8613 GB, free: 86.83 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005332/1.752, allocations: 2.073 MB / 0.8633 GB, free: 86.77 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006424/1.759, allocations: 2.092 MB / 0.8654 GB, free: 86.58 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/1.77, allocations: 14.08 MB / 0.8791 GB, free: 78.91 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006489/1.777, allocations: 0.5552 MB / 0.8796 GB, free: 78.91 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001225/1.778, allocations: 0.527 MB / 0.8802 GB, free: 78.91 MB / 474.8 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.005467/1.784, allocations: 3.197 MB / 0.8833 GB, free: 78.61 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008762/1.785, allocations: 0.5146 MB / 0.8838 GB, free: 78.6 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009949/1.795, allocations: 6.37 MB / 0.89 GB, free: 76.97 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008055/1.803, allocations: 5.496 MB / 0.8954 GB, free: 75.01 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.008479/1.811, allocations: 5.871 MB / 0.9011 GB, free: 72.89 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.487e-05/1.811, allocations: 13.36 kB / 0.9011 GB, free: 72.89 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02443/1.836, allocations: 16.69 MB / 0.9174 GB, free: 66.79 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/1.836, allocations: 11.91 kB / 0.9174 GB, free: 66.79 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002054/1.838, allocations: 498.4 kB / 0.9179 GB, free: 66.75 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004512/1.842, allocations: 1.792 MB / 0.9197 GB, free: 66.43 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002752/1.843, allocations: 67.56 kB / 0.9197 GB, free: 66.4 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008982/1.852, allocations: 9.751 MB / 0.9292 GB, free: 58.5 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006108/1.852, allocations: 1.457 MB / 0.9307 GB, free: 56.96 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/1.864, allocations: 9.184 MB / 0.9396 GB, free: 49.32 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/1.865, allocations: 0.5603 MB / 0.9402 GB, free: 48.76 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005298/1.866, allocations: 59.47 kB / 0.9402 GB, free: 48.71 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/1.868, allocations: 205.6 kB / 0.9404 GB, free: 48.59 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004242/1.868, allocations: 188.4 kB / 0.9406 GB, free: 48.46 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/1.868, allocations: 82.02 kB / 0.9407 GB, free: 48.39 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.004816/1.873, allocations: 3.575 MB / 0.9442 GB, free: 45.45 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.7e-07/1.873, allocations: 0 / 0.9442 GB, free: 45.45 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.007271/1.88, allocations: 1.679 MB / 0.9458 GB, free: 43.8 MB / 474.8 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.0007976/1.881, allocations: 279 kB / 0.9461 GB, free: 43.57 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01265/1.894, allocations: 8.803 MB / 0.9547 GB, free: 35.74 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 8.946e-06/1.894, allocations: 4 kB / 0.9547 GB, free: 35.74 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004604/1.899, allocations: 3.306 MB / 0.9579 GB, free: 32.8 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01032/1.909, allocations: 0.7964 MB / 0.9587 GB, free: 32.14 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02839/1.937, allocations: 17.69 MB / 0.976 GB, free: 15.93 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006862/1.944, allocations: 4.787 MB / 0.9806 GB, free: 12.3 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.007564/1.952, allocations: 2.872 MB / 0.9834 GB, free: 10.53 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/1.953, allocations: 364.5 kB / 0.9838 GB, free: 10.19 MB / 474.8 MB Notification: Performance of SimCode: time 6.11e-07/1.953, allocations: 0 / 0.9838 GB, free: 10.19 MB / 474.8 MB Notification: Performance of Templates: time 0.3077/2.261, allocations: 58.64 MB / 1.041 GB, free: 97.32 MB / 490.8 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches