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.01069/0.01069, allocations: 101.4 kB / 15.73 MB, free: 5.492 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.002296/0.002296, allocations: 188.4 kB / 16.67 MB, free: 5.422 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.564/1.564, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.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.001516/0.001516, allocations: 51.92 kB / 326.5 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1295, allocations: 46.61 MB / 373.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.2928/0.4224, allocations: 21.32 MB / 394.5 MB, free: 140 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02062/0.4431, allocations: 6.636 MB / 401.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008342/0.4515, allocations: 161.7 kB / 401.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01587/0.4674, allocations: 7.079 MB / 408.3 MB, free: 7.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01193/0.4794, allocations: 2.903 MB / 411.3 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007727/0.4872, allocations: 2.56 MB / 413.8 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01639/0.5036, allocations: 7.251 MB / 421.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01628/0.5199, allocations: 9.085 MB / 430.1 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006933/0.5269, allocations: 3.213 MB / 433.4 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007618/0.5346, allocations: 4.054 MB / 437.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00329/0.5379, allocations: 0.7383 MB / 438.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007304/0.5452, allocations: 1.955 MB / 440.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006856/0.5521, allocations: 3.827 MB / 443.9 MB, free: 8.562 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01059/0.5627, allocations: 4.316 MB / 448.3 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02508/0.5879, allocations: 13.65 MB / 461.9 MB, free: 6.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/0.5879, allocations: 3.938 kB / 461.9 MB, free: 6.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.358e-06/0.5879, allocations: 3.984 kB / 461.9 MB, free: 6.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006832/0.5886, allocations: 0 / 461.9 MB, free: 6.523 MB / 382.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.03695/0.6256, allocations: 9.299 MB / 471.2 MB, free: 13.13 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/0.6256, allocations: 12.03 kB / 471.2 MB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/0.6365, allocations: 2.358 MB / 473.6 MB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0126/0.6491, allocations: 4.737 MB / 478.3 MB, free: 5.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005977/0.6498, allocations: 493.1 kB / 478.8 MB, free: 5.445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003758/0.6535, allocations: 0.6558 MB / 479.5 MB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04785/0.7014, allocations: 18.79 MB / 498.2 MB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004036/0.7019, allocations: 71.36 kB / 498.3 MB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002347/0.7042, allocations: 295.8 kB / 498.6 MB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005038/0.7093, allocations: 3.011 MB / 0.4899 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03972/0.749, allocations: 16.18 MB / 0.5057 GB, free: 13.43 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.5782/1.327, allocations: 70.29 MB / 0.5743 GB, free: 106.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02913/1.356, allocations: 8.913 MB / 0.583 GB, free: 105.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008063/1.365, allocations: 5.049 MB / 0.5879 GB, free: 103.6 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03435/1.399, allocations: 20.37 MB / 0.6078 GB, free: 93.32 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/1.399, allocations: 63.22 kB / 0.6079 GB, free: 93.26 MB / 478.1 MB Notification: Performance of pre-optimization done (n=322): time 6.582e-06/1.399, allocations: 0 / 0.6079 GB, free: 93.26 MB / 478.1 MB Notification: Performance of matching and sorting (n=380): time 0.1193/1.518, allocations: 44.07 MB / 0.6509 GB, free: 54.15 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01256/1.531, allocations: 12.88 MB / 0.6635 GB, free: 40.55 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01007/1.541, allocations: 6.097 MB / 0.6694 GB, free: 34.45 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001126/1.542, allocations: 81.7 kB / 0.6695 GB, free: 34.36 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00327/1.546, allocations: 5.136 MB / 0.6745 GB, free: 29.23 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00238/1.548, allocations: 1.408 MB / 0.6759 GB, free: 27.83 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004998/1.553, allocations: 2.002 MB / 0.6779 GB, free: 25.82 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.508e-05/1.553, allocations: 301.1 kB / 0.6782 GB, free: 25.52 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006264/1.559, allocations: 4.462 MB / 0.6825 GB, free: 21.05 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009408/1.569, allocations: 9.896 MB / 0.6922 GB, free: 8.578 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01811/1.587, allocations: 15.49 MB / 0.7073 GB, free: 6.402 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002006/1.587, allocations: 56 kB / 0.7074 GB, free: 6.348 MB / 494.1 MB Notification: Performance of matching and sorting (n=1276) (initialization): time 0.04013/1.627, allocations: 17.63 MB / 0.7246 GB, free: 4.617 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004605/1.628, allocations: 88.03 kB / 0.7247 GB, free: 4.531 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006512/1.628, allocations: 195.2 kB / 0.7248 GB, free: 4.344 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01175/1.64, allocations: 3.564 MB / 0.7283 GB, free: 0.7734 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009398/1.65, allocations: 2.238 MB / 0.7305 GB, free: 14.53 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2811/1.931, allocations: 29.09 MB / 0.7589 GB, free: 163 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01016/1.941, allocations: 0.6199 MB / 0.7595 GB, free: 162.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002461/1.943, allocations: 0.5819 MB / 0.7601 GB, free: 162.8 MB / 0.5138 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.009316/1.953, allocations: 3.568 MB / 0.7636 GB, free: 161.4 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002396/1.955, allocations: 0.5697 MB / 0.7641 GB, free: 161.4 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02595/1.981, allocations: 10.37 MB / 0.7743 GB, free: 157.6 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02031/2.002, allocations: 9.063 MB / 0.7831 GB, free: 154.5 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01917/2.021, allocations: 8.937 MB / 0.7918 GB, free: 151.4 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000109/2.021, allocations: 22.22 kB / 0.7919 GB, free: 151.4 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05123/2.072, allocations: 24.42 MB / 0.8157 GB, free: 131.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-05/2.072, allocations: 4 kB / 0.8157 GB, free: 131.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003534/2.076, allocations: 0.631 MB / 0.8163 GB, free: 131.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008743/2.085, allocations: 2.958 MB / 0.8192 GB, free: 128.2 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00103/2.086, allocations: 71.97 kB / 0.8193 GB, free: 128.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02689/2.113, allocations: 22.7 MB / 0.8414 GB, free: 105.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006061/2.119, allocations: 6.033 MB / 0.8473 GB, free: 98.91 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02627/2.145, allocations: 15.04 MB / 0.862 GB, free: 84.04 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004251/2.149, allocations: 1.257 MB / 0.8633 GB, free: 82.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002148/2.151, allocations: 64 kB / 0.8633 GB, free: 82.84 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004618/2.156, allocations: 277.5 kB / 0.8636 GB, free: 82.57 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001144/2.157, allocations: 247.9 kB / 0.8638 GB, free: 82.33 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005375/2.158, allocations: 99.81 kB / 0.8639 GB, free: 82.23 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007099/2.165, allocations: 3.821 MB / 0.8676 GB, free: 78.42 MB / 0.5138 GB Notification: Performance of sort global known variables: time 6.11e-07/2.165, allocations: 0 / 0.8676 GB, free: 78.42 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01411/2.179, allocations: 2.096 MB / 0.8697 GB, free: 76.34 MB / 0.5138 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.00201/2.181, allocations: 285.3 kB / 0.87 GB, free: 76.07 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01863/2.2, allocations: 11.53 MB / 0.8812 GB, free: 64.53 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/2.2, allocations: 0 / 0.8812 GB, free: 64.53 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008459/2.208, allocations: 4.78 MB / 0.8859 GB, free: 59.7 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01202/2.22, allocations: 0.9168 MB / 0.8868 GB, free: 58.79 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03559/2.256, allocations: 17.95 MB / 0.9043 GB, free: 40.74 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01052/2.267, allocations: 5.446 MB / 0.9096 GB, free: 35.26 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008793/2.275, allocations: 3.114 MB / 0.9127 GB, free: 32.14 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002286/2.278, allocations: 415.3 kB / 0.9131 GB, free: 31.73 MB / 0.5138 GB Notification: Performance of SimCode: time 9.72e-07/2.278, allocations: 0 / 0.9131 GB, free: 31.73 MB / 0.5138 GB Notification: Performance of Templates: time 0.3668/2.645, allocations: 83.08 MB / 0.9942 GB, free: 132.3 MB / 0.5138 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)