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.001159/0.001159, allocations: 108 kB / 15.6 MB, free: 132 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.001287/0.001287, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.441/1.441, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001183/0.001183, allocations: 51.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2566, allocations: 46.63 MB / 325.3 MB, free: 1.832 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.02054/0.2771, allocations: 21.31 MB / 346.6 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01408/0.2912, allocations: 6.638 MB / 353.3 MB, free: 7.871 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004108/0.2954, allocations: 163.5 kB / 353.4 MB, free: 7.711 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0123/0.3077, allocations: 7.08 MB / 360.5 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008581/0.3164, allocations: 2.824 MB / 363.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005714/0.3221, allocations: 2.541 MB / 365.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01023/0.3324, allocations: 7.264 MB / 373.1 MB, free: 3.941 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01377/0.3462, allocations: 9.096 MB / 382.2 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005866/0.3521, allocations: 3.229 MB / 385.5 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005997/0.3581, allocations: 4.031 MB / 389.5 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002663/0.3608, allocations: 0.7383 MB / 390.2 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004952/0.3658, allocations: 1.947 MB / 392.2 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00482/0.3706, allocations: 3.757 MB / 395.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007574/0.3782, allocations: 4.32 MB / 400.2 MB, free: 8.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01733/0.3956, allocations: 13.3 MB / 413.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3956, allocations: 0 / 413.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.3957, allocations: 0 / 413.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000613/0.3963, allocations: 0 / 413.6 MB, free: 11.34 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.02859/0.4249, allocations: 9.295 MB / 422.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.425, allocations: 12.03 kB / 422.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/0.4356, allocations: 2.357 MB / 425.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009954/0.4456, allocations: 4.612 MB / 429.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004196/0.446, allocations: 496.9 kB / 430.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002919/0.449, allocations: 0.6559 MB / 431 MB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04162/0.4906, allocations: 18.8 MB / 449.8 MB, free: 5.926 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002812/0.4909, allocations: 67.31 kB / 449.8 MB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001906/0.4928, allocations: 299.8 kB / 450.1 MB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005095/0.4979, allocations: 3.015 MB / 453.1 MB, free: 2.539 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3529/0.8509, allocations: 16.18 MB / 469.3 MB, free: 97.88 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.08725/0.9382, allocations: 70.67 MB / 0.5273 GB, free: 28.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0249/0.9632, allocations: 8.919 MB / 0.536 GB, free: 19.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005909/0.9691, allocations: 5.057 MB / 0.541 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0316/1.001, allocations: 20.36 MB / 0.5609 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.878e-05/1.001, allocations: 76.58 kB / 0.5609 GB, free: 9.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=322): time 6.602e-06/1.001, allocations: 0 / 0.5609 GB, free: 9.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=380): time 0.1241/1.125, allocations: 44.07 MB / 0.604 GB, free: 12.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2154/1.34, allocations: 12.87 MB / 0.6166 GB, free: 152.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01267/1.353, allocations: 6.096 MB / 0.6225 GB, free: 152.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001204/1.354, allocations: 90.52 kB / 0.6226 GB, free: 152 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002802/1.357, allocations: 5.136 MB / 0.6276 GB, free: 148.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001961/1.359, allocations: 1.414 MB / 0.629 GB, free: 147.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002832/1.362, allocations: 1.999 MB / 0.6309 GB, free: 147 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.757e-05/1.362, allocations: 305.1 kB / 0.6312 GB, free: 146.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005696/1.368, allocations: 4.465 MB / 0.6356 GB, free: 145.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008601/1.376, allocations: 9.892 MB / 0.6453 GB, free: 136.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01739/1.394, allocations: 15.48 MB / 0.6604 GB, free: 124.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002521/1.394, allocations: 52 kB / 0.6604 GB, free: 124.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=1276) (initialization): time 0.03432/1.428, allocations: 17.65 MB / 0.6777 GB, free: 108.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/1.429, allocations: 87.94 kB / 0.6777 GB, free: 108.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000166/1.429, allocations: 196.1 kB / 0.6779 GB, free: 108.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009662/1.438, allocations: 3.555 MB / 0.6814 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007947/1.446, allocations: 2.246 MB / 0.6836 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02858/1.475, allocations: 29.11 MB / 0.712 GB, free: 72.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01086/1.486, allocations: 0.6161 MB / 0.7126 GB, free: 71.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002171/1.488, allocations: 0.5824 MB / 0.7132 GB, free: 70.99 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.007774/1.496, allocations: 3.565 MB / 0.7167 GB, free: 67.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001884/1.498, allocations: 0.5643 MB / 0.7172 GB, free: 66.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01818/1.516, allocations: 10.38 MB / 0.7274 GB, free: 56.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01683/1.533, allocations: 9.062 MB / 0.7362 GB, free: 47.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01591/1.549, allocations: 8.93 MB / 0.7449 GB, free: 38.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001167/1.549, allocations: 23.92 kB / 0.745 GB, free: 38.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04749/1.596, allocations: 24.57 MB / 0.7689 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.701e-05/1.597, allocations: 8.594 kB / 0.769 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003732/1.6, allocations: 0.6357 MB / 0.7696 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008512/1.609, allocations: 2.975 MB / 0.7725 GB, free: 9.719 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008783/1.61, allocations: 71.98 kB / 0.7726 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2119/1.822, allocations: 22.65 MB / 0.7947 GB, free: 128.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006041/1.828, allocations: 6.021 MB / 0.8005 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02281/1.851, allocations: 15.04 MB / 0.8152 GB, free: 118.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003049/1.854, allocations: 1.256 MB / 0.8165 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001019/1.855, allocations: 67.08 kB / 0.8165 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003444/1.858, allocations: 270.8 kB / 0.8168 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008328/1.859, allocations: 250.1 kB / 0.817 GB, free: 118 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003425/1.859, allocations: 110.8 kB / 0.8171 GB, free: 118 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005195/1.865, allocations: 3.82 MB / 0.8209 GB, free: 115.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.31e-07/1.865, allocations: 0 / 0.8209 GB, free: 115.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01061/1.875, allocations: 2.098 MB / 0.8229 GB, free: 113.8 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.001205/1.876, allocations: 280.8 kB / 0.8232 GB, free: 113.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02567/1.902, allocations: 17.1 MB / 0.8399 GB, free: 97.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/1.902, allocations: 0 / 0.8399 GB, free: 97.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006974/1.909, allocations: 4.779 MB / 0.8445 GB, free: 93.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006821/1.916, allocations: 0.9104 MB / 0.8454 GB, free: 92.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02718/1.943, allocations: 18.14 MB / 0.8631 GB, free: 74.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008661/1.952, allocations: 5.451 MB / 0.8685 GB, free: 68.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.009294/1.961, allocations: 3.114 MB / 0.8715 GB, free: 65.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002041/1.963, allocations: 415.3 kB / 0.8719 GB, free: 65.03 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/1.963, allocations: 0 / 0.8719 GB, free: 65.03 MB / 446.1 MB Notification: Performance of Templates: time 0.3197/2.283, allocations: 87.69 MB / 0.9575 GB, free: 136.4 MB / 462.1 MB 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)