Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009263/0.009263, allocations: 165.9 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.253/1.253, allocations: 170.8 MB / 186.6 MB, free: 1.137 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001747/0.001747, allocations: 106.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003298, allocations: 12 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2048, allocations: 38.77 MB / 312.9 MB, free: 38.8 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1125/0.3173, allocations: 101.6 MB / 414.5 MB, free: 4.836 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/0.3177, allocations: 95.95 kB / 414.6 MB, free: 4.742 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4614/0.7791, allocations: 140 MB / 0.5417 GB, free: 1.852 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.7791, allocations: 0 / 0.5417 GB, free: 1.852 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004757/0.7796, allocations: 160 kB / 0.5418 GB, free: 1.695 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2639 * Number of variables: 2639 Notification: Performance of Generate backend data structure: time 0.2388/1.018, allocations: 8.338 MB / 0.55 GB, free: 33.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/1.018, allocations: 7.188 kB / 0.55 GB, free: 33.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01417/1.033, allocations: 2.896 MB / 0.5528 GB, free: 33.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02321/1.056, allocations: 8.052 MB / 0.5606 GB, free: 32.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001269/1.057, allocations: 0.5833 MB / 0.5612 GB, free: 32.69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006052/1.063, allocations: 0.7735 MB / 0.562 GB, free: 32.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04912/1.112, allocations: 19.27 MB / 0.5808 GB, free: 28.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004553/1.113, allocations: 88.31 kB / 0.5809 GB, free: 28.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002938/1.116, allocations: 366.7 kB / 0.5812 GB, free: 28.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002525/1.118, allocations: 1.697 MB / 0.5829 GB, free: 28.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03519/1.154, allocations: 16.34 MB / 0.5988 GB, free: 28.5 MB / 346.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.1025/1.256, allocations: 80.64 MB / 0.6776 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02451/1.281, allocations: 8.926 MB / 0.6863 GB, free: 7.156 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.257/1.538, allocations: 19.66 MB / 0.7055 GB, free: 78.61 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.256e-05/1.538, allocations: 63.83 kB / 0.7056 GB, free: 78.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=308): time 8.136e-06/1.538, allocations: 0 / 0.7056 GB, free: 78.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=366): time 0.119/1.657, allocations: 44.79 MB / 0.7493 GB, free: 72.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.013/1.67, allocations: 12.92 MB / 0.7619 GB, free: 64.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008419/1.678, allocations: 5.376 MB / 0.7672 GB, free: 62.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00111/1.68, allocations: 78.83 kB / 0.7673 GB, free: 62.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003705/1.683, allocations: 5.13 MB / 0.7723 GB, free: 58.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002439/1.686, allocations: 1.368 MB / 0.7736 GB, free: 57.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008624/1.687, allocations: 192.4 kB / 0.7738 GB, free: 57.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004783/1.687, allocations: 0.7109 MB / 0.7745 GB, free: 56.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005506/1.693, allocations: 4.354 MB / 0.7787 GB, free: 55.19 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00808/1.701, allocations: 9.751 MB / 0.7883 GB, free: 46.46 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008239/1.709, allocations: 6.377 MB / 0.7945 GB, free: 42.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001194/1.709, allocations: 55.88 kB / 0.7945 GB, free: 42.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.03098/1.74, allocations: 17.39 MB / 0.8115 GB, free: 28.21 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/1.74, allocations: 88 kB / 0.8116 GB, free: 28.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000252/1.741, allocations: 188.1 kB / 0.8118 GB, free: 27.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0103/1.751, allocations: 3.591 MB / 0.8153 GB, free: 25.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00834/1.759, allocations: 2.234 MB / 0.8175 GB, free: 23.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2682/2.027, allocations: 27.81 MB / 0.8446 GB, free: 61.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01208/2.04, allocations: 0.6234 MB / 0.8452 GB, free: 61.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002949/2.043, allocations: 0.5704 MB / 0.8458 GB, free: 61.25 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 866 * Number of states: 0 () * Number of discrete variables: 63 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslationOfConstraint.color[3],fixedTranslationOfConstraint.color[2],fixedTranslationOfConstraint.color[1],fixedTranslationOfJoint.color[3],fixedTranslationOfJoint.color[2],fixedTranslationOfJoint.color[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 (1149): * Single equations (assignments): 1134 * Array equations: 8 * 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%) 20,(1,100.0%) 7,(2,100.0%) 24,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.009423/2.052, allocations: 3.541 MB / 0.8493 GB, free: 61.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001871/2.054, allocations: 0.5624 MB / 0.8498 GB, free: 61.04 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02052/2.074, allocations: 10.29 MB / 0.8599 GB, free: 60.47 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01733/2.092, allocations: 8.997 MB / 0.8686 GB, free: 59.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01853/2.11, allocations: 9.408 MB / 0.8778 GB, free: 59.28 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001183/2.111, allocations: 23.59 kB / 0.8779 GB, free: 59.28 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04823/2.159, allocations: 24.37 MB / 0.9017 GB, free: 50.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.824e-05/2.159, allocations: 9.438 kB / 0.9017 GB, free: 50.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0035/2.162, allocations: 0.6214 MB / 0.9023 GB, free: 50.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008813/2.171, allocations: 2.996 MB / 0.9052 GB, free: 49.49 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009311/2.172, allocations: 73.98 kB / 0.9053 GB, free: 49.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02502/2.197, allocations: 21.57 MB / 0.9263 GB, free: 38.06 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006031/2.203, allocations: 6.016 MB / 0.9322 GB, free: 33.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0236/2.227, allocations: 15.55 MB / 0.9474 GB, free: 20.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004622/2.232, allocations: 1.258 MB / 0.9486 GB, free: 19.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00177/2.233, allocations: 67.47 kB / 0.9487 GB, free: 19.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003789/2.237, allocations: 279.9 kB / 0.949 GB, free: 19.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007509/2.238, allocations: 242.2 kB / 0.9492 GB, free: 19.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002904/2.238, allocations: 103.2 kB / 0.9493 GB, free: 19.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005919/2.244, allocations: 3.774 MB / 0.953 GB, free: 15.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.51e-07/2.244, allocations: 0 / 0.953 GB, free: 15.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01143/2.256, allocations: 2.08 MB / 0.955 GB, free: 13.89 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 8 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],joint.phi_a,joint.phi_b,joint.w_a,joint.w_b) * 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 (278): * Single equations (assignments): 270 * 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 {(4,75.0%) 19,(3,100.0%) 17,(3,100.0%) 8} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.00118/2.257, allocations: 275.8 kB / 0.9553 GB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01582/2.273, allocations: 11.29 MB / 0.9663 GB, free: 4.211 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.916e-06/2.273, allocations: 0 / 0.9663 GB, free: 4.211 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007601/2.28, allocations: 4.749 MB / 0.9709 GB, free: 124 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006393/2.287, allocations: 0.8419 MB / 0.9718 GB, free: 15.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2312/2.518, allocations: 20.74 MB / 0.992 GB, free: 73.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01172/2.53, allocations: 5.564 MB / 0.9974 GB, free: 72.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.01036/2.54, allocations: 3.101 MB / 1 GB, free: 72.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002479/2.543, allocations: 408.1 kB / 1.001 GB, free: 72.21 MB / 410.7 MB Notification: Performance of SimCode: time 2.224e-06/2.543, allocations: 0 / 1.001 GB, free: 72.21 MB / 410.7 MB Notification: Performance of Templates: time 0.1347/2.677, allocations: 80.84 MB / 1.08 GB, free: 40.16 MB / 410.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1)