Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001404/0.001404, allocations: 179.9 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.394/1.394, 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.0009286/0.0009286, allocations: 92.09 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002576/0.0002576, allocations: 11.98 kB / 328.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2236, allocations: 47.56 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.3488, allocations: 114.2 MB / 490 MB, free: 14.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.3491, allocations: 95.89 kB / 490.1 MB, free: 14.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.527/0.8761, allocations: 141.6 MB / 0.6169 GB, free: 15.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.8761, allocations: 0 / 0.6169 GB, free: 15.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0008618/0.877, allocations: 163.9 kB / 0.617 GB, free: 15.04 MB / 394.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.03592/0.913, allocations: 8.419 MB / 0.6253 GB, free: 6.527 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.913, allocations: 12.03 kB / 0.6253 GB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/0.9275, allocations: 2.907 MB / 0.6281 GB, free: 3.594 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0215/0.9491, allocations: 8.096 MB / 0.636 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008715/0.95, allocations: 0.5937 MB / 0.6366 GB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004533/0.9546, allocations: 0.7847 MB / 0.6374 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4727/1.427, allocations: 19.53 MB / 0.6564 GB, free: 47.68 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006169/1.428, allocations: 90.66 kB / 0.6565 GB, free: 47.68 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003829/1.432, allocations: 378 kB / 0.6569 GB, free: 47.68 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002655/1.434, allocations: 1.721 MB / 0.6586 GB, free: 47.67 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03637/1.471, allocations: 16.56 MB / 0.6747 GB, free: 47.62 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.09493/1.566, allocations: 81.16 MB / 0.754 GB, free: 14.43 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02402/1.59, allocations: 9.174 MB / 0.763 GB, free: 11.77 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03689/1.627, allocations: 20.48 MB / 0.783 GB, free: 14.47 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.035e-05/1.627, allocations: 68.03 kB / 0.783 GB, free: 14.39 MB / 442.8 MB Notification: Performance of pre-optimization done (n=322): time 6.582e-06/1.627, allocations: 0 / 0.783 GB, free: 14.39 MB / 442.8 MB Notification: Performance of matching and sorting (n=380): time 0.3917/2.019, allocations: 46.23 MB / 0.8282 GB, free: 95.8 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01315/2.032, allocations: 12.91 MB / 0.8408 GB, free: 89.21 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01041/2.042, allocations: 5.415 MB / 0.8461 GB, free: 88.73 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001132/2.043, allocations: 83.61 kB / 0.8461 GB, free: 88.7 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003969/2.047, allocations: 5.166 MB / 0.8512 GB, free: 86.27 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002301/2.05, allocations: 1.416 MB / 0.8526 GB, free: 85.45 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009856/2.051, allocations: 196.9 kB / 0.8528 GB, free: 85.45 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0004971/2.051, allocations: 0.7163 MB / 0.8535 GB, free: 85.12 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006397/2.058, allocations: 4.378 MB / 0.8577 GB, free: 85.1 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01009/2.068, allocations: 9.8 MB / 0.8673 GB, free: 78.18 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009059/2.077, allocations: 6.423 MB / 0.8736 GB, free: 78.12 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001842/2.077, allocations: 54.03 kB / 0.8736 GB, free: 78.12 MB / 458.8 MB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.03349/2.111, allocations: 17.5 MB / 0.8907 GB, free: 72.88 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001683/2.111, allocations: 85.41 kB / 0.8908 GB, free: 72.88 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002839/2.111, allocations: 190 kB / 0.891 GB, free: 72.88 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01023/2.121, allocations: 3.592 MB / 0.8945 GB, free: 72.2 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008777/2.13, allocations: 2.25 MB / 0.8967 GB, free: 71.95 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02844/2.159, allocations: 27.65 MB / 0.9237 GB, free: 55.59 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009807/2.169, allocations: 0.631 MB / 0.9243 GB, free: 55.41 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002668/2.171, allocations: 0.5781 MB / 0.9249 GB, free: 55.34 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.01017/2.181, allocations: 3.562 MB / 0.9283 GB, free: 53.06 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/2.183, allocations: 0.5669 MB / 0.9289 GB, free: 52.49 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01844/2.201, allocations: 10.37 MB / 0.939 GB, free: 44.22 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01672/2.218, allocations: 9.053 MB / 0.9479 GB, free: 36.85 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01661/2.235, allocations: 9.476 MB / 0.9571 GB, free: 29.08 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.313e-05/2.235, allocations: 32.47 kB / 0.9572 GB, free: 29.07 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04886/2.284, allocations: 24.64 MB / 0.9812 GB, free: 8.152 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.961e-05/2.284, allocations: 7.984 kB / 0.9812 GB, free: 8.145 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003335/2.287, allocations: 0.6307 MB / 0.9818 GB, free: 7.516 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2694/2.557, allocations: 2.994 MB / 0.9848 GB, free: 84.06 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001067/2.558, allocations: 76.62 kB / 0.9848 GB, free: 84.06 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02708/2.585, allocations: 21.57 MB / 1.006 GB, free: 78.93 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007036/2.592, allocations: 6.04 MB / 1.012 GB, free: 76.17 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04439/2.636, allocations: 15.68 MB / 1.027 GB, free: 74.48 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006687/2.643, allocations: 1.26 MB / 1.028 GB, free: 74.39 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002758/2.646, allocations: 66.06 kB / 1.028 GB, free: 74.39 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007826/2.654, allocations: 276 kB / 1.029 GB, free: 74.39 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001582/2.655, allocations: 254.4 kB / 1.029 GB, free: 74.38 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005654/2.656, allocations: 102 kB / 1.029 GB, free: 74.38 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.01202/2.668, allocations: 3.798 MB / 1.033 GB, free: 74.12 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.773e-06/2.668, allocations: 0 / 1.033 GB, free: 74.12 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01684/2.685, allocations: 2.096 MB / 1.035 GB, free: 73.9 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.001606/2.687, allocations: 293 kB / 1.035 GB, free: 73.77 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0208/2.707, allocations: 11.39 MB / 1.046 GB, free: 69.73 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/2.707, allocations: 2.188 kB / 1.046 GB, free: 69.73 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007301/2.715, allocations: 4.794 MB / 1.051 GB, free: 67.79 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004581/2.719, allocations: 0.8122 MB / 1.052 GB, free: 67.48 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03084/2.75, allocations: 21 MB / 1.072 GB, free: 56.9 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009203/2.759, allocations: 5.609 MB / 1.078 GB, free: 54.25 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.008892/2.768, allocations: 3.128 MB / 1.081 GB, free: 52.27 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001901/2.77, allocations: 409.1 kB / 1.081 GB, free: 51.9 MB / 458.8 MB Notification: Performance of SimCode: time 8.41e-07/2.77, allocations: 4 kB / 1.081 GB, free: 51.89 MB / 458.8 MB Notification: Performance of Templates: time 0.3513/3.122, allocations: 81.76 MB / 1.161 GB, free: 93.83 MB / 474.8 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat","/var/lib/jenkins/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_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches