Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009523/0.0009522, allocations: 180.9 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.4 MB / 223.6 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008462/0.0008462, allocations: 96.92 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002934/0.0002934, allocations: 8 kB / 328.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2197, allocations: 47.58 MB / 375.7 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.3395, allocations: 113.4 MB / 489.2 MB, free: 15.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.3398, allocations: 95.95 kB / 489.2 MB, free: 15.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4557/0.7955, allocations: 126.7 MB / 0.6016 GB, free: 14.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.7956, allocations: 0 / 0.6016 GB, free: 14.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004986/0.7961, allocations: 148 kB / 0.6017 GB, free: 14.52 MB / 378.7 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.02428/0.8204, allocations: 7.224 MB / 0.6088 GB, free: 7.207 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.8204, allocations: 12.03 kB / 0.6088 GB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01308/0.8335, allocations: 2.811 MB / 0.6115 GB, free: 4.371 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01597/0.8496, allocations: 6.982 MB / 0.6183 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006195/0.8502, allocations: 0.526 MB / 0.6188 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003602/0.8538, allocations: 0.7032 MB / 0.6195 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04385/0.8977, allocations: 17.42 MB / 0.6365 GB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004927/0.8983, allocations: 91.14 kB / 0.6366 GB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00334/0.9016, allocations: 335.9 kB / 0.6369 GB, free: 8.875 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002983/0.9047, allocations: 1.519 MB / 0.6384 GB, free: 7.355 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2546/1.159, allocations: 14.56 MB / 0.6526 GB, free: 58.95 MB / 410.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.07956/1.239, allocations: 75.13 MB / 0.726 GB, free: 16.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0182/1.257, allocations: 7.406 MB / 0.7333 GB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004437/1.262, allocations: 3.743 MB / 0.7369 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02245/1.284, allocations: 16.36 MB / 0.7529 GB, free: 4.285 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/1.284, allocations: 63.09 kB / 0.7529 GB, free: 4.227 MB / 410.7 MB Notification: Performance of pre-optimization done (n=262): time 5.65e-06/1.284, allocations: 0 / 0.7529 GB, free: 4.227 MB / 410.7 MB Notification: Performance of matching and sorting (n=278): time 0.06953/1.354, allocations: 28 MB / 0.7803 GB, free: 3.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001343/1.355, allocations: 1.61 MB / 0.7819 GB, free: 1.367 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02113/1.376, allocations: 6.701 MB / 0.7884 GB, free: 14.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007546/1.377, allocations: 72.98 kB / 0.7885 GB, free: 14.36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00416/1.381, allocations: 4.876 MB / 0.7932 GB, free: 9.992 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001713/1.383, allocations: 1.08 MB / 0.7943 GB, free: 9.043 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008723/1.384, allocations: 179.9 kB / 0.7945 GB, free: 8.871 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005198/1.384, allocations: 0.6867 MB / 0.7951 GB, free: 8.285 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005377/1.39, allocations: 3.311 MB / 0.7984 GB, free: 5.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01032/1.4, allocations: 8.754 MB / 0.8069 GB, free: 10.84 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2566/1.657, allocations: 13.08 MB / 0.8197 GB, free: 97.67 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002062/1.657, allocations: 52.59 kB / 0.8197 GB, free: 97.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=1173) (initialization): time 0.02565/1.683, allocations: 13.71 MB / 0.8331 GB, free: 96.68 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/1.683, allocations: 86.03 kB / 0.8332 GB, free: 96.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01046/1.693, allocations: 5.748 MB / 0.8388 GB, free: 96.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005789/1.699, allocations: 2.081 MB / 0.8409 GB, free: 96.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007459/1.707, allocations: 2.129 MB / 0.8429 GB, free: 95.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01425/1.721, allocations: 14.11 MB / 0.8567 GB, free: 88.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007463/1.728, allocations: 0.5742 MB / 0.8573 GB, free: 88.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001734/1.73, allocations: 0.535 MB / 0.8578 GB, free: 88.32 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 878 * 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 (1119): * Single equations (assignments): 1105 * 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.00656/1.737, allocations: 3.245 MB / 0.861 GB, free: 88.01 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/1.738, allocations: 0.5248 MB / 0.8615 GB, free: 88 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/1.749, allocations: 6.505 MB / 0.8678 GB, free: 87.46 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009117/1.758, allocations: 5.582 MB / 0.8733 GB, free: 86.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.009558/1.768, allocations: 5.967 MB / 0.8791 GB, free: 83.96 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.398e-05/1.768, allocations: 15.78 kB / 0.8791 GB, free: 83.96 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02908/1.797, allocations: 17.39 MB / 0.8961 GB, free: 77.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.989e-05/1.797, allocations: 18.19 kB / 0.8961 GB, free: 77.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002307/1.799, allocations: 0.5075 MB / 0.8966 GB, free: 77.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004871/1.804, allocations: 1.796 MB / 0.8984 GB, free: 77.22 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005791/1.805, allocations: 79.52 kB / 0.8984 GB, free: 77.19 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0102/1.815, allocations: 9.744 MB / 0.908 GB, free: 70.46 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007219/1.816, allocations: 1.47 MB / 0.9094 GB, free: 68.93 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01407/1.83, allocations: 9.441 MB / 0.9186 GB, free: 61.04 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002048/1.832, allocations: 0.5785 MB / 0.9192 GB, free: 60.47 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001474/1.834, allocations: 67.08 kB / 0.9192 GB, free: 60.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002695/1.836, allocations: 217.2 kB / 0.9194 GB, free: 60.29 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005448/1.837, allocations: 198 kB / 0.9196 GB, free: 60.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002142/1.837, allocations: 83.75 kB / 0.9197 GB, free: 60.08 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006393/1.844, allocations: 3.66 MB / 0.9233 GB, free: 57.07 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.4e-07/1.844, allocations: 0 / 0.9233 GB, free: 57.07 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009659/1.853, allocations: 1.707 MB / 0.925 GB, free: 55.39 MB / 458.7 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.001391/1.855, allocations: 279.7 kB / 0.9252 GB, free: 55.16 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0145/1.869, allocations: 8.951 MB / 0.934 GB, free: 47.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.642e-05/1.869, allocations: 4 kB / 0.934 GB, free: 47.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005671/1.875, allocations: 3.39 MB / 0.9373 GB, free: 44.27 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01333/1.888, allocations: 0.805 MB / 0.9381 GB, free: 43.61 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03409/1.922, allocations: 18.88 MB / 0.9565 GB, free: 26.36 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01019/1.933, allocations: 4.879 MB / 0.9613 GB, free: 22.36 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001929/1.935, allocations: 435.4 kB / 0.9617 GB, free: 21.94 MB / 458.7 MB Notification: Performance of SimCode: time 1.282e-06/1.935, allocations: 0 / 0.9617 GB, free: 21.94 MB / 458.7 MB Notification: Performance of Templates: time 0.855/2.79, allocations: 297.8 MB / 1.252 GB, free: 79.41 MB / 490.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Constraints/SphericalConstraint/SphericalConstraint.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches