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.001416/0.001416, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 225.6 MB / 234.8 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009437/0.0009436, allocations: 95.16 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.906e-05/1.954e-05, allocations: 4 kB / 343.7 MB, free: 8.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1038, allocations: 51.48 MB / 395.2 MB, free: 4.812 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4043/0.5081, allocations: 114.6 MB / 0.4979 GB, free: 10.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.5084, allocations: 92.69 kB / 0.498 GB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.611/1.119, allocations: 128.7 MB / 0.6236 GB, free: 75.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.645e-06/1.12, allocations: 0 / 0.6236 GB, free: 75.45 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0008083/1.12, allocations: 143.2 kB / 0.6238 GB, free: 75.44 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.02933/1.15, allocations: 7.163 MB / 0.6308 GB, free: 72.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/1.15, allocations: 11.81 kB / 0.6308 GB, free: 72.89 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01691/1.167, allocations: 2.754 MB / 0.6335 GB, free: 72.42 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01916/1.186, allocations: 6.511 MB / 0.6398 GB, free: 71.01 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004192/1.186, allocations: 225.6 kB / 0.6401 GB, free: 71.01 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003507/1.19, allocations: 419.2 kB / 0.6405 GB, free: 70.99 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0187/1.209, allocations: 10.03 MB / 0.6502 GB, free: 67.4 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03372/1.242, allocations: 14.52 MB / 0.6644 GB, free: 59.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004977/1.243, allocations: 79.31 kB / 0.6645 GB, free: 59.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003314/1.246, allocations: 39.47 kB / 0.6645 GB, free: 59.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002481/1.249, allocations: 1.496 MB / 0.666 GB, free: 59.52 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.392/1.641, allocations: 72.37 MB / 0.7367 GB, free: 69.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006005/1.647, allocations: 4.798 MB / 0.7414 GB, free: 68.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003773/1.651, allocations: 3.53 MB / 0.7448 GB, free: 68.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/1.652, allocations: 1.352 MB / 0.7461 GB, free: 67.33 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/1.652, allocations: 67.42 kB / 0.7462 GB, free: 67.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=275): time 6.192e-06/1.652, allocations: 1 kB / 0.7462 GB, free: 67.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=358): time 0.09766/1.75, allocations: 41.54 MB / 0.7868 GB, free: 58.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/1.75, allocations: 164.5 kB / 0.7869 GB, free: 58.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006437/1.756, allocations: 4.373 MB / 0.7912 GB, free: 57.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001027/1.757, allocations: 25.7 kB / 0.7912 GB, free: 57.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002625/1.76, allocations: 4.712 MB / 0.7958 GB, free: 53.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001861/1.762, allocations: 1.291 MB / 0.7971 GB, free: 52.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004825/1.762, allocations: 3.562 kB / 0.7971 GB, free: 52.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003958/1.763, allocations: 0.7006 MB / 0.7978 GB, free: 52.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004753/1.767, allocations: 3.983 MB / 0.8017 GB, free: 50.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007243/1.775, allocations: 9.209 MB / 0.8106 GB, free: 42.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008321/1.783, allocations: 5.999 MB / 0.8165 GB, free: 40.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001279/1.783, allocations: 54.94 kB / 0.8166 GB, free: 40.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=1215) (initialization): time 0.03528/1.818, allocations: 17.26 MB / 0.8334 GB, free: 34.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002409/1.819, allocations: 87.19 kB / 0.8335 GB, free: 34.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003446/1.819, allocations: 184.8 kB / 0.8337 GB, free: 34.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01628/1.835, allocations: 5.376 MB / 0.8389 GB, free: 33.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007259/1.843, allocations: 2.065 MB / 0.8409 GB, free: 33.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03975/1.882, allocations: 35.47 MB / 0.8756 GB, free: 2.082 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01015/1.893, allocations: 405.6 kB / 0.876 GB, free: 1.793 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002866/1.896, allocations: 0.5807 MB / 0.8765 GB, free: 1.258 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 849 * 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 (1081): * Single equations (assignments): 1070 * 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.002682/1.898, allocations: 0.5847 MB / 0.8771 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001416/1.9, allocations: 0.4936 MB / 0.8776 GB, free: 180 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02731/1.927, allocations: 10.59 MB / 0.8879 GB, free: 8.035 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001137/1.927, allocations: 55.89 kB / 0.888 GB, free: 7.984 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02075/1.948, allocations: 8.982 MB / 0.8968 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001373/1.948, allocations: 19.94 kB / 0.8968 GB, free: 14.86 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3676/2.316, allocations: 22.34 MB / 0.9186 GB, free: 88.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.949e-05/2.316, allocations: 2.812 kB / 0.9186 GB, free: 88.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002764/2.319, allocations: 473.4 kB / 0.919 GB, free: 88.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01214/2.331, allocations: 3.67 MB / 0.9226 GB, free: 88.65 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009381/2.332, allocations: 9.312 kB / 0.9226 GB, free: 88.65 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03753/2.369, allocations: 25.9 MB / 0.9479 GB, free: 79.77 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01579/2.385, allocations: 11.64 MB / 0.9593 GB, free: 73.72 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0259/2.411, allocations: 14.96 MB / 0.9739 GB, free: 67.98 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00188/2.413, allocations: 0.5273 MB / 0.9744 GB, free: 67.86 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001447/2.414, allocations: 16.72 kB / 0.9744 GB, free: 67.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003838/2.418, allocations: 175.7 kB / 0.9746 GB, free: 67.86 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001021/2.419, allocations: 244.2 kB / 0.9748 GB, free: 67.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003188/2.42, allocations: 96.69 kB / 0.9749 GB, free: 67.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005408/2.425, allocations: 2.929 MB / 0.9778 GB, free: 66.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.024e-06/2.425, allocations: 0 / 0.9778 GB, free: 66.73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01118/2.436, allocations: 1.834 MB / 0.9796 GB, free: 66.73 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 ($STATESET1.x,$STATESET0.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 (224): * Single equations (assignments): 216 * 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.001041/2.437, allocations: 235.5 kB / 0.9798 GB, free: 66.64 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01503/2.452, allocations: 10.35 MB / 0.9899 GB, free: 62.62 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/2.452, allocations: 3.562 kB / 0.9899 GB, free: 62.62 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00595/2.458, allocations: 4.14 MB / 0.994 GB, free: 60.65 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004544/2.463, allocations: 0.6388 MB / 0.9946 GB, free: 60.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02448/2.487, allocations: 13.35 MB / 1.008 GB, free: 55.31 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00688/2.494, allocations: 5.089 MB / 1.013 GB, free: 53.64 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008101/2.503, allocations: 2.812 MB / 1.015 GB, free: 52.01 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001737/2.504, allocations: 351.7 kB / 1.016 GB, free: 51.68 MB / 474.7 MB Notification: Performance of SimCode: time 1.413e-06/2.504, allocations: 0 / 1.016 GB, free: 51.68 MB / 474.7 MB Notification: Performance of Templates: time 0.3958/2.9, allocations: 83.49 MB / 1.097 GB, free: 92.57 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