Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.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.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_3.2.3_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_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009103/0.0009103, allocations: 177 kB / 17.41 MB, free: 4.41 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.306/1.306, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.0007836/0.0007838, allocations: 86.38 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002845/0.0002846, allocations: 11.98 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2374, allocations: 47.57 MB / 375.7 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1292/0.3666, allocations: 114.4 MB / 490.2 MB, free: 14.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.367, allocations: 99.94 kB / 490.3 MB, free: 14.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4442/0.8112, allocations: 139.7 MB / 0.6152 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.108e-06/0.8113, allocations: 0 / 0.6152 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005058/0.8118, allocations: 163.9 kB / 0.6153 GB, free: 0.6172 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: 2676 * Number of variables: 2676 Notification: Performance of Generate backend data structure: time 0.03012/0.842, allocations: 7.997 MB / 0.6232 GB, free: 8.523 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.842, allocations: 8.031 kB / 0.6232 GB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01401/0.856, allocations: 2.834 MB / 0.6259 GB, free: 5.668 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01766/0.8738, allocations: 6.976 MB / 0.6327 GB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007367/0.8745, allocations: 0.5862 MB / 0.6333 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004297/0.8789, allocations: 0.7891 MB / 0.6341 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4747/1.354, allocations: 19.29 MB / 0.6529 GB, free: 47.3 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003805/1.354, allocations: 93.53 kB / 0.653 GB, free: 47.3 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001931/1.356, allocations: 366.1 kB / 0.6534 GB, free: 47.3 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00218/1.358, allocations: 1.726 MB / 0.655 GB, free: 47.29 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03185/1.39, allocations: 16.27 MB / 0.6709 GB, free: 47.23 MB / 410.8 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.09428/1.484, allocations: 81.01 MB / 0.75 GB, free: 15.33 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02328/1.508, allocations: 8.989 MB / 0.7588 GB, free: 12.69 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006158/1.514, allocations: 4.993 MB / 0.7637 GB, free: 10.56 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03379/1.548, allocations: 20.53 MB / 0.7837 GB, free: 14.49 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.427e-05/1.548, allocations: 68.03 kB / 0.7838 GB, free: 14.42 MB / 442.8 MB Notification: Performance of pre-optimization done (n=322): time 5.751e-06/1.548, allocations: 0 / 0.7838 GB, free: 14.42 MB / 442.8 MB Notification: Performance of matching and sorting (n=380): time 0.3225/1.87, allocations: 44.8 MB / 0.8276 GB, free: 97.43 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01187/1.882, allocations: 12.34 MB / 0.8396 GB, free: 91.07 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008318/1.891, allocations: 6.088 MB / 0.8456 GB, free: 90.7 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009448/1.892, allocations: 86.55 kB / 0.8456 GB, free: 90.67 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002782/1.894, allocations: 5.162 MB / 0.8507 GB, free: 88.29 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00174/1.896, allocations: 1.416 MB / 0.8521 GB, free: 87.47 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005503/1.897, allocations: 195.3 kB / 0.8523 GB, free: 87.47 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0005759/1.897, allocations: 0.7144 MB / 0.853 GB, free: 87.14 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0063/1.904, allocations: 4.387 MB / 0.8572 GB, free: 87.12 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009844/1.913, allocations: 9.829 MB / 0.8668 GB, free: 80.2 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01658/1.93, allocations: 15.39 MB / 0.8819 GB, free: 71.94 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003663/1.93, allocations: 52.97 kB / 0.8819 GB, free: 71.94 MB / 458.8 MB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.03558/1.966, allocations: 17.49 MB / 0.899 GB, free: 65.56 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000437/1.967, allocations: 85.84 kB / 0.8991 GB, free: 65.56 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004881/1.967, allocations: 192.8 kB / 0.8993 GB, free: 65.56 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01008/1.977, allocations: 3.56 MB / 0.9027 GB, free: 64.88 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008312/1.986, allocations: 2.254 MB / 0.9049 GB, free: 64.61 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03022/2.016, allocations: 27.01 MB / 0.9313 GB, free: 48.06 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01003/2.026, allocations: 0.6275 MB / 0.9319 GB, free: 47.56 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002524/2.028, allocations: 0.5776 MB / 0.9325 GB, free: 47.02 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 869 * Number of states: 0 () * Number of discrete variables: 66 (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.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 (1166): * Single equations (assignments): 1151 * 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.01004/2.038, allocations: 3.577 MB / 0.936 GB, free: 43.88 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001954/2.04, allocations: 0.5707 MB / 0.9365 GB, free: 43.3 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0225/2.063, allocations: 10.38 MB / 0.9467 GB, free: 35 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01899/2.082, allocations: 9.054 MB / 0.9555 GB, free: 27.6 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01761/2.1, allocations: 9.479 MB / 0.9648 GB, free: 19.81 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.162e-05/2.1, allocations: 16.73 kB / 0.9648 GB, free: 19.81 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2761/2.376, allocations: 24.66 MB / 0.9889 GB, free: 85.48 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.361e-05/2.376, allocations: 6.781 kB / 0.9889 GB, free: 85.48 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003309/2.379, allocations: 0.6437 MB / 0.9895 GB, free: 85.48 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008358/2.388, allocations: 2.989 MB / 0.9924 GB, free: 85.45 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007828/2.389, allocations: 75.02 kB / 0.9925 GB, free: 85.45 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02534/2.414, allocations: 20.96 MB / 1.013 GB, free: 80.27 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006962/2.421, allocations: 5.853 MB / 1.019 GB, free: 77.51 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02591/2.447, allocations: 14.8 MB / 1.033 GB, free: 76.86 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003993/2.451, allocations: 1.257 MB / 1.034 GB, free: 76.61 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001773/2.453, allocations: 64.5 kB / 1.034 GB, free: 76.57 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003717/2.456, allocations: 280.2 kB / 1.035 GB, free: 76.53 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009931/2.457, allocations: 255.5 kB / 1.035 GB, free: 76.48 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003177/2.458, allocations: 103.6 kB / 1.035 GB, free: 76.46 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.006377/2.464, allocations: 3.799 MB / 1.039 GB, free: 75.18 MB / 458.8 MB Notification: Performance of sort global known variables: time 4.71e-07/2.464, allocations: 0 / 1.039 GB, free: 75.18 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.009802/2.474, allocations: 2.103 MB / 1.041 GB, free: 74.96 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (290): * Single equations (assignments): 282 * 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.0009138/2.475, allocations: 286.1 kB / 1.041 GB, free: 74.83 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01499/2.49, allocations: 11.39 MB / 1.052 GB, free: 70.78 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/2.49, allocations: 3.75 kB / 1.052 GB, free: 70.78 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006708/2.497, allocations: 4.797 MB / 1.057 GB, free: 68.84 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009134/2.506, allocations: 0.8661 MB / 1.058 GB, free: 68.5 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03068/2.537, allocations: 21.93 MB / 1.079 GB, free: 55.12 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00669/2.543, allocations: 5.459 MB / 1.084 GB, free: 51.02 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002103/2.545, allocations: 476.5 kB / 1.085 GB, free: 50.58 MB / 458.8 MB Notification: Performance of SimCode: time 1.152e-06/2.545, allocations: 3.844 kB / 1.085 GB, free: 50.58 MB / 458.8 MB Notification: Performance of Templates: time 0.7421/3.288, allocations: 289.7 MB / 1.368 GB, free: 138.6 MB / 0.5105 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Constraints/UniversalConstraint/UniversalConstraint.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches