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.002486/0.002491, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001119/0.001119, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.029e-05/3.031e-05, allocations: 4 kB / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09244/0.0925, allocations: 47.57 MB / 369.1 MB, free: 2.215 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4623/0.5549, allocations: 113.1 MB / 482.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/0.5552, allocations: 89.83 kB / 482.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7831/1.338, allocations: 129 MB / 0.5969 GB, free: 87.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.113e-06/1.338, allocations: 0 / 0.5969 GB, free: 87.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004993/1.339, allocations: 146.5 kB / 0.5971 GB, free: 87.45 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: 2401 * Number of variables: 2401 Notification: Performance of Generate backend data structure: time 0.03519/1.374, allocations: 7.122 MB / 0.604 GB, free: 80.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/1.374, allocations: 8.031 kB / 0.604 GB, free: 80.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02284/1.397, allocations: 2.926 MB / 0.6069 GB, free: 77.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02791/1.425, allocations: 8.189 MB / 0.6149 GB, free: 69.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006152/1.426, allocations: 0.5266 MB / 0.6154 GB, free: 68.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003753/1.429, allocations: 0.7066 MB / 0.6161 GB, free: 68.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05441/1.484, allocations: 17.47 MB / 0.6331 GB, free: 49.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004338/1.484, allocations: 83.27 kB / 0.6332 GB, free: 49.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002912/1.487, allocations: 335.9 kB / 0.6335 GB, free: 48.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003213/1.491, allocations: 1.523 MB / 0.635 GB, free: 47.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0466/1.537, allocations: 14.59 MB / 0.6493 GB, free: 32.67 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or 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.447/1.984, allocations: 75.26 MB / 0.7228 GB, free: 44.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04184/2.026, allocations: 7.44 MB / 0.73 GB, free: 44.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007525/2.034, allocations: 3.704 MB / 0.7336 GB, free: 44.03 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04223/2.076, allocations: 16.49 MB / 0.7498 GB, free: 40.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.908e-05/2.076, allocations: 64.73 kB / 0.7498 GB, free: 40.24 MB / 426.7 MB Notification: Performance of pre-optimization done (n=262): time 7.173e-06/2.076, allocations: 0 / 0.7498 GB, free: 40.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=278): time 0.1094/2.186, allocations: 23.84 MB / 0.7731 GB, free: 33.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001416/2.187, allocations: 1.613 MB / 0.7747 GB, free: 31.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01465/2.202, allocations: 5.179 MB / 0.7797 GB, free: 29.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008955/2.203, allocations: 64.77 kB / 0.7798 GB, free: 29.76 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004579/2.207, allocations: 4.716 MB / 0.7844 GB, free: 26.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00213/2.21, allocations: 1.085 MB / 0.7855 GB, free: 25.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001685/2.211, allocations: 179.5 kB / 0.7856 GB, free: 25.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001075/2.212, allocations: 0.6925 MB / 0.7863 GB, free: 24.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008991/2.221, allocations: 3.237 MB / 0.7895 GB, free: 23.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01206/2.234, allocations: 8.658 MB / 0.7979 GB, free: 15.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01216/2.246, allocations: 5.225 MB / 0.803 GB, free: 12.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001964/2.246, allocations: 56 kB / 0.8031 GB, free: 12.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=1173) (initialization): time 0.04302/2.289, allocations: 13.37 MB / 0.8161 GB, free: 1.949 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002982/2.289, allocations: 88 kB / 0.8162 GB, free: 1.863 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05263/2.342, allocations: 6.284 MB / 0.8224 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01269/2.355, allocations: 2.093 MB / 0.8244 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01428/2.369, allocations: 2.14 MB / 0.8265 GB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.027/2.396, allocations: 14.1 MB / 0.8403 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.012/2.408, allocations: 0.5712 MB / 0.8408 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00265/2.411, allocations: 0.5379 MB / 0.8413 GB, free: 12.91 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 () * 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.004646/2.416, allocations: 0.8021 MB / 0.8421 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002007/2.418, allocations: 0.5195 MB / 0.8426 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02491/2.443, allocations: 6.452 MB / 0.8489 GB, free: 5.285 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02024/2.463, allocations: 5.53 MB / 0.8543 GB, free: 15.67 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02118/2.484, allocations: 5.934 MB / 0.8601 GB, free: 9.641 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.687e-05/2.484, allocations: 15.95 kB / 0.8601 GB, free: 9.625 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3824/2.867, allocations: 17.34 MB / 0.8771 GB, free: 126.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.755e-05/2.867, allocations: 11.56 kB / 0.8771 GB, free: 126.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005689/2.873, allocations: 0.5103 MB / 0.8776 GB, free: 126.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01427/2.887, allocations: 1.791 MB / 0.8793 GB, free: 126.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001113/2.888, allocations: 69.06 kB / 0.8794 GB, free: 126.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0281/2.916, allocations: 9.733 MB / 0.8889 GB, free: 122.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001555/2.918, allocations: 1.465 MB / 0.8903 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03802/2.956, allocations: 10.86 MB / 0.9009 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002277/2.958, allocations: 0.576 MB / 0.9015 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00227/2.961, allocations: 63.81 kB / 0.9016 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005745/2.966, allocations: 218.8 kB / 0.9018 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001301/2.968, allocations: 201.5 kB / 0.902 GB, free: 118.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006128/2.968, allocations: 88.81 kB / 0.9021 GB, free: 118.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01044/2.979, allocations: 3.604 MB / 0.9056 GB, free: 118.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.21e-07/2.979, allocations: 2.297 kB / 0.9056 GB, free: 118.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01192/2.991, allocations: 1.705 MB / 0.9072 GB, free: 118.1 MB / 474.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 () * 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.001663/2.993, allocations: 276 kB / 0.9075 GB, free: 118 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02324/3.016, allocations: 8.843 MB / 0.9161 GB, free: 115.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.707e-05/3.016, allocations: 0 / 0.9161 GB, free: 115.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01/3.026, allocations: 3.36 MB / 0.9194 GB, free: 113.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007356/3.033, allocations: 0.7744 MB / 0.9202 GB, free: 113.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04108/3.075, allocations: 13.45 MB / 0.9333 GB, free: 108.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01256/3.087, allocations: 5.026 MB / 0.9382 GB, free: 106.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002698/3.09, allocations: 433 kB / 0.9386 GB, free: 106.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.082e-06/3.09, allocations: 4 kB / 0.9386 GB, free: 106.7 MB / 474.7 MB Notification: Performance of Templates: time 1.143/4.232, allocations: 279.9 MB / 1.212 GB, free: 122.3 MB / 474.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