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.001648/0.001648, allocations: 196.4 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 225.4 MB / 240.1 MB, free: 15.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009906/0.0009908, allocations: 89.7 kB / 292.1 MB, free: 5.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.056e-05/3.057e-05, allocations: 4 kB / 350.5 MB, free: 2.547 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 51.49 MB / 402 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3918/0.5037, allocations: 115.3 MB / 0.5052 GB, free: 6.586 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.504, allocations: 95.52 kB / 0.5053 GB, free: 6.535 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.611/1.115, allocations: 131.7 MB / 0.6339 GB, free: 79.54 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.334e-06/1.115, allocations: 0 / 0.6339 GB, free: 79.54 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003752/1.115, allocations: 140.2 kB / 0.6341 GB, free: 79.54 MB / 442.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.02607/1.142, allocations: 7.163 MB / 0.6411 GB, free: 76.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/1.142, allocations: 10.41 kB / 0.6411 GB, free: 76.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01369/1.155, allocations: 2.753 MB / 0.6438 GB, free: 76.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01694/1.172, allocations: 6.522 MB / 0.6501 GB, free: 74.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00044/1.173, allocations: 0.5253 MB / 0.6506 GB, free: 73.95 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00319/1.176, allocations: 0.685 MB / 0.6513 GB, free: 73.74 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03796/1.214, allocations: 17.11 MB / 0.668 GB, free: 65.45 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003891/1.214, allocations: 83.95 kB / 0.6681 GB, free: 65.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00228/1.217, allocations: 327.4 kB / 0.6684 GB, free: 65.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002/1.219, allocations: 1.493 MB / 0.6699 GB, free: 64.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03/1.249, allocations: 14.27 MB / 0.6838 GB, free: 54.37 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.4125/1.661, allocations: 72.88 MB / 0.755 GB, free: 77.21 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02084/1.682, allocations: 7.721 MB / 0.7625 GB, free: 76.52 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004825/1.687, allocations: 3.935 MB / 0.7664 GB, free: 76.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02331/1.71, allocations: 16.49 MB / 0.7825 GB, free: 72.97 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/1.71, allocations: 62.62 kB / 0.7825 GB, free: 72.93 MB / 458.7 MB Notification: Performance of pre-optimization done (n=266): time 5.551e-06/1.71, allocations: 3.031 kB / 0.7825 GB, free: 72.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=340): time 0.1216/1.832, allocations: 38.76 MB / 0.8204 GB, free: 63.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02018/1.852, allocations: 14.86 MB / 0.8349 GB, free: 56.51 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009436/1.862, allocations: 4.942 MB / 0.8397 GB, free: 54.69 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009795/1.863, allocations: 72.64 kB / 0.8398 GB, free: 54.62 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003105/1.866, allocations: 4.692 MB / 0.8444 GB, free: 51.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00188/1.868, allocations: 1.261 MB / 0.8456 GB, free: 50.09 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009072/1.869, allocations: 183.7 kB / 0.8458 GB, free: 49.95 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004065/1.869, allocations: 0.6896 MB / 0.8464 GB, free: 49.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0052/1.874, allocations: 4.004 MB / 0.8503 GB, free: 48.06 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007432/1.882, allocations: 9.148 MB / 0.8593 GB, free: 39.76 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009382/1.891, allocations: 5.988 MB / 0.8651 GB, free: 36.46 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002697/1.891, allocations: 52 kB / 0.8652 GB, free: 36.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.04174/1.933, allocations: 17.68 MB / 0.8824 GB, free: 22.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002848/1.934, allocations: 84 kB / 0.8825 GB, free: 22.19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003541/1.934, allocations: 180.5 kB / 0.8827 GB, free: 22.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0162/1.95, allocations: 4.98 MB / 0.8876 GB, free: 18.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007262/1.957, allocations: 1.975 MB / 0.8895 GB, free: 16.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.346/2.303, allocations: 37.05 MB / 0.9257 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008773/2.312, allocations: 0.5456 MB / 0.9262 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002225/2.315, allocations: 0.5551 MB / 0.9267 GB, free: 100.8 MB / 490.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 () * 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.002458/2.317, allocations: 0.7844 MB / 0.9275 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001409/2.318, allocations: 0.5221 MB / 0.928 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02174/2.34, allocations: 10.37 MB / 0.9381 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.232e-05/2.34, allocations: 48.36 kB / 0.9382 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01916/2.359, allocations: 9.456 MB / 0.9474 GB, free: 99.58 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-05/2.36, allocations: 16.62 kB / 0.9474 GB, free: 99.58 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04584/2.405, allocations: 23.02 MB / 0.9699 GB, free: 94.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-05/2.406, allocations: 3.938 kB / 0.9699 GB, free: 94.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002493/2.408, allocations: 447.1 kB / 0.9703 GB, free: 94.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01171/2.42, allocations: 3.691 MB / 0.974 GB, free: 93.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007575/2.421, allocations: 55.67 kB / 0.974 GB, free: 93.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03323/2.454, allocations: 27.3 MB / 1.001 GB, free: 80.01 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01514/2.469, allocations: 12.11 MB / 1.012 GB, free: 73.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0257/2.495, allocations: 14.62 MB / 1.027 GB, free: 68.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001615/2.496, allocations: 0.5605 MB / 1.027 GB, free: 67.79 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009989/2.497, allocations: 55.5 kB / 1.027 GB, free: 67.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003012/2.5, allocations: 219.6 kB / 1.028 GB, free: 67.71 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000802/2.501, allocations: 240.1 kB / 1.028 GB, free: 67.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002701/2.502, allocations: 93.38 kB / 1.028 GB, free: 67.65 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004895/2.506, allocations: 3.442 MB / 1.031 GB, free: 66.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.31e-07/2.506, allocations: 0 / 1.031 GB, free: 66.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01047/2.517, allocations: 2.045 MB / 1.033 GB, free: 66.02 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 () * 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.001173/2.518, allocations: 284.5 kB / 1.034 GB, free: 65.81 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01574/2.534, allocations: 10.59 MB / 1.044 GB, free: 56.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/2.534, allocations: 0 / 1.044 GB, free: 56.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005599/2.54, allocations: 4.173 MB / 1.048 GB, free: 52.53 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004452/2.544, allocations: 0.7538 MB / 1.049 GB, free: 51.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02578/2.57, allocations: 13.46 MB / 1.062 GB, free: 39.84 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006768/2.577, allocations: 5.067 MB / 1.067 GB, free: 36.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007542/2.584, allocations: 2.715 MB / 1.069 GB, free: 34.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001711/2.586, allocations: 353.7 kB / 1.07 GB, free: 34.07 MB / 490.7 MB Notification: Performance of SimCode: time 1.483e-06/2.586, allocations: 0 / 1.07 GB, free: 34.07 MB / 490.7 MB Notification: Performance of Templates: time 0.468/3.054, allocations: 88.44 MB / 1.156 GB, free: 88.81 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/jenkins/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