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.001689/0.00169, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.606/1.606, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008901/0.0008902, allocations: 96.55 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.902e-05/1.906e-05, allocations: 7.984 kB / 343.7 MB, free: 8.277 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.117, allocations: 51.47 MB / 395.2 MB, free: 4.766 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3931/0.5102, allocations: 114.2 MB / 0.4974 GB, free: 11.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.5105, allocations: 86.77 kB / 0.4975 GB, free: 11.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6081/1.119, allocations: 130.4 MB / 0.6248 GB, free: 77.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.434e-06/1.119, allocations: 0 / 0.6248 GB, free: 77.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001302/1.12, allocations: 141 kB / 0.625 GB, free: 77.22 MB / 442.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.04752/1.168, allocations: 7.124 MB / 0.6319 GB, free: 74.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/1.168, allocations: 7.906 kB / 0.6319 GB, free: 74.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02214/1.19, allocations: 2.956 MB / 0.6348 GB, free: 74.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01903/1.209, allocations: 7.054 MB / 0.6417 GB, free: 71.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004412/1.209, allocations: 228.2 kB / 0.6419 GB, free: 71.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003638/1.213, allocations: 419.4 kB / 0.6423 GB, free: 71.85 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02212/1.235, allocations: 9.982 MB / 0.6521 GB, free: 68.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0315/1.267, allocations: 14.62 MB / 0.6663 GB, free: 60.54 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003083/1.267, allocations: 81.41 kB / 0.6664 GB, free: 60.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001596/1.269, allocations: 45.59 kB / 0.6665 GB, free: 60.49 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002024/1.271, allocations: 1.484 MB / 0.6679 GB, free: 60.22 MB / 442.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.4142/1.685, allocations: 73.86 MB / 0.74 GB, free: 52.33 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00543/1.69, allocations: 4.439 MB / 0.7444 GB, free: 51.67 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003475/1.694, allocations: 3.271 MB / 0.7476 GB, free: 51.64 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/1.695, allocations: 1.332 MB / 0.7489 GB, free: 50.51 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/1.695, allocations: 60.39 kB / 0.7489 GB, free: 50.47 MB / 458.7 MB Notification: Performance of pre-optimization done (n=264): time 5.811e-06/1.695, allocations: 4.812 kB / 0.7489 GB, free: 50.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=282): time 0.05085/1.746, allocations: 23.25 MB / 0.7716 GB, free: 46.21 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.213e-05/1.746, allocations: 156.2 kB / 0.7718 GB, free: 46.05 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0098/1.756, allocations: 4.518 MB / 0.7762 GB, free: 45.62 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008383/1.757, allocations: 28.09 kB / 0.7762 GB, free: 45.59 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003747/1.761, allocations: 4.831 MB / 0.7809 GB, free: 42.27 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001681/1.762, allocations: 1.065 MB / 0.782 GB, free: 41.49 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005564/1.763, allocations: 0 / 0.782 GB, free: 41.49 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005916/1.763, allocations: 0.689 MB / 0.7827 GB, free: 41.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0055/1.769, allocations: 3.132 MB / 0.7857 GB, free: 39.89 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006877/1.776, allocations: 8.547 MB / 0.7941 GB, free: 31.46 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00795/1.784, allocations: 5.094 MB / 0.799 GB, free: 29.92 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001645/1.784, allocations: 57.81 kB / 0.7991 GB, free: 29.92 MB / 458.7 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.02869/1.813, allocations: 12.49 MB / 0.8113 GB, free: 26.12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003279/1.813, allocations: 91.22 kB / 0.8114 GB, free: 26.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01135/1.825, allocations: 5.653 MB / 0.8169 GB, free: 24.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00617/1.831, allocations: 2.133 MB / 0.819 GB, free: 23.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007642/1.838, allocations: 2.155 MB / 0.8211 GB, free: 23.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01414/1.853, allocations: 13.78 MB / 0.8345 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008776/1.861, allocations: 409.3 kB / 0.8349 GB, free: 14.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002198/1.864, allocations: 0.5409 MB / 0.8355 GB, free: 13.99 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 886 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1131): * Single equations (assignments): 1117 * 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.003269/1.867, allocations: 0.6002 MB / 0.836 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002017/1.869, allocations: 498.2 kB / 0.8365 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/1.882, allocations: 6.314 MB / 0.8427 GB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01052/1.893, allocations: 5.479 MB / 0.848 GB, free: 7.305 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01008/1.903, allocations: 5.327 MB / 0.8532 GB, free: 2.949 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.13e-05/1.903, allocations: 10.31 kB / 0.8533 GB, free: 2.949 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03971/1.943, allocations: 15.92 MB / 0.8688 GB, free: 6.566 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.395e-05/1.943, allocations: 8 kB / 0.8688 GB, free: 6.559 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002839/1.946, allocations: 0.514 MB / 0.8693 GB, free: 6.156 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00564/1.951, allocations: 1.78 MB / 0.871 GB, free: 4.988 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007709/1.952, allocations: 30.8 kB / 0.8711 GB, free: 4.965 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/1.965, allocations: 9.48 MB / 0.8803 GB, free: 12.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001064/1.966, allocations: 1.41 MB / 0.8817 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01776/1.984, allocations: 10.59 MB / 0.8921 GB, free: 1.613 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001856/1.986, allocations: 0.5277 MB / 0.8926 GB, free: 1.074 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001499/1.987, allocations: 19.28 kB / 0.8926 GB, free: 1.059 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003203/1.991, allocations: 171.2 kB / 0.8927 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005389/1.991, allocations: 195.8 kB / 0.8929 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002999/1.991, allocations: 85.53 kB / 0.893 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01161/2.003, allocations: 3.409 MB / 0.8963 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.41e-07/2.003, allocations: 0 / 0.8963 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01184/2.015, allocations: 1.526 MB / 0.8978 GB, free: 13.42 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 (236): * Single equations (assignments): 226 * 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.001527/2.016, allocations: 246.8 kB / 0.8981 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01715/2.034, allocations: 8.461 MB / 0.9063 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/2.034, allocations: 0 / 0.9063 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006681/2.04, allocations: 3.295 MB / 0.9096 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005916/2.046, allocations: 0.6748 MB / 0.9102 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03333/2.08, allocations: 12.34 MB / 0.9223 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3098/2.39, allocations: 4.937 MB / 0.9271 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009601/2.399, allocations: 2.969 MB / 0.93 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001433/2.401, allocations: 348.8 kB / 0.9303 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.002e-06/2.401, allocations: 0 / 0.9303 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.1117/2.512, allocations: 53.41 MB / 0.9825 GB, free: 129.8 MB / 0.5105 GB 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