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.001249/0.001249, allocations: 172.7 kB / 14.1 MB, free: 1.223 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.63/1.63, allocations: 205.2 MB / 219.8 MB, free: 14.19 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.0009921/0.0009922, allocations: 82.64 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.237e-05/3.259e-05, allocations: 4 kB / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09803/0.09808, allocations: 47.57 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3865/0.4846, allocations: 113.6 MB / 483.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.4848, allocations: 87.39 kB / 483.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5539/1.039, allocations: 128.7 MB / 0.5981 GB, free: 86.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.104e-06/1.039, allocations: 0 / 0.5981 GB, free: 86.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000348/1.039, allocations: 143.1 kB / 0.5982 GB, free: 86.22 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.02102/1.06, allocations: 7.146 MB / 0.6052 GB, free: 79.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/1.06, allocations: 8.031 kB / 0.6052 GB, free: 79.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01229/1.073, allocations: 2.782 MB / 0.6079 GB, free: 76.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01838/1.091, allocations: 7.532 MB / 0.6153 GB, free: 68.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006502/1.092, allocations: 0.5225 MB / 0.6158 GB, free: 68.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004126/1.096, allocations: 0.7019 MB / 0.6165 GB, free: 67.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03883/1.135, allocations: 17.38 MB / 0.6335 GB, free: 48.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003721/1.135, allocations: 75.28 kB / 0.6335 GB, free: 48.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002388/1.137, allocations: 331.9 kB / 0.6338 GB, free: 48.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002089/1.14, allocations: 1.535 MB / 0.6353 GB, free: 46.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03207/1.172, allocations: 14.54 MB / 0.6495 GB, free: 32.38 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.3611/1.533, allocations: 73.77 MB / 0.7216 GB, free: 46.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02298/1.556, allocations: 7.824 MB / 0.7292 GB, free: 45.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004773/1.561, allocations: 3.977 MB / 0.7331 GB, free: 45.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02442/1.585, allocations: 16.7 MB / 0.7494 GB, free: 42.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.865e-05/1.585, allocations: 57.31 kB / 0.7495 GB, free: 42.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=275): time 5.841e-06/1.585, allocations: 0 / 0.7495 GB, free: 42.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=349): time 0.113/1.698, allocations: 39.2 MB / 0.7878 GB, free: 31.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01999/1.718, allocations: 14.84 MB / 0.8023 GB, free: 20.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009451/1.728, allocations: 5.051 MB / 0.8072 GB, free: 16.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001062/1.729, allocations: 79.55 kB / 0.8073 GB, free: 16.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002624/1.732, allocations: 4.774 MB / 0.8119 GB, free: 11.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001541/1.733, allocations: 1.304 MB / 0.8132 GB, free: 10.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006235/1.734, allocations: 184 kB / 0.8134 GB, free: 10.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003686/1.734, allocations: 0.6981 MB / 0.8141 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005117/1.739, allocations: 4.053 MB / 0.818 GB, free: 6.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008405/1.748, allocations: 9.283 MB / 0.8271 GB, free: 11.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009671/1.757, allocations: 6.081 MB / 0.833 GB, free: 6.281 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001505/1.758, allocations: 56 kB / 0.8331 GB, free: 6.227 MB / 442.7 MB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.0439/1.801, allocations: 17.87 MB / 0.8505 GB, free: 5.852 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/1.802, allocations: 85.25 kB / 0.8506 GB, free: 5.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002191/1.802, allocations: 187.9 kB / 0.8508 GB, free: 5.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01646/1.818, allocations: 4.988 MB / 0.8557 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007538/1.826, allocations: 2.02 MB / 0.8576 GB, free: 14.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2955/2.121, allocations: 37.03 MB / 0.8938 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00779/2.129, allocations: 0.5453 MB / 0.8943 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001591/2.131, allocations: 0.5625 MB / 0.8949 GB, free: 119 MB / 474.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 () * 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.001577/2.132, allocations: 0.8018 MB / 0.8957 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/2.133, allocations: 0.5331 MB / 0.8962 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01982/2.153, allocations: 10.47 MB / 0.9064 GB, free: 116.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.287e-05/2.153, allocations: 41.59 kB / 0.9064 GB, free: 116.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01795/2.171, allocations: 9.552 MB / 0.9158 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.705e-05/2.172, allocations: 17.77 kB / 0.9158 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04373/2.215, allocations: 23.6 MB / 0.9388 GB, free: 105 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.385e-05/2.215, allocations: 8.375 kB / 0.9388 GB, free: 105 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002705/2.218, allocations: 464.4 kB / 0.9393 GB, free: 105 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01168/2.23, allocations: 3.693 MB / 0.9429 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00088/2.231, allocations: 68.39 kB / 0.943 GB, free: 104.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03327/2.264, allocations: 27.3 MB / 0.9696 GB, free: 84.62 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01481/2.279, allocations: 12.12 MB / 0.9815 GB, free: 73.76 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02455/2.303, allocations: 15.19 MB / 0.9963 GB, free: 59.88 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003707/2.307, allocations: 1.156 MB / 0.9974 GB, free: 58.71 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0011/2.308, allocations: 65.16 kB / 0.9975 GB, free: 58.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003235/2.312, allocations: 219.7 kB / 0.9977 GB, free: 58.43 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008471/2.312, allocations: 252.1 kB / 0.9979 GB, free: 58.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002991/2.313, allocations: 93.23 kB / 0.998 GB, free: 58.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005475/2.318, allocations: 3.518 MB / 1.001 GB, free: 54.57 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.7e-07/2.318, allocations: 0 / 1.001 GB, free: 54.57 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01131/2.33, allocations: 2.061 MB / 1.003 GB, free: 52.54 MB / 474.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 () * 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.001151/2.331, allocations: 262.9 kB / 1.004 GB, free: 52.32 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01492/2.346, allocations: 10.76 MB / 1.014 GB, free: 41.81 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/2.346, allocations: 0 / 1.014 GB, free: 41.81 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005576/2.351, allocations: 4.226 MB / 1.018 GB, free: 37.53 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004239/2.356, allocations: 0.763 MB / 1.019 GB, free: 36.81 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02194/2.377, allocations: 13.76 MB / 1.033 GB, free: 22.95 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2344/2.612, allocations: 5.149 MB / 1.038 GB, free: 112.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01185/2.624, allocations: 2.763 MB / 1.04 GB, free: 112.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002296/2.626, allocations: 360 kB / 1.041 GB, free: 112.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.202e-06/2.626, allocations: 1.281 kB / 1.041 GB, free: 112.7 MB / 474.7 MB Notification: Performance of Templates: time 0.1343/2.76, allocations: 89.33 MB / 1.128 GB, free: 79.73 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