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.0008814/0.0008814, allocations: 183.2 kB / 18.04 MB, free: 3.781 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.4 MB / 224.2 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007943/0.0007945, allocations: 96.94 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002882, allocations: 11.98 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2098, allocations: 47.58 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.3369, allocations: 114 MB / 491 MB, free: 14.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.3373, allocations: 91.95 kB / 491.1 MB, free: 14.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4613/0.7986, allocations: 126.8 MB / 0.6034 GB, free: 14 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.7987, allocations: 0 / 0.6034 GB, free: 14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003805/0.7991, allocations: 147.9 kB / 0.6036 GB, free: 13.86 MB / 378.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.02258/0.8217, allocations: 7.239 MB / 0.6106 GB, free: 6.527 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.8217, allocations: 8.031 kB / 0.6107 GB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/0.8337, allocations: 2.71 MB / 0.6133 GB, free: 3.797 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01402/0.8477, allocations: 6.435 MB / 0.6196 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005764/0.8484, allocations: 0.5298 MB / 0.6201 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003466/0.8518, allocations: 0.6954 MB / 0.6208 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04115/0.893, allocations: 17.32 MB / 0.6377 GB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003245/0.8934, allocations: 79.47 kB / 0.6378 GB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001927/0.8953, allocations: 343.6 kB / 0.6381 GB, free: 9.008 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002199/0.8975, allocations: 1.523 MB / 0.6396 GB, free: 7.484 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2374/1.135, allocations: 14.49 MB / 0.6537 GB, free: 60.45 MB / 410.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.08032/1.215, allocations: 73.65 MB / 0.7257 GB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01967/1.235, allocations: 7.721 MB / 0.7332 GB, free: 17.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005194/1.24, allocations: 4.018 MB / 0.7371 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02302/1.263, allocations: 16.58 MB / 0.7533 GB, free: 7.188 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/1.263, allocations: 60.88 kB / 0.7534 GB, free: 7.133 MB / 410.7 MB Notification: Performance of pre-optimization done (n=275): time 5.912e-06/1.263, allocations: 0 / 0.7534 GB, free: 7.133 MB / 410.7 MB Notification: Performance of matching and sorting (n=349): time 0.122/1.385, allocations: 45.25 MB / 0.7976 GB, free: 8.223 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02271/1.408, allocations: 15.45 MB / 0.8127 GB, free: 8.941 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009278/1.418, allocations: 5.733 MB / 0.8183 GB, free: 3.234 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008352/1.418, allocations: 77.7 kB / 0.8183 GB, free: 3.152 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2199/1.638, allocations: 4.773 MB / 0.823 GB, free: 107.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001972/1.64, allocations: 1.303 MB / 0.8243 GB, free: 106.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001047/1.641, allocations: 186.1 kB / 0.8245 GB, free: 106.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004128/1.642, allocations: 0.6955 MB / 0.8251 GB, free: 106.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005614/1.647, allocations: 4.132 MB / 0.8292 GB, free: 106.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008011/1.655, allocations: 9.395 MB / 0.8383 GB, free: 99.82 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01506/1.671, allocations: 14.68 MB / 0.8527 GB, free: 93.11 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000253/1.671, allocations: 52.97 kB / 0.8527 GB, free: 93.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.03958/1.71, allocations: 18.04 MB / 0.8703 GB, free: 91.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003695/1.711, allocations: 85.94 kB / 0.8704 GB, free: 91.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005711/1.711, allocations: 185.4 kB / 0.8706 GB, free: 91.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0153/1.727, allocations: 4.965 MB / 0.8755 GB, free: 90.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007169/1.734, allocations: 2.027 MB / 0.8774 GB, free: 90.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04326/1.777, allocations: 37.14 MB / 0.9137 GB, free: 70.67 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008911/1.786, allocations: 0.5485 MB / 0.9142 GB, free: 70.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002388/1.789, allocations: 0.5615 MB / 0.9148 GB, free: 70.44 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 841 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1064): * Single equations (assignments): 1053 * 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,(3,77.8%) 12,(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.008689/1.797, allocations: 3.281 MB / 0.918 GB, free: 67.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001427/1.799, allocations: 0.5399 MB / 0.9185 GB, free: 67.35 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02113/1.82, allocations: 10.55 MB / 0.9288 GB, free: 59.06 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-05/1.82, allocations: 55.41 kB / 0.9289 GB, free: 59.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01907/1.839, allocations: 9.637 MB / 0.9383 GB, free: 51.23 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.528e-05/1.839, allocations: 14.86 kB / 0.9383 GB, free: 51.23 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0459/1.885, allocations: 23.73 MB / 0.9615 GB, free: 31.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.376e-05/1.885, allocations: 12.03 kB / 0.9615 GB, free: 31.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002537/1.888, allocations: 471.2 kB / 0.9619 GB, free: 31.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01108/1.899, allocations: 3.688 MB / 0.9655 GB, free: 27.55 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008864/1.9, allocations: 70.89 kB / 0.9656 GB, free: 27.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2669/2.167, allocations: 27.26 MB / 0.9922 GB, free: 90.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01557/2.182, allocations: 12.16 MB / 1.004 GB, free: 87.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0281/2.211, allocations: 14.42 MB / 1.018 GB, free: 87.24 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003706/2.214, allocations: 1.162 MB / 1.019 GB, free: 87.14 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0015/2.216, allocations: 60.53 kB / 1.019 GB, free: 87.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003588/2.22, allocations: 225.1 kB / 1.02 GB, free: 87.14 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001044/2.221, allocations: 248.6 kB / 1.02 GB, free: 87.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003174/2.221, allocations: 96.11 kB / 1.02 GB, free: 87.13 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006699/2.228, allocations: 3.573 MB / 1.023 GB, free: 86.92 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.02e-07/2.228, allocations: 0 / 1.023 GB, free: 86.92 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01154/2.239, allocations: 2.05 MB / 1.025 GB, free: 86.92 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (216): * Single equations (assignments): 208 * 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.001329/2.241, allocations: 271 kB / 1.026 GB, free: 86.83 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01662/2.257, allocations: 10.89 MB / 1.036 GB, free: 84.41 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/2.257, allocations: 2.938 kB / 1.036 GB, free: 84.41 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006277/2.264, allocations: 4.284 MB / 1.04 GB, free: 82.46 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009497/2.273, allocations: 0.8007 MB / 1.041 GB, free: 82.14 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03038/2.303, allocations: 19.19 MB / 1.06 GB, free: 72.47 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007444/2.311, allocations: 5.017 MB / 1.065 GB, free: 70.79 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007905/2.319, allocations: 2.766 MB / 1.068 GB, free: 70.73 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001385/2.32, allocations: 364.8 kB / 1.068 GB, free: 70.71 MB / 458.7 MB Notification: Performance of SimCode: time 9.52e-07/2.32, allocations: 0 / 1.068 GB, free: 70.71 MB / 458.7 MB Notification: Performance of Templates: time 0.3573/2.678, allocations: 88.92 MB / 1.155 GB, free: 108 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/jenkins1/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