Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001045/0.001045, allocations: 179.4 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.152/1.152, allocations: 194.5 MB / 211.6 MB, free: 3.047 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001545/0.001545, allocations: 114.2 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002843/0.0002843, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0836/0.0839, allocations: 44.49 MB / 355.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2828/0.3667, allocations: 106.9 MB / 462 MB, free: 15.06 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.367, allocations: 92.86 kB / 462 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4641/0.8312, allocations: 127.3 MB / 0.5755 GB, free: 82.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.8312, allocations: 4 kB / 0.5755 GB, free: 82.51 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003213/0.8315, allocations: 141.2 kB / 0.5757 GB, free: 82.5 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2355 * Number of variables: 2355 Notification: Performance of Generate backend data structure: time 0.02496/0.8565, allocations: 7.518 MB / 0.583 GB, free: 77.74 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.8566, allocations: 9.75 kB / 0.583 GB, free: 77.74 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01268/0.8693, allocations: 2.766 MB / 0.5857 GB, free: 76.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01798/0.8873, allocations: 7.533 MB / 0.5931 GB, free: 70.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004485/0.8878, allocations: 0.5157 MB / 0.5936 GB, free: 69.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003886/0.8917, allocations: 0.6898 MB / 0.5942 GB, free: 69.26 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03392/0.9256, allocations: 17.26 MB / 0.6111 GB, free: 50.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002531/0.9259, allocations: 83.28 kB / 0.6112 GB, free: 50.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001143/0.9271, allocations: 326.8 kB / 0.6115 GB, free: 50.44 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001663/0.9287, allocations: 1.501 MB / 0.6129 GB, free: 48.94 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02657/0.9553, allocations: 14.53 MB / 0.6271 GB, free: 34.4 MB / 394.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.2913/1.247, allocations: 73.29 MB / 0.6987 GB, free: 28.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02194/1.269, allocations: 7.642 MB / 0.7062 GB, free: 28.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02343/1.292, allocations: 15.92 MB / 0.7217 GB, free: 24.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/1.292, allocations: 59.09 kB / 0.7218 GB, free: 24.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=261): time 5.861e-06/1.292, allocations: 1.094 kB / 0.7218 GB, free: 24.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=335): time 0.1181/1.41, allocations: 45.6 MB / 0.7663 GB, free: 11.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02052/1.431, allocations: 16.1 MB / 0.782 GB, free: 13.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008618/1.44, allocations: 5.077 MB / 0.787 GB, free: 9.262 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009606/1.441, allocations: 73.7 kB / 0.7871 GB, free: 9.184 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003294/1.444, allocations: 4.736 MB / 0.7917 GB, free: 4.961 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002009/1.446, allocations: 1.259 MB / 0.7929 GB, free: 3.852 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005339/1.446, allocations: 180 kB / 0.7931 GB, free: 3.676 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004781/1.447, allocations: 0.6898 MB / 0.7938 GB, free: 3.086 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00621/1.453, allocations: 4.108 MB / 0.7978 GB, free: 15.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008859/1.462, allocations: 9.31 MB / 0.8069 GB, free: 3.352 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00873/1.471, allocations: 6.066 MB / 0.8128 GB, free: 13.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.497e-05/1.471, allocations: 52 kB / 0.8128 GB, free: 13.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.2581/1.729, allocations: 17.93 MB / 0.8303 GB, free: 104.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000119/1.729, allocations: 88.34 kB / 0.8304 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002236/1.729, allocations: 184.8 kB / 0.8306 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01755/1.747, allocations: 4.988 MB / 0.8355 GB, free: 104.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008547/1.756, allocations: 2.001 MB / 0.8374 GB, free: 104.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0475/1.803, allocations: 38.28 MB / 0.8748 GB, free: 92.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0095/1.813, allocations: 0.5521 MB / 0.8754 GB, free: 92.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002283/1.815, allocations: 0.5588 MB / 0.8759 GB, free: 92.05 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 838 * Number of states: 0 () * Number of discrete variables: 57 (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.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 (1047): * Single equations (assignments): 1036 * 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.008423/1.823, allocations: 3.251 MB / 0.8791 GB, free: 90.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001427/1.825, allocations: 0.525 MB / 0.8796 GB, free: 90.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02036/1.845, allocations: 10.48 MB / 0.8898 GB, free: 86.99 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.592e-05/1.845, allocations: 46.89 kB / 0.8899 GB, free: 86.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01865/1.864, allocations: 9.564 MB / 0.8992 GB, free: 83.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.07e-05/1.864, allocations: 15.52 kB / 0.8992 GB, free: 83.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04184/1.906, allocations: 23.51 MB / 0.9222 GB, free: 71.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-05/1.906, allocations: 11.95 kB / 0.9222 GB, free: 71.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002778/1.909, allocations: 453.4 kB / 0.9226 GB, free: 71.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01181/1.921, allocations: 3.693 MB / 0.9262 GB, free: 68.42 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006879/1.921, allocations: 68.69 kB / 0.9263 GB, free: 68.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03156/1.953, allocations: 28.22 MB / 0.9539 GB, free: 39.87 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01469/1.968, allocations: 12.66 MB / 0.9662 GB, free: 27.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02323/1.991, allocations: 15.15 MB / 0.981 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003561/1.995, allocations: 1.144 MB / 0.9821 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008362/1.995, allocations: 64.97 kB / 0.9822 GB, free: 10.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002747/1.998, allocations: 221.2 kB / 0.9824 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007834/1.999, allocations: 241.6 kB / 0.9826 GB, free: 9.922 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.2208/2.22, allocations: 89.73 kB / 0.9827 GB, free: 102.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005691/2.226, allocations: 3.554 MB / 0.9862 GB, free: 102.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.5e-07/2.226, allocations: 0 / 0.9862 GB, free: 102.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008966/2.235, allocations: 2.029 MB / 0.9882 GB, free: 102.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.constantTorque.phi,bodyOfJoint.body.w_a[2]) * 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 (204): * Single equations (assignments): 196 * 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.0007321/2.235, allocations: 267.2 kB / 0.9884 GB, free: 102.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0153/2.251, allocations: 10.78 MB / 0.9989 GB, free: 101.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/2.251, allocations: 7.5 kB / 0.999 GB, free: 101.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006348/2.257, allocations: 4.226 MB / 1.003 GB, free: 100.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003691/2.261, allocations: 0.7415 MB / 1.004 GB, free: 100.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02576/2.287, allocations: 18.93 MB / 1.022 GB, free: 93.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004932/2.291, allocations: 5.109 MB / 1.027 GB, free: 92.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006665/2.298, allocations: 2.735 MB / 1.03 GB, free: 92.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009781/2.299, allocations: 358.3 kB / 1.03 GB, free: 92.49 MB / 442.7 MB Notification: Performance of SimCode: time 5.51e-07/2.299, allocations: 0 / 1.03 GB, free: 92.49 MB / 442.7 MB Notification: Performance of Templates: time 0.1198/2.419, allocations: 88.07 MB / 1.116 GB, free: 30.63 MB / 442.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1)