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.007575/0.007575, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.001372/0.001372, allocations: 189.7 kB / 16.67 MB, free: 5.965 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.613/1.613, allocations: 205.1 MB / 222.5 MB, free: 4.383 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.001244/0.001244, allocations: 54.67 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09755/0.0988, allocations: 46.63 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.02223/0.1211, allocations: 21.31 MB / 394.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01632/0.1375, allocations: 6.634 MB / 401.1 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005477/0.143, allocations: 163.5 kB / 401.3 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01302/0.1561, allocations: 7.079 MB / 408.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009336/0.1655, allocations: 2.82 MB / 411.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006291/0.1718, allocations: 2.545 MB / 413.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01276/0.1846, allocations: 7.252 MB / 421 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01289/0.1975, allocations: 9.092 MB / 430.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006915/0.2045, allocations: 3.217 MB / 433.3 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007707/0.2122, allocations: 4.043 MB / 437.3 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002662/0.2149, allocations: 0.7383 MB / 438.1 MB, free: 112 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005786/0.2207, allocations: 1.947 MB / 440 MB, free: 14.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007176/0.2279, allocations: 3.831 MB / 443.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01038/0.2383, allocations: 4.316 MB / 448.2 MB, free: 5.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2754/0.5138, allocations: 13.66 MB / 461.8 MB, free: 26.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.5139, allocations: 0 / 461.8 MB, free: 26.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5139, allocations: 0 / 461.8 MB, free: 26.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007061/0.5146, allocations: 1 kB / 461.8 MB, free: 26.31 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.03989/0.5545, allocations: 9.292 MB / 471.1 MB, free: 23.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.5545, allocations: 13.94 kB / 471.1 MB, free: 23.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/0.5661, allocations: 2.367 MB / 473.5 MB, free: 22.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01458/0.5808, allocations: 4.728 MB / 478.2 MB, free: 21.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005031/0.5813, allocations: 484.5 kB / 478.7 MB, free: 21.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004342/0.5856, allocations: 0.6587 MB / 479.3 MB, free: 21.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04945/0.6351, allocations: 18.8 MB / 498.2 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004906/0.6357, allocations: 65.25 kB / 498.2 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004296/0.64, allocations: 303.5 kB / 498.5 MB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005112/0.6451, allocations: 3.005 MB / 0.4898 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03676/0.6819, allocations: 16.18 MB / 0.5056 GB, free: 11.52 MB / 398.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.1261/0.808, allocations: 70.29 MB / 0.5742 GB, free: 4.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02715/0.8352, allocations: 8.912 MB / 0.5829 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008137/0.8434, allocations: 5.06 MB / 0.5879 GB, free: 6.387 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03593/0.8794, allocations: 20.37 MB / 0.6078 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.481e-05/0.8795, allocations: 75.22 kB / 0.6078 GB, free: 1.457 MB / 494.1 MB Notification: Performance of pre-optimization done (n=322): time 6.402e-06/0.8795, allocations: 0.6562 kB / 0.6078 GB, free: 1.457 MB / 494.1 MB Notification: Performance of matching and sorting (n=380): time 0.4082/1.288, allocations: 44.03 MB / 0.6508 GB, free: 191.7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01308/1.301, allocations: 12.88 MB / 0.6634 GB, free: 182.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01079/1.312, allocations: 6.097 MB / 0.6694 GB, free: 180.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001398/1.313, allocations: 85.27 kB / 0.6694 GB, free: 180.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003372/1.316, allocations: 5.137 MB / 0.6745 GB, free: 176.2 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002281/1.319, allocations: 1.411 MB / 0.6758 GB, free: 175.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003079/1.322, allocations: 1.996 MB / 0.6778 GB, free: 174.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.175e-05/1.322, allocations: 301.1 kB / 0.6781 GB, free: 173.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005816/1.328, allocations: 4.471 MB / 0.6824 GB, free: 172.4 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00883/1.337, allocations: 9.89 MB / 0.6921 GB, free: 162.6 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01551/1.352, allocations: 15.5 MB / 0.7072 GB, free: 144.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001462/1.352, allocations: 52 kB / 0.7073 GB, free: 144.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1276) (initialization): time 0.03463/1.387, allocations: 17.63 MB / 0.7245 GB, free: 126.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/1.387, allocations: 84 kB / 0.7246 GB, free: 126.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001692/1.387, allocations: 192 kB / 0.7248 GB, free: 126.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009919/1.397, allocations: 3.555 MB / 0.7282 GB, free: 122.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007751/1.405, allocations: 2.242 MB / 0.7304 GB, free: 120.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02845/1.434, allocations: 29.08 MB / 0.7588 GB, free: 90.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01029/1.444, allocations: 0.6201 MB / 0.7594 GB, free: 89.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002744/1.447, allocations: 0.5819 MB / 0.76 GB, free: 89.39 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.009839/1.456, allocations: 3.575 MB / 0.7635 GB, free: 85.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002304/1.459, allocations: 0.5668 MB / 0.764 GB, free: 85.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02106/1.48, allocations: 10.36 MB / 0.7742 GB, free: 74.74 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01592/1.496, allocations: 9.07 MB / 0.783 GB, free: 65.55 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0154/1.511, allocations: 8.934 MB / 0.7917 GB, free: 56.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.726e-05/1.511, allocations: 15.94 kB / 0.7918 GB, free: 56.49 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0509/1.562, allocations: 24.43 MB / 0.8156 GB, free: 31.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.418e-05/1.562, allocations: 12.03 kB / 0.8156 GB, free: 31.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003856/1.566, allocations: 0.6272 MB / 0.8162 GB, free: 31.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008416/1.575, allocations: 2.958 MB / 0.8191 GB, free: 28.37 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001089/1.576, allocations: 75.97 kB / 0.8192 GB, free: 28.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2783/1.854, allocations: 22.7 MB / 0.8414 GB, free: 174.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006815/1.861, allocations: 6.027 MB / 0.8472 GB, free: 171.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02659/1.888, allocations: 15.05 MB / 0.8619 GB, free: 166.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004965/1.893, allocations: 1.255 MB / 0.8632 GB, free: 166.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002135/1.895, allocations: 66.8 kB / 0.8632 GB, free: 166.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004422/1.899, allocations: 269.5 kB / 0.8635 GB, free: 166.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000909/1.9, allocations: 251.5 kB / 0.8637 GB, free: 166.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003347/1.901, allocations: 106.8 kB / 0.8638 GB, free: 166.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.007787/1.908, allocations: 3.814 MB / 0.8676 GB, free: 165.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.3e-07/1.908, allocations: 0 / 0.8676 GB, free: 165.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01336/1.922, allocations: 2.102 MB / 0.8696 GB, free: 164.8 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.001076/1.923, allocations: 286.4 kB / 0.8699 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01558/1.938, allocations: 11.52 MB / 0.8811 GB, free: 157.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/1.938, allocations: 0 / 0.8811 GB, free: 157.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007724/1.946, allocations: 4.786 MB / 0.8858 GB, free: 153.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007473/1.954, allocations: 0.9149 MB / 0.8867 GB, free: 152.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03176/1.985, allocations: 17.93 MB / 0.9042 GB, free: 136.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006533/1.992, allocations: 5.451 MB / 0.9095 GB, free: 131.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006891/1.999, allocations: 3.118 MB / 0.9126 GB, free: 128.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001585/2.001, allocations: 407.3 kB / 0.913 GB, free: 127.8 MB / 0.5137 GB Notification: Performance of SimCode: time 1.273e-06/2.001, allocations: 0 / 0.913 GB, free: 127.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.1267/2.127, allocations: 83.48 MB / 0.9945 GB, free: 44.43 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)