Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.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.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001025/0.001025, allocations: 197.1 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 226.5 MB / 245.4 MB, free: 6.438 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008167/0.0008166, allocations: 105.8 kB / 297.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000215/0.000215, allocations: 4 kB / 358.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2217, allocations: 51.28 MB / 409.4 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3865/0.6082, allocations: 115.5 MB / 0.5126 GB, free: 97.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003309/0.6087, allocations: 96.31 kB / 0.5127 GB, free: 97.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2787/0.8873, allocations: 128.3 MB / 0.638 GB, free: 4.695 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.8874, allocations: 4 kB / 0.638 GB, free: 4.691 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004246/0.8878, allocations: 144 kB / 0.6381 GB, free: 4.551 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: 2341 * Number of variables: 2341 Notification: Performance of Generate backend data structure: time 0.02574/0.9136, allocations: 7.258 MB / 0.6452 GB, free: 13.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.9136, allocations: 8.031 kB / 0.6452 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/0.926, allocations: 2.687 MB / 0.6478 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01587/0.9419, allocations: 5.872 MB / 0.6536 GB, free: 4.539 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005523/0.9425, allocations: 0.5139 MB / 0.6541 GB, free: 4.023 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003144/0.9457, allocations: 0.6836 MB / 0.6547 GB, free: 3.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03834/0.984, allocations: 17.05 MB / 0.6714 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003376/0.9844, allocations: 79.47 kB / 0.6714 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002051/0.9865, allocations: 331.8 kB / 0.6718 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2048/1.191, allocations: 1.486 MB / 0.6732 GB, free: 68.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02766/1.219, allocations: 14.23 MB / 0.6871 GB, free: 68.86 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.07162/1.291, allocations: 72.76 MB / 0.7582 GB, free: 26.63 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01811/1.309, allocations: 7.62 MB / 0.7656 GB, free: 24.37 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004123/1.313, allocations: 3.977 MB / 0.7695 GB, free: 22.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01994/1.333, allocations: 16.37 MB / 0.7855 GB, free: 14.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/1.333, allocations: 72.84 kB / 0.7856 GB, free: 14.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=266): time 5.29e-06/1.333, allocations: 0 / 0.7856 GB, free: 14.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=340): time 0.1196/1.453, allocations: 44.6 MB / 0.8291 GB, free: 13.62 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2286/1.681, allocations: 15.44 MB / 0.8442 GB, free: 98.56 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008125/1.689, allocations: 5.606 MB / 0.8497 GB, free: 98.25 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009234/1.69, allocations: 77.59 kB / 0.8497 GB, free: 98.21 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002881/1.693, allocations: 4.69 MB / 0.8543 GB, free: 96.78 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001613/1.695, allocations: 1.268 MB / 0.8556 GB, free: 96.05 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000457/1.695, allocations: 182.2 kB / 0.8557 GB, free: 96.05 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004268/1.696, allocations: 0.6895 MB / 0.8564 GB, free: 95.72 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005734/1.702, allocations: 4.076 MB / 0.8604 GB, free: 95.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0083/1.71, allocations: 9.253 MB / 0.8694 GB, free: 89.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01669/1.727, allocations: 14.47 MB / 0.8835 GB, free: 82.48 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003225/1.727, allocations: 56.72 kB / 0.8836 GB, free: 82.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.03696/1.764, allocations: 17.83 MB / 0.901 GB, free: 79.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003557/1.764, allocations: 80.22 kB / 0.9011 GB, free: 79.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004241/1.765, allocations: 183.2 kB / 0.9013 GB, free: 79.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01487/1.78, allocations: 4.952 MB / 0.9061 GB, free: 78.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006755/1.787, allocations: 1.985 MB / 0.908 GB, free: 78.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04388/1.83, allocations: 37.16 MB / 0.9443 GB, free: 58.17 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007889/1.838, allocations: 0.5393 MB / 0.9449 GB, free: 58.01 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001994/1.84, allocations: 0.5519 MB / 0.9454 GB, free: 57.94 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 62 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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 (1042): * Single equations (assignments): 1031 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 38,(2,100.0%) 23,(2,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.00752/1.848, allocations: 3.238 MB / 0.9486 GB, free: 55.67 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001651/1.85, allocations: 0.5206 MB / 0.9491 GB, free: 55.14 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01979/1.869, allocations: 10.43 MB / 0.9592 GB, free: 46.95 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.153e-05/1.869, allocations: 44 kB / 0.9593 GB, free: 46.91 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01729/1.887, allocations: 9.549 MB / 0.9686 GB, free: 39.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.6e-05/1.887, allocations: 17.81 kB / 0.9686 GB, free: 39.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04003/1.927, allocations: 23.13 MB / 0.9912 GB, free: 20.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.981e-05/1.927, allocations: 7.938 kB / 0.9912 GB, free: 20.67 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00233/1.929, allocations: 445.7 kB / 0.9916 GB, free: 20.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01102/1.94, allocations: 3.689 MB / 0.9953 GB, free: 17.03 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007543/1.941, allocations: 61.17 kB / 0.9953 GB, free: 16.97 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2736/2.215, allocations: 27.26 MB / 1.022 GB, free: 97.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01526/2.23, allocations: 12.17 MB / 1.034 GB, free: 94.46 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02426/2.254, allocations: 14.16 MB / 1.048 GB, free: 93.92 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001486/2.256, allocations: 0.5588 MB / 1.048 GB, free: 93.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007393/2.257, allocations: 59.44 kB / 1.048 GB, free: 93.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002561/2.259, allocations: 216.2 kB / 1.048 GB, free: 93.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007791/2.26, allocations: 236.2 kB / 1.049 GB, free: 93.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002422/2.26, allocations: 97.38 kB / 1.049 GB, free: 93.81 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004845/2.265, allocations: 3.486 MB / 1.052 GB, free: 93.63 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.3e-07/2.265, allocations: 0 / 1.052 GB, free: 93.63 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01086/2.276, allocations: 2.038 MB / 1.054 GB, free: 93.63 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,joint.w) * 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 (206): * Single equations (assignments): 198 * 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 {(1,100.0%) 11,(3,100.0%) 35,(3,100.0%) 25} * Non-linear torn systems: 1 {3 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.001061/2.277, allocations: 289 kB / 1.054 GB, free: 93.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01678/2.294, allocations: 10.73 MB / 1.065 GB, free: 92.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/2.294, allocations: 0 / 1.065 GB, free: 92.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006493/2.3, allocations: 4.223 MB / 1.069 GB, free: 90.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009785/2.31, allocations: 0.7881 MB / 1.07 GB, free: 90.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03328/2.344, allocations: 18.77 MB / 1.088 GB, free: 80.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009759/2.353, allocations: 4.926 MB / 1.093 GB, free: 79.31 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008774/2.362, allocations: 2.721 MB / 1.096 GB, free: 79.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001946/2.364, allocations: 353.1 kB / 1.096 GB, free: 79.24 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/2.364, allocations: 6.938 kB / 1.096 GB, free: 79.24 MB / 490.7 MB Notification: Performance of Templates: time 0.1486/2.513, allocations: 88.01 MB / 1.182 GB, free: 9.949 MB / 490.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Constraints/RevoluteConstraint/RevoluteConstraint.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches