Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009824/0.0009823, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008843/0.0008842, allocations: 82.7 kB / 262.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.237e-05/1.239e-05, allocations: 0 / 315.5 MB, free: 22.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08507/0.08509, allocations: 47.59 MB / 363.1 MB, free: 7.09 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.33/0.4151, allocations: 113.2 MB / 476.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.4154, allocations: 87.73 kB / 476.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4674/0.8828, allocations: 125.6 MB / 0.5878 GB, free: 90.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.8829, allocations: 3.781 kB / 0.5878 GB, free: 90.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003326/0.8832, allocations: 145.1 kB / 0.588 GB, free: 90.44 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: 2390 * Number of variables: 2390 Notification: Performance of Generate backend data structure: time 0.02105/0.9043, allocations: 7.14 MB / 0.5949 GB, free: 87.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.9043, allocations: 7.75 kB / 0.5949 GB, free: 87.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01247/0.9168, allocations: 2.776 MB / 0.5977 GB, free: 86.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01504/0.9319, allocations: 7.534 MB / 0.605 GB, free: 80.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/0.9322, allocations: 228 kB / 0.6052 GB, free: 80.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002245/0.9344, allocations: 419.8 kB / 0.6056 GB, free: 79.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01533/0.9498, allocations: 10.23 MB / 0.6156 GB, free: 69.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02598/0.9758, allocations: 14.78 MB / 0.6301 GB, free: 53.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002815/0.9761, allocations: 79.28 kB / 0.6301 GB, free: 53.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001176/0.9773, allocations: 40 kB / 0.6302 GB, free: 53.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001858/0.9792, allocations: 1.538 MB / 0.6317 GB, free: 51.88 MB / 410.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.2788/1.258, allocations: 73.13 MB / 0.7031 GB, free: 45.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008497/1.267, allocations: 4.915 MB / 0.7079 GB, free: 44.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006447/1.273, allocations: 3.576 MB / 0.7114 GB, free: 44.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001734/1.275, allocations: 1.351 MB / 0.7127 GB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.65e-05/1.275, allocations: 71.17 kB / 0.7128 GB, free: 43.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=284): time 8.656e-06/1.275, allocations: 0 / 0.7128 GB, free: 43.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=367): time 0.1232/1.398, allocations: 41.95 MB / 0.7537 GB, free: 33.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/1.398, allocations: 169.8 kB / 0.7539 GB, free: 33.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006989/1.405, allocations: 4.477 MB / 0.7583 GB, free: 31.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001122/1.406, allocations: 25.7 kB / 0.7583 GB, free: 31.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002642/1.409, allocations: 4.806 MB / 0.763 GB, free: 27.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001604/1.411, allocations: 1.318 MB / 0.7643 GB, free: 26.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004643/1.411, allocations: 0 / 0.7643 GB, free: 26.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003895/1.412, allocations: 0.7091 MB / 0.765 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004637/1.416, allocations: 4.039 MB / 0.7689 GB, free: 23.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006138/1.422, allocations: 9.364 MB / 0.778 GB, free: 12.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007013/1.429, allocations: 6.087 MB / 0.784 GB, free: 7.801 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.202e-05/1.429, allocations: 52 kB / 0.784 GB, free: 7.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.03972/1.469, allocations: 17.79 MB / 0.8014 GB, free: 10.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/1.469, allocations: 88 kB / 0.8015 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002218/1.47, allocations: 188 kB / 0.8017 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0175/1.487, allocations: 5.392 MB / 0.8069 GB, free: 6.559 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007677/1.495, allocations: 2.102 MB / 0.809 GB, free: 4.453 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04886/1.544, allocations: 35.47 MB / 0.8436 GB, free: 220 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0084/1.552, allocations: 423.1 kB / 0.844 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001736/1.554, allocations: 0.5933 MB / 0.8446 GB, free: 15.21 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 865 * Number of states: 0 () * Number of discrete variables: 60 (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.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 (1106): * Single equations (assignments): 1095 * 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.001605/1.556, allocations: 0.5898 MB / 0.8452 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001189/1.557, allocations: 0.5052 MB / 0.8457 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02376/1.58, allocations: 10.5 MB / 0.8559 GB, free: 3.48 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.171e-05/1.581, allocations: 44 kB / 0.856 GB, free: 3.438 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.2508/1.831, allocations: 9.059 MB / 0.8648 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001033/1.832, allocations: 18.75 kB / 0.8648 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04375/1.875, allocations: 22.88 MB / 0.8872 GB, free: 127.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.584e-05/1.875, allocations: 11.78 kB / 0.8872 GB, free: 127.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00272/1.878, allocations: 0.489 MB / 0.8877 GB, free: 127.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01195/1.89, allocations: 3.665 MB / 0.8913 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008309/1.891, allocations: 16.25 kB / 0.8913 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03218/1.923, allocations: 25.88 MB / 0.9165 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01506/1.938, allocations: 11.65 MB / 0.9279 GB, free: 108.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02621/1.965, allocations: 15.5 MB / 0.9431 GB, free: 101.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00337/1.968, allocations: 1.137 MB / 0.9442 GB, free: 100.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001148/1.969, allocations: 10.67 kB / 0.9442 GB, free: 100.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003352/1.972, allocations: 185.5 kB / 0.9443 GB, free: 100.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008863/1.973, allocations: 262.5 kB / 0.9446 GB, free: 100 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002863/1.974, allocations: 99.67 kB / 0.9447 GB, free: 99.92 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005218/1.979, allocations: 3 MB / 0.9476 GB, free: 97.33 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.51e-07/1.979, allocations: 0 / 0.9476 GB, free: 97.33 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01003/1.989, allocations: 1.847 MB / 0.9494 GB, free: 95.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (234): * Single equations (assignments): 226 * 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.001058/1.99, allocations: 228.5 kB / 0.9496 GB, free: 95.34 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01487/2.005, allocations: 10.48 MB / 0.9599 GB, free: 86.04 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/2.005, allocations: 0 / 0.9599 GB, free: 86.04 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005004/2.01, allocations: 4.192 MB / 0.964 GB, free: 82.19 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003624/2.014, allocations: 0.6391 MB / 0.9646 GB, free: 81.68 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02119/2.035, allocations: 13.65 MB / 0.9779 GB, free: 69.43 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005238/2.04, allocations: 5.174 MB / 0.983 GB, free: 65.63 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00738/2.048, allocations: 2.869 MB / 0.9858 GB, free: 63.53 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/2.049, allocations: 355.4 kB / 0.9861 GB, free: 63.18 MB / 474.7 MB Notification: Performance of SimCode: time 8.72e-07/2.049, allocations: 0 / 0.9861 GB, free: 63.18 MB / 474.7 MB Notification: Performance of Templates: time 0.3507/2.4, allocations: 84.12 MB / 1.068 GB, free: 112.5 MB / 474.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Constraints/RevoluteConstraint/RevoluteConstraint.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches