Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0015/0.0015, allocations: 172.3 kB / 14.1 MB, free: 1.223 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.575/1.575, allocations: 205.2 MB / 219.8 MB, free: 14.26 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.000952/0.000952, allocations: 94.58 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.629e-05/2.631e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0968/0.09684, allocations: 47.58 MB / 370 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3787/0.4756, allocations: 113.1 MB / 483.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.4759, allocations: 86.02 kB / 483.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5073/0.9832, allocations: 129 MB / 0.5978 GB, free: 87.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.9832, allocations: 0 / 0.5978 GB, free: 87.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000458/0.9837, allocations: 147.2 kB / 0.598 GB, free: 87.2 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.02368/1.007, allocations: 7.12 MB / 0.6049 GB, free: 80.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/1.007, allocations: 16.03 kB / 0.6049 GB, free: 80.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01351/1.021, allocations: 2.927 MB / 0.6078 GB, free: 77.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01701/1.038, allocations: 8.183 MB / 0.6158 GB, free: 68.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003445/1.038, allocations: 0.5256 MB / 0.6163 GB, free: 68.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002835/1.041, allocations: 0.7105 MB / 0.617 GB, free: 67.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03293/1.074, allocations: 17.46 MB / 0.634 GB, free: 48.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002579/1.074, allocations: 79.27 kB / 0.6341 GB, free: 48.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001419/1.076, allocations: 343.8 kB / 0.6345 GB, free: 48.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001853/1.078, allocations: 1.519 MB / 0.6359 GB, free: 46.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02964/1.107, allocations: 14.58 MB / 0.6502 GB, free: 32.32 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.5736/1.681, allocations: 75.26 MB / 0.7237 GB, free: 44.24 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02187/1.703, allocations: 7.445 MB / 0.7309 GB, free: 43.57 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004353/1.707, allocations: 3.702 MB / 0.7346 GB, free: 43.53 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02234/1.73, allocations: 16.49 MB / 0.7507 GB, free: 39.78 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/1.73, allocations: 70.34 kB / 0.7507 GB, free: 39.74 MB / 426.8 MB Notification: Performance of pre-optimization done (n=262): time 5.671e-06/1.73, allocations: 0 / 0.7507 GB, free: 39.74 MB / 426.8 MB Notification: Performance of matching and sorting (n=278): time 0.06021/1.79, allocations: 23.84 MB / 0.774 GB, free: 32.87 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001218/1.791, allocations: 1.61 MB / 0.7756 GB, free: 31.29 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009668/1.801, allocations: 5.18 MB / 0.7806 GB, free: 29.35 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007095/1.802, allocations: 67.58 kB / 0.7807 GB, free: 29.29 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002901/1.805, allocations: 4.878 MB / 0.7855 GB, free: 25.53 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00156/1.806, allocations: 1.081 MB / 0.7865 GB, free: 24.75 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009158/1.807, allocations: 180.6 kB / 0.7867 GB, free: 24.61 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0005423/1.808, allocations: 0.6847 MB / 0.7874 GB, free: 24.14 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004762/1.813, allocations: 3.236 MB / 0.7905 GB, free: 23.05 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007379/1.82, allocations: 8.654 MB / 0.799 GB, free: 14.66 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00789/1.828, allocations: 5.229 MB / 0.8041 GB, free: 12.5 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001751/1.828, allocations: 56 kB / 0.8041 GB, free: 12.45 MB / 426.8 MB Notification: Performance of matching and sorting (n=1173) (initialization): time 0.02751/1.856, allocations: 13.57 MB / 0.8174 GB, free: 1.289 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000311/1.856, allocations: 88 kB / 0.8175 GB, free: 1.203 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01357/1.87, allocations: 5.837 MB / 0.8232 GB, free: 12.84 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006336/1.876, allocations: 2.102 MB / 0.8252 GB, free: 11.35 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007659/1.884, allocations: 2.128 MB / 0.8273 GB, free: 9.516 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01705/1.901, allocations: 14.17 MB / 0.8411 GB, free: 12.28 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008972/1.91, allocations: 0.5659 MB / 0.8417 GB, free: 11.81 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002038/1.912, allocations: 0.532 MB / 0.8422 GB, free: 11.29 MB / 458.8 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.002226/1.914, allocations: 0.8081 MB / 0.843 GB, free: 10.49 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/1.915, allocations: 0.5206 MB / 0.8435 GB, free: 9.961 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01312/1.928, allocations: 6.458 MB / 0.8498 GB, free: 4.562 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01112/1.94, allocations: 5.528 MB / 0.8552 GB, free: 14.95 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01091/1.951, allocations: 5.919 MB / 0.861 GB, free: 8.926 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-05/1.951, allocations: 11.95 kB / 0.861 GB, free: 8.914 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2788/2.229, allocations: 17.36 MB / 0.878 GB, free: 126 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.32e-05/2.23, allocations: 9.938 kB / 0.878 GB, free: 126 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003122/2.233, allocations: 0.5109 MB / 0.8785 GB, free: 126 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005707/2.238, allocations: 1.79 MB / 0.8802 GB, free: 126 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000729/2.239, allocations: 73.7 kB / 0.8803 GB, free: 126 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01174/2.251, allocations: 9.727 MB / 0.8898 GB, free: 122.2 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007858/2.252, allocations: 1.464 MB / 0.8912 GB, free: 120.8 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01544/2.267, allocations: 10.87 MB / 0.9018 GB, free: 118.2 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001969/2.269, allocations: 0.5712 MB / 0.9024 GB, free: 118.2 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00188/2.271, allocations: 66.55 kB / 0.9024 GB, free: 118.2 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003636/2.275, allocations: 220.4 kB / 0.9027 GB, free: 118.2 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007939/2.276, allocations: 199.7 kB / 0.9028 GB, free: 118.1 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002512/2.276, allocations: 83.92 kB / 0.9029 GB, free: 118.1 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.007031/2.283, allocations: 3.601 MB / 0.9064 GB, free: 117.9 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.224e-06/2.283, allocations: 2.531 kB / 0.9064 GB, free: 117.9 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.008969/2.292, allocations: 1.718 MB / 0.9081 GB, free: 117.9 MB / 474.8 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.0009491/2.293, allocations: 274.3 kB / 0.9084 GB, free: 117.8 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01387/2.307, allocations: 8.843 MB / 0.917 GB, free: 115 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-05/2.307, allocations: 2.375 kB / 0.917 GB, free: 115 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006049/2.313, allocations: 3.344 MB / 0.9203 GB, free: 113.5 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004963/2.318, allocations: 0.7737 MB / 0.921 GB, free: 113.2 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02548/2.343, allocations: 12.69 MB / 0.9334 GB, free: 108.5 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006565/2.35, allocations: 5.015 MB / 0.9383 GB, free: 106.8 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.008291/2.358, allocations: 2.918 MB / 0.9412 GB, free: 106.6 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001557/2.36, allocations: 364.2 kB / 0.9415 GB, free: 106.5 MB / 474.8 MB Notification: Performance of SimCode: time 1.563e-06/2.36, allocations: 0 / 0.9415 GB, free: 106.5 MB / 474.8 MB Notification: Performance of Templates: time 0.1002/2.46, allocations: 59.51 MB / 0.9996 GB, free: 55.41 MB / 474.8 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint_res.mat","/var/lib/jenkins/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_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches