Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.001647/0.001646, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00224/0.00224, allocations: 195 kB / 16.53 MB, free: 6.691 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.562/1.562, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.001252/0.001252, allocations: 52.3 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2703, allocations: 46.64 MB / 325.3 MB, free: 1.969 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.02329/0.2936, allocations: 21.31 MB / 346.6 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01825/0.3119, allocations: 6.638 MB / 353.3 MB, free: 7.984 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007194/0.3192, allocations: 163.4 kB / 353.4 MB, free: 7.824 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01519/0.3344, allocations: 7.076 MB / 360.5 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01321/0.3477, allocations: 2.824 MB / 363.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007178/0.3549, allocations: 2.549 MB / 365.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01415/0.3691, allocations: 7.264 MB / 373.1 MB, free: 4.051 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01645/0.3856, allocations: 9.1 MB / 382.2 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007254/0.3929, allocations: 3.217 MB / 385.5 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008261/0.4012, allocations: 4.035 MB / 389.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003875/0.4051, allocations: 0.746 MB / 390.2 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008915/0.4141, allocations: 1.951 MB / 392.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008675/0.4228, allocations: 3.753 MB / 395.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01182/0.4347, allocations: 4.32 MB / 400.3 MB, free: 8.789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02134/0.4561, allocations: 13.31 MB / 413.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.4561, allocations: 0 / 413.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4561, allocations: 0 / 413.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000576/0.4567, allocations: 4 kB / 413.6 MB, free: 11.44 MB / 350.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.03091/0.4876, allocations: 9.287 MB / 422.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.4877, allocations: 8.031 kB / 422.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01192/0.4996, allocations: 2.365 MB / 425.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01565/0.5153, allocations: 4.612 MB / 429.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006479/0.516, allocations: 496.9 kB / 430.3 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004029/0.5201, allocations: 0.648 MB / 431 MB, free: 9.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05232/0.5724, allocations: 18.8 MB / 449.8 MB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000556/0.573, allocations: 71.38 kB / 449.8 MB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003398/0.5764, allocations: 295.8 kB / 450.1 MB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006098/0.5826, allocations: 3.015 MB / 453.1 MB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4629/1.046, allocations: 16.17 MB / 469.3 MB, free: 98.15 MB / 382.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.07858/1.124, allocations: 70.68 MB / 0.5273 GB, free: 28.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.024/1.148, allocations: 8.922 MB / 0.5361 GB, free: 19.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005437/1.154, allocations: 5.053 MB / 0.541 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02869/1.182, allocations: 20.36 MB / 0.5609 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.601e-05/1.182, allocations: 72.59 kB / 0.5609 GB, free: 9.547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=322): time 5.861e-06/1.182, allocations: 0 / 0.5609 GB, free: 9.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=380): time 0.1242/1.307, allocations: 44.08 MB / 0.604 GB, free: 13.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2354/1.542, allocations: 12.88 MB / 0.6166 GB, free: 153.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01412/1.556, allocations: 6.1 MB / 0.6225 GB, free: 152.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00113/1.558, allocations: 81.52 kB / 0.6226 GB, free: 152.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003384/1.561, allocations: 5.139 MB / 0.6276 GB, free: 149.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002207/1.563, allocations: 1.412 MB / 0.629 GB, free: 148.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003349/1.567, allocations: 1.997 MB / 0.6309 GB, free: 147.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.982e-05/1.567, allocations: 311.9 kB / 0.6312 GB, free: 147.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005521/1.572, allocations: 4.461 MB / 0.6356 GB, free: 145.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009919/1.582, allocations: 9.889 MB / 0.6453 GB, free: 137.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01769/1.6, allocations: 15.49 MB / 0.6604 GB, free: 125.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001952/1.6, allocations: 56 kB / 0.6604 GB, free: 125.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=1276) (initialization): time 0.03478/1.635, allocations: 17.64 MB / 0.6777 GB, free: 109.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002848/1.635, allocations: 88 kB / 0.6777 GB, free: 109 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003876/1.636, allocations: 188 kB / 0.6779 GB, free: 108.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/1.646, allocations: 3.554 MB / 0.6814 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008102/1.654, allocations: 2.246 MB / 0.6836 GB, free: 103 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02911/1.683, allocations: 29.11 MB / 0.712 GB, free: 72.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009801/1.693, allocations: 0.6201 MB / 0.7126 GB, free: 72.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00241/1.695, allocations: 0.5858 MB / 0.7132 GB, free: 71.78 MB / 446.1 MB 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.007706/1.703, allocations: 3.571 MB / 0.7167 GB, free: 68.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001576/1.705, allocations: 0.563 MB / 0.7172 GB, free: 67.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01811/1.723, allocations: 10.37 MB / 0.7274 GB, free: 57.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01548/1.738, allocations: 9.063 MB / 0.7362 GB, free: 47.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01554/1.754, allocations: 8.942 MB / 0.7449 GB, free: 38.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001038/1.754, allocations: 19.92 kB / 0.745 GB, free: 38.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04803/1.802, allocations: 24.57 MB / 0.769 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.756e-05/1.802, allocations: 12.12 kB / 0.769 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003697/1.806, allocations: 0.6279 MB / 0.7696 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009088/1.815, allocations: 2.972 MB / 0.7725 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001053/1.816, allocations: 75.42 kB / 0.7726 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2389/2.055, allocations: 22.64 MB / 0.7947 GB, free: 128.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00616/2.061, allocations: 6.032 MB / 0.8006 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02615/2.087, allocations: 15.03 MB / 0.8152 GB, free: 118.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003723/2.091, allocations: 1.251 MB / 0.8165 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001736/2.093, allocations: 71.45 kB / 0.8165 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004387/2.097, allocations: 274.2 kB / 0.8168 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001156/2.098, allocations: 252.2 kB / 0.817 GB, free: 118 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003432/2.099, allocations: 100.2 kB / 0.8171 GB, free: 118 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006179/2.105, allocations: 3.816 MB / 0.8208 GB, free: 115.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/2.105, allocations: 0 / 0.8208 GB, free: 115.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01222/2.117, allocations: 2.095 MB / 0.8229 GB, free: 113.6 MB / 446.1 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 (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.001403/2.119, allocations: 288.3 kB / 0.8232 GB, free: 113.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.03154/2.15, allocations: 17.11 MB / 0.8399 GB, free: 97.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.211e-05/2.15, allocations: 4 kB / 0.8399 GB, free: 97.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008887/2.159, allocations: 4.771 MB / 0.8445 GB, free: 93.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006917/2.166, allocations: 0.9212 MB / 0.8454 GB, free: 92.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03082/2.197, allocations: 18.13 MB / 0.8631 GB, free: 73.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007214/2.204, allocations: 5.451 MB / 0.8685 GB, free: 68.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.008031/2.212, allocations: 3.114 MB / 0.8715 GB, free: 65.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001521/2.214, allocations: 415.3 kB / 0.8719 GB, free: 64.92 MB / 446.1 MB Notification: Performance of SimCode: time 1.472e-06/2.214, allocations: 0 / 0.8719 GB, free: 64.92 MB / 446.1 MB Notification: Performance of Templates: time 0.3505/2.564, allocations: 87.69 MB / 0.9575 GB, free: 136.4 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1)