Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001093/0.001093, allocations: 88.81 kB / 16.65 MB, free: 6.289 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.001312/0.001312, allocations: 181.4 kB / 17.56 MB, free: 5.91 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.582/1.582, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0005248/0.0005242, allocations: 12 kB / 280.7 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1049, allocations: 47.59 MB / 328.3 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.3231/0.428, allocations: 99.29 MB / 427.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.05166/0.4797, allocations: 19.93 MB / 447.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02702/0.5068, allocations: 458.8 kB / 448 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002784/0.5096, allocations: 0.7733 MB / 448.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007269/0.5169, allocations: 2.666 MB / 451.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003317/0.5202, allocations: 1.26 MB / 452.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01344/0.5337, allocations: 10.67 MB / 463.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01965/0.5534, allocations: 12.17 MB / 475.5 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005432/0.5588, allocations: 2.202 MB / 477.7 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008082/0.567, allocations: 3.418 MB / 481.2 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001746/0.5688, allocations: 260 kB / 481.4 MB, free: 13.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004536/0.5733, allocations: 1.583 MB / 483 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003936/0.5773, allocations: 3.179 MB / 486.2 MB, free: 8.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005299/0.5826, allocations: 3.631 MB / 489.8 MB, free: 4.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01365/0.5963, allocations: 12.66 MB / 0.4907 GB, free: 8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.5963, allocations: 0 / 0.4907 GB, free: 8 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.5963, allocations: 0 / 0.4907 GB, free: 8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000448/0.5968, allocations: 0 / 0.4907 GB, free: 8 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.01738/0.6142, allocations: 7.571 MB / 0.4981 GB, free: 348 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.6142, allocations: 8.031 kB / 0.4981 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009117/0.6234, allocations: 2.416 MB / 0.5004 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009928/0.6333, allocations: 4.612 MB / 0.505 GB, free: 9.207 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005377/0.6339, allocations: 497.1 kB / 0.5054 GB, free: 8.719 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003119/0.637, allocations: 0.6558 MB / 0.5061 GB, free: 8.062 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04582/0.6829, allocations: 18.84 MB / 0.5245 GB, free: 4.223 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000258/0.6832, allocations: 71.36 kB / 0.5245 GB, free: 4.152 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001121/0.6843, allocations: 295.8 kB / 0.5248 GB, free: 3.863 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004713/0.689, allocations: 3.011 MB / 0.5278 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03916/0.7282, allocations: 16.22 MB / 0.5436 GB, free: 0.6094 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.6152/1.343, allocations: 70.65 MB / 0.6126 GB, free: 35.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02409/1.368, allocations: 8.997 MB / 0.6214 GB, free: 28.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005978/1.374, allocations: 5.065 MB / 0.6263 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03008/1.404, allocations: 20.36 MB / 0.6462 GB, free: 2.332 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/1.404, allocations: 63.38 kB / 0.6463 GB, free: 2.262 MB / 446.1 MB Notification: Performance of pre-optimization done (n=322): time 7.604e-06/1.404, allocations: 4 kB / 0.6463 GB, free: 2.258 MB / 446.1 MB Notification: Performance of matching and sorting (n=380): time 0.1298/1.534, allocations: 43.98 MB / 0.6892 GB, free: 6.008 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01485/1.548, allocations: 12.35 MB / 0.7013 GB, free: 8.945 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009066/1.558, allocations: 6.1 MB / 0.7072 GB, free: 2.844 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001107/1.559, allocations: 81.7 kB / 0.7073 GB, free: 2.758 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004333/1.563, allocations: 5.132 MB / 0.7123 GB, free: 13.65 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002267/1.565, allocations: 1.412 MB / 0.7137 GB, free: 12.25 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001688/1.567, allocations: 0.8276 MB / 0.7145 GB, free: 11.42 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.567, allocations: 309.1 kB / 0.7148 GB, free: 11.11 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007932/1.575, allocations: 4.462 MB / 0.7192 GB, free: 6.645 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01258/1.588, allocations: 9.895 MB / 0.7288 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2599/1.848, allocations: 15.49 MB / 0.744 GB, free: 227.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001621/1.848, allocations: 55.12 kB / 0.744 GB, free: 227.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1276) (initialization): time 0.03945/1.887, allocations: 17.63 MB / 0.7612 GB, free: 222.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/1.888, allocations: 86.59 kB / 0.7613 GB, free: 222.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002302/1.888, allocations: 193.9 kB / 0.7615 GB, free: 222.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01036/1.898, allocations: 3.551 MB / 0.765 GB, free: 221.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008533/1.907, allocations: 2.245 MB / 0.7672 GB, free: 221.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02987/1.937, allocations: 27.28 MB / 0.7938 GB, free: 204.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009925/1.947, allocations: 0.617 MB / 0.7944 GB, free: 204 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002412/1.949, allocations: 0.5837 MB / 0.795 GB, free: 203.5 MB / 0.5294 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.008957/1.958, allocations: 3.565 MB / 0.7985 GB, free: 200 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001704/1.96, allocations: 0.5694 MB / 0.799 GB, free: 199.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01938/1.979, allocations: 10.38 MB / 0.8091 GB, free: 189.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01733/1.997, allocations: 9.071 MB / 0.818 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01588/2.013, allocations: 8.93 MB / 0.8267 GB, free: 171 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.6e-05/2.013, allocations: 15.94 kB / 0.8267 GB, free: 171 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0431/2.056, allocations: 24.58 MB / 0.8507 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.917e-05/2.056, allocations: 7.938 kB / 0.8508 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003211/2.059, allocations: 0.6279 MB / 0.8514 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008631/2.068, allocations: 2.998 MB / 0.8543 GB, free: 142.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009782/2.069, allocations: 77.16 kB / 0.8544 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02486/2.094, allocations: 21.08 MB / 0.875 GB, free: 121.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005833/2.099, allocations: 5.853 MB / 0.8807 GB, free: 115.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02298/2.122, allocations: 15.03 MB / 0.8953 GB, free: 99.97 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003617/2.126, allocations: 1.259 MB / 0.8966 GB, free: 98.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001238/2.127, allocations: 68 kB / 0.8966 GB, free: 98.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003466/2.131, allocations: 271.6 kB / 0.8969 GB, free: 98.36 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007791/2.132, allocations: 249.9 kB / 0.8971 GB, free: 98.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002748/2.132, allocations: 103.7 kB / 0.8972 GB, free: 98.01 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005633/2.138, allocations: 3.817 MB / 0.901 GB, free: 94.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.1e-07/2.138, allocations: 0 / 0.901 GB, free: 94.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01072/2.148, allocations: 2.096 MB / 0.903 GB, free: 92.12 MB / 0.5294 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.001413/2.15, allocations: 293.2 kB / 0.9033 GB, free: 91.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01675/2.167, allocations: 11.47 MB / 0.9145 GB, free: 80.29 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/2.167, allocations: 4 kB / 0.9145 GB, free: 80.29 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007637/2.174, allocations: 4.764 MB / 0.9192 GB, free: 75.48 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01038/2.185, allocations: 0.8518 MB / 0.92 GB, free: 74.63 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02989/2.215, allocations: 21.94 MB / 0.9414 GB, free: 52.56 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007677/2.222, allocations: 5.446 MB / 0.9467 GB, free: 47.08 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008892/2.231, allocations: 3.118 MB / 0.9498 GB, free: 43.95 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001926/2.233, allocations: 415.3 kB / 0.9502 GB, free: 43.55 MB / 0.5294 GB Notification: Performance of SimCode: time 1.092e-06/2.233, allocations: 0 / 0.9502 GB, free: 43.55 MB / 0.5294 GB Notification: Performance of Templates: time 0.3793/2.612, allocations: 82.83 MB / 1.031 GB, free: 196.5 MB / 0.5294 GB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1)