Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.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.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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008957/0.0008958, allocations: 176.4 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 221.5 MB / 230.3 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009432/0.0009431, allocations: 89.86 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.688e-05/1.692e-05, allocations: 4 kB / 337.1 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1174, allocations: 50.41 MB / 387.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4007/0.5182, allocations: 114.3 MB / 0.49 GB, free: 12.51 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.5185, allocations: 91.94 kB / 0.4901 GB, free: 12.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5678/1.086, allocations: 124.9 MB / 0.612 GB, free: 92 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.834e-06/1.086, allocations: 3.938 kB / 0.612 GB, free: 91.99 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003978/1.087, allocations: 143.7 kB / 0.6122 GB, free: 91.99 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: 2341 * Number of variables: 2341 Notification: Performance of Generate backend data structure: time 0.02289/1.11, allocations: 7.032 MB / 0.619 GB, free: 87.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/1.11, allocations: 10.59 kB / 0.6191 GB, free: 87.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01314/1.123, allocations: 2.756 MB / 0.6217 GB, free: 85.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01903/1.142, allocations: 7.161 MB / 0.6287 GB, free: 77.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003774/1.142, allocations: 228.3 kB / 0.629 GB, free: 77.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003842/1.146, allocations: 415.9 kB / 0.6293 GB, free: 77.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01998/1.166, allocations: 10.03 MB / 0.6391 GB, free: 67.22 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03223/1.198, allocations: 14.52 MB / 0.6533 GB, free: 51.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004633/1.199, allocations: 79.19 kB / 0.6534 GB, free: 51.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003621/1.203, allocations: 40 kB / 0.6534 GB, free: 51.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002266/1.205, allocations: 1.491 MB / 0.6549 GB, free: 49.81 MB / 426.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.3588/1.564, allocations: 72.37 MB / 0.7256 GB, free: 62.31 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006302/1.57, allocations: 4.801 MB / 0.7303 GB, free: 61.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005336/1.575, allocations: 3.54 MB / 0.7337 GB, free: 61.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001609/1.577, allocations: 1.345 MB / 0.735 GB, free: 60.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.328e-05/1.577, allocations: 60.38 kB / 0.7351 GB, free: 60.44 MB / 442.7 MB Notification: Performance of pre-optimization done (n=275): time 6.262e-06/1.577, allocations: 0 / 0.7351 GB, free: 60.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=358): time 0.09865/1.676, allocations: 41.53 MB / 0.7756 GB, free: 52.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/1.676, allocations: 162.8 kB / 0.7758 GB, free: 52.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007873/1.684, allocations: 4.37 MB / 0.7801 GB, free: 50.72 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001287/1.685, allocations: 27.95 kB / 0.7801 GB, free: 50.69 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003161/1.688, allocations: 4.721 MB / 0.7847 GB, free: 47.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001954/1.69, allocations: 1.287 MB / 0.786 GB, free: 46.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007838/1.691, allocations: 3.781 kB / 0.786 GB, free: 46.06 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004308/1.692, allocations: 0.6982 MB / 0.7866 GB, free: 45.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00495/1.697, allocations: 3.981 MB / 0.7905 GB, free: 44.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007402/1.704, allocations: 9.216 MB / 0.7995 GB, free: 34.89 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009365/1.713, allocations: 6.005 MB / 0.8054 GB, free: 30.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001761/1.714, allocations: 54.56 kB / 0.8054 GB, free: 30.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=1215) (initialization): time 0.03895/1.753, allocations: 17.25 MB / 0.8223 GB, free: 16.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/1.753, allocations: 85.56 kB / 0.8224 GB, free: 16.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002325/1.753, allocations: 184 kB / 0.8226 GB, free: 16.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01726/1.77, allocations: 5.387 MB / 0.8278 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00748/1.778, allocations: 2.062 MB / 0.8298 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04594/1.824, allocations: 35.49 MB / 0.8645 GB, free: 8.629 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009341/1.833, allocations: 403.2 kB / 0.8649 GB, free: 8.234 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00214/1.835, allocations: 0.5818 MB / 0.8654 GB, free: 7.652 MB / 474.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.001792/1.837, allocations: 0.576 MB / 0.866 GB, free: 7.074 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001194/1.838, allocations: 0.5052 MB / 0.8665 GB, free: 6.562 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02349/1.862, allocations: 10.39 MB / 0.8766 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001361/1.862, allocations: 51.27 kB / 0.8767 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02136/1.883, allocations: 8.972 MB / 0.8855 GB, free: 2.898 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001478/1.883, allocations: 15.94 kB / 0.8855 GB, free: 2.883 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3557/2.239, allocations: 22.34 MB / 0.9073 GB, free: 143 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-05/2.239, allocations: 4.031 kB / 0.9073 GB, free: 143 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003074/2.242, allocations: 474.1 kB / 0.9077 GB, free: 143 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01371/2.256, allocations: 3.675 MB / 0.9113 GB, free: 143 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000971/2.257, allocations: 14.03 kB / 0.9113 GB, free: 143 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03653/2.294, allocations: 25.9 MB / 0.9366 GB, free: 138 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01548/2.309, allocations: 11.63 MB / 0.948 GB, free: 132 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02674/2.336, allocations: 14.97 MB / 0.9626 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002369/2.338, allocations: 0.5273 MB / 0.9631 GB, free: 126.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001589/2.34, allocations: 16.3 kB / 0.9631 GB, free: 126.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003913/2.344, allocations: 174 kB / 0.9633 GB, free: 126.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009323/2.345, allocations: 249.2 kB / 0.9635 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002813/2.345, allocations: 96.81 kB / 0.9636 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005091/2.35, allocations: 2.925 MB / 0.9665 GB, free: 125 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.02e-07/2.35, allocations: 0 / 0.9665 GB, free: 125 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01237/2.363, allocations: 1.826 MB / 0.9683 GB, free: 125 MB / 0.4948 GB 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.0013/2.364, allocations: 211.2 kB / 0.9685 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01612/2.38, allocations: 10.35 MB / 0.9786 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/2.38, allocations: 4.922 kB / 0.9786 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005795/2.386, allocations: 4.137 MB / 0.9826 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00534/2.391, allocations: 0.6481 MB / 0.9833 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02754/2.419, allocations: 13.35 MB / 0.9963 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007254/2.426, allocations: 5.091 MB / 1.001 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008223/2.435, allocations: 2.81 MB / 1.004 GB, free: 104 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00154/2.436, allocations: 347.3 kB / 1.004 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of SimCode: time 9.41e-07/2.436, allocations: 1.094 kB / 1.004 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.3942/2.83, allocations: 83.34 MB / 1.086 GB, free: 141.8 MB / 0.4948 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches