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.001624/0.001624, allocations: 180 kB / 17.01 MB, free: 5.125 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.427/1.427, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.000869/0.0008691, allocations: 90.72 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002528/0.0002531, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2399, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1313/0.3712, allocations: 113.2 MB / 489 MB, free: 15.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.3715, allocations: 99.95 kB / 489.1 MB, free: 15.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4765/0.8481, allocations: 128.9 MB / 0.6035 GB, free: 12.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.8481, allocations: 0 / 0.6035 GB, free: 12.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003616/0.8485, allocations: 147.9 kB / 0.6036 GB, free: 12.7 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.02524/0.8737, allocations: 7.567 MB / 0.611 GB, free: 5.051 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.8738, allocations: 12.03 kB / 0.6111 GB, free: 5.039 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01362/0.8874, allocations: 2.919 MB / 0.6139 GB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02169/0.9092, allocations: 8.238 MB / 0.6219 GB, free: 9.781 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000563/0.9098, allocations: 0.5256 MB / 0.6225 GB, free: 9.254 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00363/0.9134, allocations: 0.7027 MB / 0.6231 GB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04608/0.9595, allocations: 17.6 MB / 0.6403 GB, free: 5.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005723/0.9602, allocations: 83.27 kB / 0.6404 GB, free: 5.508 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003276/0.9635, allocations: 339.8 kB / 0.6407 GB, free: 5.176 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002665/0.9661, allocations: 1.527 MB / 0.6422 GB, free: 3.648 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2444/1.211, allocations: 14.78 MB / 0.6567 GB, free: 59.04 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.08671/1.297, allocations: 75.26 MB / 0.7302 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01861/1.316, allocations: 7.481 MB / 0.7375 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02174/1.338, allocations: 16.5 MB / 0.7536 GB, free: 4.625 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/1.338, allocations: 68.73 kB / 0.7536 GB, free: 4.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=262): time 6.412e-06/1.338, allocations: 0 / 0.7536 GB, free: 4.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=278): time 0.07093/1.409, allocations: 28.65 MB / 0.7816 GB, free: 2.355 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001335/1.41, allocations: 1.629 MB / 0.7832 GB, free: 0.625 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008744/1.419, allocations: 5.228 MB / 0.7883 GB, free: 12.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008348/1.42, allocations: 69.7 kB / 0.7884 GB, free: 12.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005342/1.425, allocations: 4.873 MB / 0.7931 GB, free: 7.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002693/1.428, allocations: 1.082 MB / 0.7942 GB, free: 6.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007519/1.429, allocations: 180 kB / 0.7944 GB, free: 6.645 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005546/1.429, allocations: 0.6859 MB / 0.795 GB, free: 6.062 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005103/1.434, allocations: 3.305 MB / 0.7983 GB, free: 3.262 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0101/1.444, allocations: 8.723 MB / 0.8068 GB, free: 8.656 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008236/1.453, allocations: 5.241 MB / 0.8119 GB, free: 3.977 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001492/1.453, allocations: 56 kB / 0.812 GB, free: 3.922 MB / 458.7 MB Notification: Performance of matching and sorting (n=1173) (initialization): time 0.2796/1.732, allocations: 13.73 MB / 0.8254 GB, free: 96.75 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000155/1.733, allocations: 88.56 kB / 0.8254 GB, free: 96.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01062/1.743, allocations: 5.758 MB / 0.8311 GB, free: 96.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006232/1.75, allocations: 2.096 MB / 0.8331 GB, free: 96.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007649/1.757, allocations: 2.134 MB / 0.8352 GB, free: 96.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01374/1.771, allocations: 14.36 MB / 0.8492 GB, free: 88.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00853/1.78, allocations: 0.5705 MB / 0.8498 GB, free: 88.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00235/1.782, allocations: 0.5353 MB / 0.8503 GB, free: 88.72 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.008547/1.791, allocations: 3.241 MB / 0.8535 GB, free: 88.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001364/1.792, allocations: 0.5241 MB / 0.854 GB, free: 88.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/1.804, allocations: 6.504 MB / 0.8603 GB, free: 88.08 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009398/1.814, allocations: 5.58 MB / 0.8658 GB, free: 87.63 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.009868/1.824, allocations: 5.973 MB / 0.8716 GB, free: 86.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.429e-05/1.824, allocations: 10.92 kB / 0.8716 GB, free: 86.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03085/1.855, allocations: 17.4 MB / 0.8886 GB, free: 80.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-05/1.855, allocations: 10.12 kB / 0.8886 GB, free: 80.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002385/1.857, allocations: 0.5098 MB / 0.8891 GB, free: 80.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005012/1.862, allocations: 1.804 MB / 0.8909 GB, free: 80.19 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004014/1.863, allocations: 68.77 kB / 0.891 GB, free: 80.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01103/1.874, allocations: 9.946 MB / 0.9007 GB, free: 74.41 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007729/1.874, allocations: 1.483 MB / 0.9021 GB, free: 72.98 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/1.889, allocations: 10.94 MB / 0.9128 GB, free: 65.61 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001931/1.891, allocations: 0.5731 MB / 0.9134 GB, free: 65.04 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001418/1.892, allocations: 63.66 kB / 0.9134 GB, free: 64.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003663/1.896, allocations: 220.9 kB / 0.9136 GB, free: 64.85 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005395/1.896, allocations: 199.8 kB / 0.9138 GB, free: 64.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002302/1.897, allocations: 86.75 kB / 0.9139 GB, free: 64.65 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006241/1.903, allocations: 3.656 MB / 0.9175 GB, free: 61.64 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.81e-07/1.903, allocations: 4 kB / 0.9175 GB, free: 61.64 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009875/1.913, allocations: 1.704 MB / 0.9191 GB, free: 59.96 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.001123/1.914, allocations: 280.7 kB / 0.9194 GB, free: 59.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01516/1.929, allocations: 8.943 MB / 0.9281 GB, free: 51.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/1.929, allocations: 0 / 0.9281 GB, free: 51.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006052/1.935, allocations: 3.39 MB / 0.9315 GB, free: 48.85 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005753/1.941, allocations: 0.7814 MB / 0.9322 GB, free: 48.22 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03427/1.975, allocations: 18.03 MB / 0.9498 GB, free: 31.82 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01117/1.987, allocations: 5.022 MB / 0.9547 GB, free: 28.12 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009968/1.997, allocations: 2.918 MB / 0.9576 GB, free: 25.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001766/1.998, allocations: 367.4 kB / 0.9579 GB, free: 25.54 MB / 458.7 MB Notification: Performance of SimCode: time 1.303e-06/1.998, allocations: 0 / 0.9579 GB, free: 25.54 MB / 458.7 MB Notification: Performance of Templates: time 0.357/2.355, allocations: 59.48 MB / 1.016 GB, free: 87.02 MB / 458.7 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