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.009546/0.009546, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001959/0.001959, allocations: 191.5 kB / 16.67 MB, free: 5.523 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.565/1.565, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001147/0.001147, allocations: 55.94 kB / 326.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1065, allocations: 46.62 MB / 373.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.2404/0.3469, allocations: 21.32 MB / 394.5 MB, free: 148 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02019/0.3671, allocations: 6.63 MB / 401.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007152/0.3744, allocations: 162.7 kB / 401.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01844/0.3929, allocations: 7.078 MB / 408.3 MB, free: 7.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01158/0.4045, allocations: 2.907 MB / 411.3 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007207/0.4117, allocations: 2.56 MB / 413.8 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01407/0.4258, allocations: 7.246 MB / 421.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01428/0.4401, allocations: 9.093 MB / 430.2 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00826/0.4484, allocations: 3.21 MB / 433.4 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009243/0.4577, allocations: 4.054 MB / 437.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003749/0.4615, allocations: 0.7383 MB / 438.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006654/0.4682, allocations: 1.951 MB / 440.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007146/0.4754, allocations: 3.827 MB / 443.9 MB, free: 8.586 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01006/0.4855, allocations: 4.316 MB / 448.3 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01985/0.5054, allocations: 13.65 MB / 461.9 MB, free: 6.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5054, allocations: 0 / 461.9 MB, free: 6.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.5054, allocations: 0 / 461.9 MB, free: 6.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000499/0.5059, allocations: 0 / 461.9 MB, free: 6.547 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.03651/0.5424, allocations: 9.295 MB / 471.2 MB, free: 13.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.823e-05/0.5425, allocations: 12.03 kB / 471.2 MB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01418/0.5567, allocations: 2.365 MB / 473.6 MB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01335/0.5701, allocations: 4.737 MB / 478.3 MB, free: 5.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007364/0.5709, allocations: 489.1 kB / 478.8 MB, free: 5.469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003292/0.5742, allocations: 0.6558 MB / 479.4 MB, free: 4.812 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04787/0.6221, allocations: 18.79 MB / 498.2 MB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000594/0.6227, allocations: 67.36 kB / 498.3 MB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003701/0.6265, allocations: 303.8 kB / 498.6 MB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007757/0.6342, allocations: 3.011 MB / 0.4899 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04487/0.6791, allocations: 16.18 MB / 0.5057 GB, free: 13.45 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.5205/1.2, allocations: 70.28 MB / 0.5743 GB, free: 106.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02656/1.226, allocations: 8.921 MB / 0.583 GB, free: 105.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008123/1.234, allocations: 5.051 MB / 0.5879 GB, free: 103.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03741/1.272, allocations: 20.36 MB / 0.6078 GB, free: 93.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.179e-05/1.272, allocations: 66.19 kB / 0.6079 GB, free: 93.23 MB / 478.1 MB Notification: Performance of pre-optimization done (n=322): time 7.785e-06/1.272, allocations: 7.594 kB / 0.6079 GB, free: 93.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=380): time 0.1174/1.39, allocations: 44.06 MB / 0.6509 GB, free: 54.16 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0123/1.402, allocations: 12.88 MB / 0.6635 GB, free: 40.56 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009272/1.411, allocations: 6.097 MB / 0.6694 GB, free: 34.45 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00109/1.412, allocations: 85.17 kB / 0.6695 GB, free: 34.37 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002711/1.415, allocations: 5.138 MB / 0.6745 GB, free: 29.23 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001754/1.417, allocations: 1.412 MB / 0.6759 GB, free: 27.83 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002777/1.42, allocations: 1.994 MB / 0.6779 GB, free: 25.83 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.54e-05/1.42, allocations: 305.1 kB / 0.6782 GB, free: 25.53 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005832/1.425, allocations: 4.466 MB / 0.6825 GB, free: 21.05 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009179/1.435, allocations: 9.889 MB / 0.6922 GB, free: 8.586 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01919/1.454, allocations: 15.49 MB / 0.7073 GB, free: 6.406 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000223/1.454, allocations: 56 kB / 0.7074 GB, free: 6.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=1276) (initialization): time 0.0399/1.494, allocations: 17.63 MB / 0.7246 GB, free: 4.617 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003585/1.494, allocations: 88 kB / 0.7247 GB, free: 4.531 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004806/1.495, allocations: 188.8 kB / 0.7248 GB, free: 4.348 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01134/1.506, allocations: 3.555 MB / 0.7283 GB, free: 0.7852 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008721/1.515, allocations: 2.249 MB / 0.7305 GB, free: 14.54 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.313/1.828, allocations: 29.09 MB / 0.7589 GB, free: 163.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009124/1.837, allocations: 0.6186 MB / 0.7595 GB, free: 162.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002166/1.839, allocations: 0.5797 MB / 0.7601 GB, free: 162.8 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.00994/1.849, allocations: 3.564 MB / 0.7636 GB, free: 161.5 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002067/1.852, allocations: 0.5717 MB / 0.7641 GB, free: 161.5 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02271/1.874, allocations: 10.37 MB / 0.7743 GB, free: 157.7 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01635/1.891, allocations: 9.075 MB / 0.7831 GB, free: 154.5 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01493/1.906, allocations: 8.928 MB / 0.7918 GB, free: 151.4 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.721e-05/1.906, allocations: 22.5 kB / 0.7919 GB, free: 151.4 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04453/1.95, allocations: 24.41 MB / 0.8157 GB, free: 131.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.272e-05/1.95, allocations: 11.62 kB / 0.8157 GB, free: 131.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003162/1.953, allocations: 0.6279 MB / 0.8163 GB, free: 131.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007989/1.961, allocations: 2.965 MB / 0.8192 GB, free: 128.3 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001054/1.963, allocations: 67.98 kB / 0.8193 GB, free: 128.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02503/1.988, allocations: 22.7 MB / 0.8415 GB, free: 105.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00592/1.994, allocations: 6.011 MB / 0.8473 GB, free: 98.98 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02491/2.019, allocations: 15.05 MB / 0.862 GB, free: 84.1 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003607/2.022, allocations: 1.254 MB / 0.8632 GB, free: 82.94 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001597/2.024, allocations: 71.92 kB / 0.8633 GB, free: 82.88 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0039/2.028, allocations: 274.9 kB / 0.8636 GB, free: 82.61 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001008/2.029, allocations: 249.8 kB / 0.8638 GB, free: 82.36 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004859/2.029, allocations: 115.8 kB / 0.8639 GB, free: 82.26 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006105/2.035, allocations: 3.813 MB / 0.8676 GB, free: 78.45 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.2e-07/2.035, allocations: 0 / 0.8676 GB, free: 78.45 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01366/2.049, allocations: 2.091 MB / 0.8697 GB, free: 76.38 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.001708/2.051, allocations: 289.9 kB / 0.87 GB, free: 76.1 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01931/2.07, allocations: 11.53 MB / 0.8812 GB, free: 64.57 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.538e-05/2.07, allocations: 0 / 0.8812 GB, free: 64.57 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008151/2.078, allocations: 4.789 MB / 0.8859 GB, free: 59.73 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008475/2.087, allocations: 0.9079 MB / 0.8868 GB, free: 58.83 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03541/2.122, allocations: 17.94 MB / 0.9043 GB, free: 40.79 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007847/2.13, allocations: 5.458 MB / 0.9096 GB, free: 35.3 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007527/2.138, allocations: 3.111 MB / 0.9127 GB, free: 32.18 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001604/2.139, allocations: 415.3 kB / 0.9131 GB, free: 31.77 MB / 0.5138 GB Notification: Performance of SimCode: time 7.32e-07/2.139, allocations: 1.75 kB / 0.9131 GB, free: 31.77 MB / 0.5138 GB Notification: Performance of Templates: time 0.4002/2.54, allocations: 83.08 MB / 0.9942 GB, free: 132.4 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)