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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008803/0.008803, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006374/0.0006369, allocations: 8 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3046, allocations: 47.59 MB / 327 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.09282/0.3975, allocations: 99.29 MB / 426.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.05253/0.4501, allocations: 19.95 MB / 446.3 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02685/0.477, allocations: 454.8 kB / 446.7 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003351/0.4804, allocations: 0.7655 MB / 447.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008796/0.4892, allocations: 2.662 MB / 450.1 MB, free: 7.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003974/0.4932, allocations: 1.268 MB / 451.4 MB, free: 6.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3021/0.7953, allocations: 10.66 MB / 462.1 MB, free: 2.598 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01633/0.8116, allocations: 12.17 MB / 474.2 MB, free: 1.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00521/0.8169, allocations: 2.196 MB / 476.4 MB, free: 1.156 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00657/0.8235, allocations: 3.432 MB / 479.9 MB, free: 1.148 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001646/0.8252, allocations: 263.4 kB / 480.1 MB, free: 1.145 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004445/0.8296, allocations: 1.57 MB / 481.7 MB, free: 1.133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003683/0.8333, allocations: 3.176 MB / 484.9 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005965/0.8393, allocations: 3.626 MB / 488.5 MB, free: 15.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01573/0.8551, allocations: 12.66 MB / 0.4894 GB, free: 8.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.8551, allocations: 0 / 0.4894 GB, free: 8.758 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.8551, allocations: 4 kB / 0.4894 GB, free: 8.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005509/0.8557, allocations: 0 / 0.4894 GB, free: 8.754 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2676 * Number of variables: 2676 Notification: Performance of Generate backend data structure: time 0.02384/0.8795, allocations: 7.573 MB / 0.4968 GB, free: 4.262 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.8796, allocations: 8.562 kB / 0.4968 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01107/0.8907, allocations: 2.409 MB / 0.4992 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01232/0.903, allocations: 4.616 MB / 0.5037 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004962/0.9035, allocations: 493.2 kB / 0.5042 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003152/0.9067, allocations: 0.6474 MB / 0.5048 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0485/0.9552, allocations: 18.85 MB / 0.5232 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002773/0.9555, allocations: 77.64 kB / 0.5233 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001436/0.957, allocations: 302.1 kB / 0.5236 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005267/0.9623, allocations: 3.005 MB / 0.5265 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03731/0.9996, allocations: 16.23 MB / 0.5423 GB, free: 10.59 MB / 446.1 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.1051/1.105, allocations: 70.65 MB / 0.6113 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0278/1.133, allocations: 9.003 MB / 0.6201 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008669/1.141, allocations: 5.058 MB / 0.6251 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2581/1.399, allocations: 20.35 MB / 0.6449 GB, free: 234.1 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.787e-05/1.4, allocations: 73.41 kB / 0.645 GB, free: 234.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=322): time 7.864e-06/1.4, allocations: 0 / 0.645 GB, free: 234.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=380): time 0.1167/1.516, allocations: 43.98 MB / 0.688 GB, free: 201 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01205/1.528, allocations: 12.36 MB / 0.7 GB, free: 188 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007306/1.536, allocations: 6.104 MB / 0.706 GB, free: 181.9 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001163/1.537, allocations: 78.8 kB / 0.7061 GB, free: 181.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002548/1.539, allocations: 5.14 MB / 0.7111 GB, free: 176.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001736/1.541, allocations: 1.41 MB / 0.7125 GB, free: 175.2 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/1.542, allocations: 0.8261 MB / 0.7133 GB, free: 174.4 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.185e-05/1.542, allocations: 305.1 kB / 0.7136 GB, free: 174.1 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005815/1.548, allocations: 4.462 MB / 0.7179 GB, free: 169.6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008359/1.557, allocations: 9.901 MB / 0.7276 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0163/1.573, allocations: 15.48 MB / 0.7427 GB, free: 138.9 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001589/1.573, allocations: 52 kB / 0.7428 GB, free: 138.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1276) (initialization): time 0.03227/1.605, allocations: 17.63 MB / 0.76 GB, free: 121.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/1.606, allocations: 92.16 kB / 0.7601 GB, free: 121.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002196/1.606, allocations: 195.9 kB / 0.7602 GB, free: 120.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009901/1.616, allocations: 3.555 MB / 0.7637 GB, free: 117.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008563/1.624, allocations: 2.242 MB / 0.7659 GB, free: 115.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02866/1.653, allocations: 27.27 MB / 0.7925 GB, free: 86.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008717/1.662, allocations: 0.6266 MB / 0.7931 GB, free: 86.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002016/1.664, allocations: 0.5836 MB / 0.7937 GB, free: 85.67 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 864 * Number of states: 0 () * Number of discrete variables: 66 (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.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 (1169): * Single equations (assignments): 1152 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,20,100.0%), (1,7,100.0%), (2,24,100.0%), (2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.00737/1.671, allocations: 3.56 MB / 0.7972 GB, free: 82.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001418/1.673, allocations: 0.563 MB / 0.7977 GB, free: 81.52 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01894/1.692, allocations: 10.38 MB / 0.8079 GB, free: 71.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01801/1.71, allocations: 9.074 MB / 0.8167 GB, free: 61.83 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0174/1.727, allocations: 8.934 MB / 0.8255 GB, free: 52.78 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000102/1.727, allocations: 15.94 kB / 0.8255 GB, free: 52.76 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05567/1.783, allocations: 24.59 MB / 0.8495 GB, free: 27.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.212e-05/1.783, allocations: 4 kB / 0.8495 GB, free: 27.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003641/1.787, allocations: 0.6441 MB / 0.8501 GB, free: 27.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008776/1.795, allocations: 2.991 MB / 0.853 GB, free: 24.33 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009835/1.796, allocations: 71.98 kB / 0.8531 GB, free: 24.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2834/2.08, allocations: 21.06 MB / 0.8737 GB, free: 211.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006639/2.087, allocations: 5.861 MB / 0.8794 GB, free: 209 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02496/2.112, allocations: 15.03 MB / 0.8941 GB, free: 204.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003611/2.115, allocations: 1.265 MB / 0.8953 GB, free: 203.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001364/2.117, allocations: 66.89 kB / 0.8954 GB, free: 203.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003689/2.12, allocations: 274.5 kB / 0.8956 GB, free: 203.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008333/2.121, allocations: 247 kB / 0.8959 GB, free: 203.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002769/2.121, allocations: 112.3 kB / 0.896 GB, free: 203.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00692/2.128, allocations: 3.809 MB / 0.8997 GB, free: 202.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.41e-07/2.128, allocations: 0 / 0.8997 GB, free: 202.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01176/2.14, allocations: 2.092 MB / 0.9017 GB, free: 202.2 MB / 0.5137 GB 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 (290): * Single equations (assignments): 282 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(4,19,75.0%), (3,17,100.0%), (3,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001594/2.142, allocations: 286 kB / 0.902 GB, free: 202.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01876/2.161, allocations: 11.48 MB / 0.9132 GB, free: 197.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/2.161, allocations: 0 / 0.9132 GB, free: 197.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.008264/2.169, allocations: 4.773 MB / 0.9179 GB, free: 194.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01136/2.18, allocations: 0.858 MB / 0.9187 GB, free: 193.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03545/2.216, allocations: 21.93 MB / 0.9401 GB, free: 173.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008006/2.224, allocations: 5.448 MB / 0.9455 GB, free: 168.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.008969/2.233, allocations: 3.118 MB / 0.9485 GB, free: 165 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002069/2.235, allocations: 415.3 kB / 0.9489 GB, free: 164.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.392e-06/2.235, allocations: 1.641 kB / 0.9489 GB, free: 164.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.1306/2.366, allocations: 82.83 MB / 1.03 GB, free: 81.68 MB / 0.5137 GB 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)