Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008874/0.0008874, allocations: 176.3 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 223.3 MB / 241.4 MB, free: 11.72 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 101 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004789, allocations: 11.94 kB / 352.3 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2867, allocations: 50.4 MB / 402.7 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3333/0.62, allocations: 115.8 MB / 0.5064 GB, free: 98.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.6203, allocations: 99.03 kB / 0.5065 GB, free: 98.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2973/0.9177, allocations: 139.1 MB / 0.6423 GB, free: 2.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.9177, allocations: 0 / 0.6423 GB, free: 2.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004813/0.9182, allocations: 163.9 kB / 0.6425 GB, free: 2.02 MB / 410.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.02418/0.9424, allocations: 7.876 MB / 0.6502 GB, free: 10.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.9425, allocations: 8.031 kB / 0.6502 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0123/0.9548, allocations: 2.818 MB / 0.6529 GB, free: 7.211 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01581/0.9706, allocations: 6.601 MB / 0.6594 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2092/1.18, allocations: 0.5785 MB / 0.6599 GB, free: 52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003308/1.183, allocations: 0.7648 MB / 0.6607 GB, free: 52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03814/1.221, allocations: 19.03 MB / 0.6793 GB, free: 48.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005239/1.222, allocations: 87.75 kB / 0.6794 GB, free: 48.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002524/1.224, allocations: 362.7 kB / 0.6797 GB, free: 48.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002191/1.227, allocations: 1.691 MB / 0.6814 GB, free: 48.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02958/1.256, allocations: 16 MB / 0.697 GB, free: 48.23 MB / 426.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.08099/1.337, allocations: 80.1 MB / 0.7752 GB, free: 13.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02196/1.359, allocations: 8.903 MB / 0.7839 GB, free: 9.949 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00642/1.366, allocations: 4.946 MB / 0.7887 GB, free: 5.504 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03174/1.398, allocations: 20.07 MB / 0.8083 GB, free: 3.91 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/1.398, allocations: 71.02 kB / 0.8084 GB, free: 3.836 MB / 458.7 MB Notification: Performance of pre-optimization done (n=313): time 6.552e-06/1.398, allocations: 0 / 0.8084 GB, free: 3.836 MB / 458.7 MB Notification: Performance of matching and sorting (n=371): time 0.3425/1.74, allocations: 44.98 MB / 0.8523 GB, free: 90.99 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01272/1.753, allocations: 12.33 MB / 0.8644 GB, free: 84.57 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008932/1.762, allocations: 5.968 MB / 0.8702 GB, free: 84.06 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009382/1.763, allocations: 78.39 kB / 0.8703 GB, free: 84.03 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00317/1.766, allocations: 5.094 MB / 0.8752 GB, free: 81.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001921/1.768, allocations: 1.376 MB / 0.8766 GB, free: 80.81 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000585/1.769, allocations: 187.3 kB / 0.8768 GB, free: 80.81 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004447/1.769, allocations: 0.709 MB / 0.8775 GB, free: 80.49 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005729/1.775, allocations: 4.322 MB / 0.8817 GB, free: 80.46 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00782/1.783, allocations: 9.696 MB / 0.8911 GB, free: 73.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01713/1.8, allocations: 15.18 MB / 0.906 GB, free: 64.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004508/1.8, allocations: 53 kB / 0.906 GB, free: 64.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.03524/1.836, allocations: 17.28 MB / 0.9229 GB, free: 58.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/1.836, allocations: 84.88 kB / 0.923 GB, free: 58.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002556/1.836, allocations: 193.2 kB / 0.9232 GB, free: 58.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01315/1.849, allocations: 3.557 MB / 0.9266 GB, free: 57.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01464/1.864, allocations: 2.205 MB / 0.9288 GB, free: 57.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05026/1.914, allocations: 27.17 MB / 0.9553 GB, free: 41.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01216/1.926, allocations: 0.6101 MB / 0.9559 GB, free: 41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001992/1.928, allocations: 0.5713 MB / 0.9565 GB, free: 40.46 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.007226/1.936, allocations: 3.515 MB / 0.9599 GB, free: 37.35 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001155/1.937, allocations: 0.5591 MB / 0.9604 GB, free: 36.79 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02314/1.96, allocations: 10.26 MB / 0.9705 GB, free: 28.59 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02614/1.986, allocations: 8.964 MB / 0.9792 GB, free: 21.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02713/2.013, allocations: 9.374 MB / 0.9884 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001044/2.014, allocations: 15.09 kB / 0.9884 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2983/2.312, allocations: 24.69 MB / 1.012 GB, free: 82.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.718e-05/2.312, allocations: 3.656 kB / 1.012 GB, free: 82.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003152/2.315, allocations: 0.616 MB / 1.013 GB, free: 82.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008326/2.323, allocations: 3.002 MB / 1.016 GB, free: 82.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007722/2.324, allocations: 75.06 kB / 1.016 GB, free: 82.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02524/2.349, allocations: 21.02 MB / 1.037 GB, free: 77.62 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006051/2.356, allocations: 5.859 MB / 1.042 GB, free: 74.86 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02423/2.38, allocations: 14.54 MB / 1.057 GB, free: 74.32 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001671/2.382, allocations: 0.5982 MB / 1.057 GB, free: 74.22 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00149/2.383, allocations: 66.72 kB / 1.057 GB, free: 74.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003656/2.387, allocations: 268.3 kB / 1.057 GB, free: 74.22 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009109/2.388, allocations: 235.7 kB / 1.058 GB, free: 74.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002801/2.388, allocations: 104.4 kB / 1.058 GB, free: 74.21 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005914/2.394, allocations: 3.706 MB / 1.061 GB, free: 73.85 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.394, allocations: 0 / 1.061 GB, free: 73.85 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009881/2.404, allocations: 2.082 MB / 1.063 GB, free: 73.64 MB / 474.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.0009991/2.405, allocations: 289.3 kB / 1.064 GB, free: 73.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01663/2.421, allocations: 11.22 MB / 1.075 GB, free: 69.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/2.422, allocations: 0 / 1.075 GB, free: 69.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006747/2.428, allocations: 4.701 MB / 1.079 GB, free: 67.57 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007946/2.436, allocations: 0.8392 MB / 1.08 GB, free: 67.24 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02825/2.465, allocations: 20.64 MB / 1.1 GB, free: 56.92 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006664/2.471, allocations: 5.366 MB / 1.105 GB, free: 54.04 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008083/2.479, allocations: 3.077 MB / 1.108 GB, free: 52.18 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001633/2.481, allocations: 404.3 kB / 1.109 GB, free: 51.81 MB / 474.7 MB Notification: Performance of SimCode: time 6.61e-07/2.481, allocations: 0 / 1.109 GB, free: 51.81 MB / 474.7 MB Notification: Performance of Templates: time 0.3299/2.811, allocations: 80.93 MB / 1.188 GB, free: 89.71 MB / 490.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches