Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.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.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001821/0.001821, allocations: 199.3 kB / 18.06 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 226.5 MB / 245.3 MB, free: 8.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007593/0.0007593, allocations: 104.8 kB / 297.4 MB, free: 6.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002342/0.0002343, allocations: 8 kB / 357.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1932, allocations: 51.29 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3045/0.4978, allocations: 116.1 MB / 0.5124 GB, free: 97.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/0.4981, allocations: 95.33 kB / 0.5125 GB, free: 97.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3106/0.8087, allocations: 141.3 MB / 0.6505 GB, free: 7.227 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.8087, allocations: 0 / 0.6505 GB, free: 7.227 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005014/0.8092, allocations: 164 kB / 0.6506 GB, free: 7.066 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2627 * Number of variables: 2627 Notification: Performance of Generate backend data structure: time 0.02864/0.8379, allocations: 8.028 MB / 0.6585 GB, free: 14.95 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.838, allocations: 8.031 kB / 0.6585 GB, free: 14.94 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01268/0.8506, allocations: 2.814 MB / 0.6612 GB, free: 12.11 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01491/0.8656, allocations: 6.41 MB / 0.6675 GB, free: 5.617 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006651/0.8663, allocations: 0.5782 MB / 0.6681 GB, free: 5.039 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003145/0.8695, allocations: 0.7735 MB / 0.6688 GB, free: 4.266 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2541/1.124, allocations: 19.02 MB / 0.6874 GB, free: 57.71 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004886/1.124, allocations: 90.19 kB / 0.6875 GB, free: 57.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003064/1.127, allocations: 370.6 kB / 0.6878 GB, free: 57.71 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002609/1.13, allocations: 1.685 MB / 0.6895 GB, free: 57.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03321/1.163, allocations: 16 MB / 0.7051 GB, free: 57.64 MB / 442.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.08285/1.246, allocations: 80.11 MB / 0.7833 GB, free: 7.977 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02312/1.269, allocations: 8.895 MB / 0.792 GB, free: 5.383 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005572/1.275, allocations: 4.943 MB / 0.7968 GB, free: 3.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02838/1.303, allocations: 20.07 MB / 0.8164 GB, free: 3.289 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.16e-05/1.303, allocations: 60.59 kB / 0.8165 GB, free: 3.219 MB / 458.7 MB Notification: Performance of pre-optimization done (n=313): time 6.282e-06/1.303, allocations: 0 / 0.8165 GB, free: 3.219 MB / 458.7 MB Notification: Performance of matching and sorting (n=371): time 0.3929/1.696, allocations: 43.99 MB / 0.8595 GB, free: 104.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02275/1.719, allocations: 12.34 MB / 0.8715 GB, free: 97.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01797/1.737, allocations: 5.969 MB / 0.8773 GB, free: 97.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001248/1.738, allocations: 79.17 kB / 0.8774 GB, free: 97.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00546/1.744, allocations: 5.088 MB / 0.8824 GB, free: 96.03 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002826/1.747, allocations: 1.397 MB / 0.8837 GB, free: 95.22 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001728/1.749, allocations: 189.4 kB / 0.8839 GB, free: 95.22 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001193/1.75, allocations: 0.7025 MB / 0.8846 GB, free: 94.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01252/1.762, allocations: 4.32 MB / 0.8888 GB, free: 94.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01557/1.778, allocations: 9.698 MB / 0.8983 GB, free: 88.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02627/1.804, allocations: 15.16 MB / 0.9131 GB, free: 81.22 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00031/1.805, allocations: 54.53 kB / 0.9132 GB, free: 81.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.0547/1.859, allocations: 17.28 MB / 0.93 GB, free: 75.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006172/1.86, allocations: 94.41 kB / 0.9301 GB, free: 75.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007293/1.861, allocations: 185.6 kB / 0.9303 GB, free: 75.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01789/1.879, allocations: 3.553 MB / 0.9338 GB, free: 75.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01241/1.891, allocations: 2.205 MB / 0.9359 GB, free: 74.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04961/1.941, allocations: 27.15 MB / 0.9624 GB, free: 58.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01389/1.955, allocations: 0.6211 MB / 0.963 GB, free: 58.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002696/1.958, allocations: 0.5682 MB / 0.9636 GB, free: 58.48 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 856 * Number of states: 0 () * Number of discrete variables: 68 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslationOfConstraint.color[3],fixedTranslationOfConstraint.color[2],fixedTranslationOfConstraint.color[1],fixedTranslationOfJoint.color[3],fixedTranslationOfJoint.color[2],fixedTranslationOfJoint.color[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.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1144): * Single equations (assignments): 1129 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 20,(1,100.0%) 7,(2,100.0%) 24,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0115/1.969, allocations: 3.518 MB / 0.967 GB, free: 56.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002272/1.971, allocations: 0.5612 MB / 0.9676 GB, free: 56.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03391/2.005, allocations: 10.25 MB / 0.9776 GB, free: 52.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02888/2.034, allocations: 8.961 MB / 0.9863 GB, free: 45.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02796/2.062, allocations: 9.384 MB / 0.9955 GB, free: 38.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001019/2.062, allocations: 15.56 kB / 0.9955 GB, free: 38.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07206/2.135, allocations: 24.07 MB / 1.019 GB, free: 18.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.381e-05/2.135, allocations: 11.75 kB / 1.019 GB, free: 18.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005203/2.14, allocations: 0.6106 MB / 1.02 GB, free: 18.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00889/2.149, allocations: 3.005 MB / 1.023 GB, free: 16.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009893/2.15, allocations: 75.31 kB / 1.023 GB, free: 16.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3128/2.463, allocations: 21.01 MB / 1.043 GB, free: 90.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0109/2.474, allocations: 5.848 MB / 1.049 GB, free: 87.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02998/2.504, allocations: 14.54 MB / 1.063 GB, free: 87.33 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001859/2.506, allocations: 0.5956 MB / 1.064 GB, free: 87.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001891/2.507, allocations: 68.3 kB / 1.064 GB, free: 87.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004263/2.512, allocations: 273.6 kB / 1.064 GB, free: 87.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00122/2.513, allocations: 233.8 kB / 1.064 GB, free: 87.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003407/2.513, allocations: 98.12 kB / 1.064 GB, free: 87.22 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006117/2.519, allocations: 3.715 MB / 1.068 GB, free: 87.01 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.21e-07/2.52, allocations: 1.312 kB / 1.068 GB, free: 87.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009243/2.529, allocations: 2.089 MB / 1.07 GB, free: 87.01 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],joint.phi_a,joint.phi_b,joint.w_a,joint.w_b) * 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 (280): * Single equations (assignments): 272 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 19,(3,100.0%) 17,(3,100.0%) 8} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.00108/2.53, allocations: 307.2 kB / 1.07 GB, free: 86.92 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.015/2.545, allocations: 11.23 MB / 1.081 GB, free: 85.78 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/2.545, allocations: 0 / 1.081 GB, free: 85.78 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007035/2.552, allocations: 4.693 MB / 1.086 GB, free: 83.85 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0114/2.563, allocations: 0.8432 MB / 1.087 GB, free: 83.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03739/2.601, allocations: 21.51 MB / 1.108 GB, free: 72.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008848/2.61, allocations: 5.376 MB / 1.113 GB, free: 70.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002168/2.612, allocations: 466 kB / 1.113 GB, free: 70.88 MB / 490.7 MB Notification: Performance of SimCode: time 1.192e-06/2.612, allocations: 0 / 1.113 GB, free: 70.88 MB / 490.7 MB Notification: Performance of Templates: time 0.8492/3.461, allocations: 284.8 MB / 1.391 GB, free: 119.4 MB / 0.5105 GB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Constraints/UniversalConstraint/UniversalConstraint.csv","../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches