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.00142/0.00142, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001565/0.001565, allocations: 193.9 kB / 16.14 MB, free: 6.707 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.495/1.495, allocations: 205.1 MB / 222 MB, free: 5.004 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.001131/0.001131, allocations: 47.94 kB / 278 MB, free: 13.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2674, allocations: 46.63 MB / 324.7 MB, free: 1.82 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.09679/0.3643, allocations: 101.7 MB / 426.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0536/0.4179, allocations: 20.02 MB / 446.4 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02743/0.4455, allocations: 462.8 kB / 446.8 MB, free: 9.605 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01321/0.4587, allocations: 7.111 MB / 453.9 MB, free: 2.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2585/0.7173, allocations: 2.657 MB / 456.6 MB, free: 1.652 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007222/0.7245, allocations: 2.451 MB / 459 MB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01286/0.7374, allocations: 10.67 MB / 469.7 MB, free: 1.641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01126/0.7487, allocations: 9.036 MB / 478.7 MB, free: 436 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008974/0.7577, allocations: 2.887 MB / 481.6 MB, free: 436 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01094/0.7687, allocations: 4.296 MB / 485.9 MB, free: 396 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004094/0.7729, allocations: 0.5397 MB / 486.5 MB, free: 392 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006581/0.7795, allocations: 1.859 MB / 488.3 MB, free: 392 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007337/0.7868, allocations: 3.611 MB / 491.9 MB, free: 15.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0114/0.7983, allocations: 4.123 MB / 496.1 MB, free: 13.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02092/0.8192, allocations: 13.13 MB / 0.4973 GB, free: 5.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.8193, allocations: 0 / 0.4973 GB, free: 5.758 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.8193, allocations: 4 kB / 0.4973 GB, free: 5.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006661/0.82, allocations: 0 / 0.4973 GB, free: 5.754 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.03407/0.8541, allocations: 9.304 MB / 0.5063 GB, free: 12.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.8542, allocations: 8.031 kB / 0.5063 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/0.8656, allocations: 2.368 MB / 0.5087 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01326/0.8789, allocations: 4.616 MB / 0.5132 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005257/0.8795, allocations: 488.5 kB / 0.5136 GB, free: 5.324 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003586/0.8831, allocations: 0.6533 MB / 0.5143 GB, free: 4.723 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04405/0.9271, allocations: 18.8 MB / 0.5326 GB, free: 1.203 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002426/0.9274, allocations: 70.8 kB / 0.5327 GB, free: 1.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001093/0.9285, allocations: 299.9 kB / 0.533 GB, free: 0.918 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004508/0.933, allocations: 3.01 MB / 0.5359 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03316/0.9662, allocations: 16.18 MB / 0.5517 GB, free: 14.02 MB / 462.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.1045/1.071, allocations: 70.67 MB / 0.6207 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4231/1.494, allocations: 8.916 MB / 0.6294 GB, free: 235.9 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00752/1.501, allocations: 5.058 MB / 0.6344 GB, free: 235.5 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02803/1.53, allocations: 20.37 MB / 0.6543 GB, free: 225.5 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.793e-05/1.53, allocations: 69.5 kB / 0.6543 GB, free: 225.4 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=322): time 6.572e-06/1.53, allocations: 0 / 0.6543 GB, free: 225.4 MB / 0.5138 GB Notification: Performance of matching and sorting (n=380): time 0.1275/1.657, allocations: 44.06 MB / 0.6974 GB, free: 187 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01288/1.67, allocations: 12.37 MB / 0.7094 GB, free: 173.9 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01291/1.683, allocations: 6.093 MB / 0.7154 GB, free: 167.8 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001535/1.685, allocations: 81.7 kB / 0.7155 GB, free: 167.7 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.00389/1.689, allocations: 5.142 MB / 0.7205 GB, free: 162.5 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.00283/1.691, allocations: 1.403 MB / 0.7219 GB, free: 161.1 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003646/1.695, allocations: 2.003 MB / 0.7238 GB, free: 159.1 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 6.46e-05/1.695, allocations: 305.1 kB / 0.7241 GB, free: 158.8 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006539/1.702, allocations: 4.462 MB / 0.7285 GB, free: 154.4 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01007/1.712, allocations: 9.897 MB / 0.7381 GB, free: 141.8 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01811/1.73, allocations: 15.48 MB / 0.7532 GB, free: 123.7 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001686/1.73, allocations: 52 kB / 0.7533 GB, free: 123.6 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1276) (initialization): time 0.03615/1.766, allocations: 17.63 MB / 0.7705 GB, free: 105.9 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001311/1.767, allocations: 88 kB / 0.7706 GB, free: 105.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002612/1.767, allocations: 188 kB / 0.7708 GB, free: 105.6 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009889/1.777, allocations: 3.55 MB / 0.7742 GB, free: 102.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007979/1.785, allocations: 2.246 MB / 0.7764 GB, free: 99.81 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02784/1.813, allocations: 27.29 MB / 0.8031 GB, free: 71.59 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009611/1.822, allocations: 0.6276 MB / 0.8037 GB, free: 70.97 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002201/1.824, allocations: 0.578 MB / 0.8043 GB, free: 70.39 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.009104/1.834, allocations: 3.557 MB / 0.8077 GB, free: 66.82 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001431/1.835, allocations: 0.5708 MB / 0.8083 GB, free: 66.24 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01822/1.853, allocations: 10.37 MB / 0.8184 GB, free: 55.75 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01624/1.87, allocations: 9.07 MB / 0.8273 GB, free: 46.56 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01547/1.885, allocations: 8.933 MB / 0.836 GB, free: 37.5 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000109/1.885, allocations: 15.94 kB / 0.836 GB, free: 37.49 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04714/1.932, allocations: 24.59 MB / 0.86 GB, free: 12.71 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.423e-05/1.932, allocations: 7.938 kB / 0.86 GB, free: 12.71 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003486/1.936, allocations: 0.6318 MB / 0.8607 GB, free: 12.07 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008451/1.944, allocations: 2.989 MB / 0.8636 GB, free: 9.07 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001134/1.946, allocations: 75.98 kB / 0.8636 GB, free: 8.996 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2579/2.204, allocations: 21.07 MB / 0.8842 GB, free: 209.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005911/2.209, allocations: 5.867 MB / 0.89 GB, free: 205.2 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02468/2.234, allocations: 15.03 MB / 0.9046 GB, free: 199.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004042/2.238, allocations: 1.255 MB / 0.9059 GB, free: 199.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001253/2.24, allocations: 65.56 kB / 0.9059 GB, free: 199.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00334/2.243, allocations: 283.4 kB / 0.9062 GB, free: 199.2 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008947/2.244, allocations: 247.9 kB / 0.9064 GB, free: 199.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002902/2.244, allocations: 101.7 kB / 0.9065 GB, free: 199.1 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007677/2.252, allocations: 3.811 MB / 0.9102 GB, free: 197.8 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.81e-07/2.252, allocations: 0 / 0.9102 GB, free: 197.8 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01327/2.265, allocations: 2.104 MB / 0.9123 GB, free: 197.6 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.001109/2.266, allocations: 285.1 kB / 0.9126 GB, free: 197.4 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01591/2.282, allocations: 11.48 MB / 0.9238 GB, free: 189.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/2.282, allocations: 4 kB / 0.9238 GB, free: 189.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006869/2.289, allocations: 4.769 MB / 0.9285 GB, free: 184.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005656/2.295, allocations: 0.8549 MB / 0.9293 GB, free: 184.2 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03186/2.327, allocations: 21.85 MB / 0.9506 GB, free: 163 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006628/2.333, allocations: 5.447 MB / 0.9559 GB, free: 157.5 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007682/2.341, allocations: 3.114 MB / 0.959 GB, free: 154.4 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/2.343, allocations: 415.3 kB / 0.9594 GB, free: 154 MB / 0.5138 GB Notification: Performance of SimCode: time 1.713e-06/2.343, allocations: 0 / 0.9594 GB, free: 154 MB / 0.5138 GB Notification: Performance of Templates: time 0.2129/2.555, allocations: 84.47 MB / 1.042 GB, free: 69.43 MB / 0.5138 GB 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)