Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001084/0.001084, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009133/0.0009137, allocations: 92.75 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002155/0.0002154, allocations: 11.98 kB / 357.9 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1975, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2953/0.4928, allocations: 115.9 MB / 0.513 GB, free: 96.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.493, allocations: 91.19 kB / 0.5131 GB, free: 96.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3036/0.7966, allocations: 144.7 MB / 0.6544 GB, free: 2.219 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.7967, allocations: 0 / 0.6544 GB, free: 2.219 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006351/0.7973, allocations: 167.9 kB / 0.6546 GB, free: 2.055 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.02907/0.8264, allocations: 8.449 MB / 0.6629 GB, free: 9.516 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.8265, allocations: 8.031 kB / 0.6629 GB, free: 9.508 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01321/0.8397, allocations: 2.887 MB / 0.6657 GB, free: 6.605 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2287/1.068, allocations: 7.092 MB / 0.6726 GB, free: 59.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009922/1.069, allocations: 0.5821 MB / 0.6732 GB, free: 59.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00364/1.073, allocations: 0.7675 MB / 0.6739 GB, free: 59.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04336/1.116, allocations: 19.26 MB / 0.6927 GB, free: 55.76 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007556/1.117, allocations: 88 kB / 0.6928 GB, free: 55.76 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003204/1.121, allocations: 370.6 kB / 0.6932 GB, free: 55.76 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0025/1.123, allocations: 1.684 MB / 0.6948 GB, free: 55.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03241/1.155, allocations: 16.3 MB / 0.7107 GB, free: 55.7 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.08839/1.244, allocations: 80.25 MB / 0.7891 GB, free: 19.99 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02161/1.266, allocations: 9.075 MB / 0.798 GB, free: 17.36 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02817/1.294, allocations: 20.22 MB / 0.8177 GB, free: 272 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.269e-05/1.294, allocations: 60.59 kB / 0.8178 GB, free: 200 kB / 458.7 MB Notification: Performance of pre-optimization done (n=313): time 5.199e-06/1.294, allocations: 0 / 0.8178 GB, free: 200 kB / 458.7 MB Notification: Performance of matching and sorting (n=371): time 0.3224/1.616, allocations: 46.28 MB / 0.863 GB, free: 84.56 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01296/1.629, allocations: 12.91 MB / 0.8756 GB, free: 77.96 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00741/1.637, allocations: 5.3 MB / 0.8808 GB, free: 77.48 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008368/1.638, allocations: 81.78 kB / 0.8808 GB, free: 77.45 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002303/1.64, allocations: 5.082 MB / 0.8858 GB, free: 75.01 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001596/1.642, allocations: 1.385 MB / 0.8871 GB, free: 74.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004843/1.642, allocations: 192.1 kB / 0.8873 GB, free: 74.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003877/1.642, allocations: 0.7108 MB / 0.888 GB, free: 73.88 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004975/1.647, allocations: 4.321 MB / 0.8922 GB, free: 73.85 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007001/1.654, allocations: 9.656 MB / 0.9017 GB, free: 67.03 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006679/1.661, allocations: 6.338 MB / 0.9079 GB, free: 65.39 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.332e-05/1.661, allocations: 53.56 kB / 0.9079 GB, free: 65.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.02794/1.689, allocations: 17.29 MB / 0.9248 GB, free: 59.73 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001237/1.689, allocations: 86.72 kB / 0.9249 GB, free: 59.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002006/1.69, allocations: 186.8 kB / 0.9251 GB, free: 59.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009464/1.699, allocations: 3.582 MB / 0.9286 GB, free: 59.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007828/1.707, allocations: 2.205 MB / 0.9307 GB, free: 58.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02711/1.734, allocations: 27.79 MB / 0.9579 GB, free: 42.06 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00846/1.742, allocations: 0.614 MB / 0.9584 GB, free: 41.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001624/1.744, allocations: 0.5671 MB / 0.959 GB, free: 41.03 MB / 474.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.006349/1.75, allocations: 3.508 MB / 0.9624 GB, free: 37.93 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/1.752, allocations: 0.563 MB / 0.963 GB, free: 37.36 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01704/1.769, allocations: 10.25 MB / 0.973 GB, free: 29.19 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01463/1.783, allocations: 8.959 MB / 0.9817 GB, free: 21.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01469/1.798, allocations: 9.37 MB / 0.9909 GB, free: 14.22 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-05/1.798, allocations: 22.38 kB / 0.9909 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2618/2.06, allocations: 24.4 MB / 1.015 GB, free: 89.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.817e-05/2.06, allocations: 3.969 kB / 1.015 GB, free: 89.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003577/2.064, allocations: 0.6139 MB / 1.015 GB, free: 89.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007985/2.072, allocations: 2.999 MB / 1.018 GB, free: 89.54 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007806/2.072, allocations: 69.17 kB / 1.018 GB, free: 89.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02512/2.098, allocations: 21.62 MB / 1.039 GB, free: 84.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005959/2.104, allocations: 6.035 MB / 1.045 GB, free: 81.64 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0221/2.126, allocations: 15.08 MB / 1.06 GB, free: 80.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001682/2.127, allocations: 0.5975 MB / 1.061 GB, free: 80.35 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001025/2.128, allocations: 61.78 kB / 1.061 GB, free: 80.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002591/2.131, allocations: 270.2 kB / 1.061 GB, free: 80.35 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006241/2.132, allocations: 234.8 kB / 1.061 GB, free: 80.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000266/2.132, allocations: 99.42 kB / 1.061 GB, free: 80.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004857/2.137, allocations: 3.713 MB / 1.065 GB, free: 80.13 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/2.137, allocations: 2.406 kB / 1.065 GB, free: 80.13 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007727/2.145, allocations: 2.093 MB / 1.067 GB, free: 80.13 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.0007843/2.145, allocations: 299.6 kB / 1.067 GB, free: 80.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0133/2.159, allocations: 11.22 MB / 1.078 GB, free: 76.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/2.159, allocations: 2.156 kB / 1.078 GB, free: 76.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006047/2.165, allocations: 4.702 MB / 1.083 GB, free: 74.97 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004055/2.169, allocations: 0.8091 MB / 1.084 GB, free: 74.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02665/2.196, allocations: 20.6 MB / 1.104 GB, free: 64.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005264/2.201, allocations: 5.523 MB / 1.109 GB, free: 62.56 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007378/2.208, allocations: 3.075 MB / 1.112 GB, free: 62.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/2.209, allocations: 403.2 kB / 1.112 GB, free: 62.32 MB / 490.7 MB Notification: Performance of SimCode: time 7.92e-07/2.209, allocations: 0 / 1.112 GB, free: 62.32 MB / 490.7 MB Notification: Performance of Templates: time 0.3184/2.528, allocations: 80.9 MB / 1.191 GB, free: 105 MB / 0.4948 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Constraints/UniversalConstraint/UniversalConstraint.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches