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.005566/0.005566, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001145/0.001145, allocations: 197.2 kB / 16.68 MB, free: 5.969 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.553/1.553, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.001834/0.001834, allocations: 53.5 kB / 326.5 MB, free: 14.35 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1215, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.02212/0.1437, allocations: 21.32 MB / 394.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01529/0.159, allocations: 6.63 MB / 401.1 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004793/0.1639, allocations: 163.5 kB / 401.3 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01354/0.1775, allocations: 7.083 MB / 408.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00861/0.1861, allocations: 2.816 MB / 411.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005654/0.1918, allocations: 2.549 MB / 413.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01244/0.2043, allocations: 7.252 MB / 421 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01244/0.2167, allocations: 9.091 MB / 430.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006592/0.2234, allocations: 3.225 MB / 433.3 MB, free: 4.918 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006972/0.2304, allocations: 4.027 MB / 437.3 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002018/0.2324, allocations: 0.7421 MB / 438.1 MB, free: 140 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004199/0.2366, allocations: 1.955 MB / 440 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004054/0.2407, allocations: 3.757 MB / 443.8 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006469/0.2472, allocations: 4.32 MB / 448.1 MB, free: 6.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2606/0.5078, allocations: 13.69 MB / 461.8 MB, free: 26.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.5079, allocations: 0 / 461.8 MB, free: 26.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5079, allocations: 0 / 461.8 MB, free: 26.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008998/0.5088, allocations: 0 / 461.8 MB, free: 26.16 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.03733/0.5461, allocations: 9.527 MB / 471.3 MB, free: 22.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.5462, allocations: 11.88 kB / 471.3 MB, free: 22.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0117/0.5579, allocations: 2.412 MB / 473.7 MB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01504/0.573, allocations: 4.755 MB / 478.5 MB, free: 21.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004818/0.5735, allocations: 490.3 kB / 479 MB, free: 21.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004468/0.578, allocations: 0.6544 MB / 479.6 MB, free: 21.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04546/0.6235, allocations: 18.8 MB / 498.4 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000271/0.6238, allocations: 69.06 kB / 498.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001614/0.6254, allocations: 300.6 kB / 498.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004275/0.6297, allocations: 3.01 MB / 0.49 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03477/0.6645, allocations: 16.19 MB / 0.5058 GB, free: 11 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.1066/0.7711, allocations: 70.42 MB / 0.5746 GB, free: 3.93 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02582/0.797, allocations: 8.911 MB / 0.5833 GB, free: 10.88 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006881/0.8039, allocations: 5.054 MB / 0.5883 GB, free: 5.812 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03405/0.838, allocations: 20.4 MB / 0.6082 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.479e-05/0.8381, allocations: 68.59 kB / 0.6082 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of pre-optimization done (n=322): time 6.893e-06/0.8381, allocations: 0 / 0.6082 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of matching and sorting (n=380): time 0.4496/1.288, allocations: 44.45 MB / 0.6517 GB, free: 191.1 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01304/1.301, allocations: 12.88 MB / 0.6642 GB, free: 181.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009918/1.311, allocations: 6.117 MB / 0.6702 GB, free: 179.6 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001224/1.312, allocations: 77.55 kB / 0.6703 GB, free: 179.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003288/1.315, allocations: 5.333 MB / 0.6755 GB, free: 175.4 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002055/1.317, allocations: 1.476 MB / 0.6769 GB, free: 174.3 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003073/1.32, allocations: 2.008 MB / 0.6789 GB, free: 173.4 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.16e-05/1.32, allocations: 304 kB / 0.6792 GB, free: 173.1 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005476/1.326, allocations: 4.464 MB / 0.6835 GB, free: 171.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007796/1.334, allocations: 9.898 MB / 0.6932 GB, free: 161.6 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01626/1.35, allocations: 15.5 MB / 0.7083 GB, free: 143.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001815/1.35, allocations: 56 kB / 0.7084 GB, free: 143.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1276) (initialization): time 0.03829/1.389, allocations: 17.67 MB / 0.7256 GB, free: 125.6 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/1.389, allocations: 87.94 kB / 0.7257 GB, free: 125.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002328/1.389, allocations: 195.4 kB / 0.7259 GB, free: 125.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009865/1.399, allocations: 3.541 MB / 0.7294 GB, free: 121.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008145/1.407, allocations: 2.246 MB / 0.7316 GB, free: 119.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02946/1.437, allocations: 29.1 MB / 0.76 GB, free: 89.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01087/1.447, allocations: 0.6278 MB / 0.7606 GB, free: 88.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001865/1.449, allocations: 0.578 MB / 0.7612 GB, free: 88.34 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.007024/1.456, allocations: 3.574 MB / 0.7646 GB, free: 84.76 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001396/1.458, allocations: 0.6033 MB / 0.7652 GB, free: 84.15 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01905/1.477, allocations: 10.36 MB / 0.7754 GB, free: 73.67 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01569/1.493, allocations: 9.077 MB / 0.7842 GB, free: 64.48 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01527/1.508, allocations: 8.93 MB / 0.7929 GB, free: 55.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-05/1.508, allocations: 15.94 kB / 0.793 GB, free: 55.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04921/1.557, allocations: 24.43 MB / 0.8168 GB, free: 30.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.923e-05/1.557, allocations: 4 kB / 0.8168 GB, free: 30.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003361/1.561, allocations: 0.6328 MB / 0.8174 GB, free: 30.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008384/1.569, allocations: 2.965 MB / 0.8203 GB, free: 27.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009686/1.57, allocations: 79.97 kB / 0.8204 GB, free: 27.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2623/1.832, allocations: 22.71 MB / 0.8426 GB, free: 174.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006626/1.839, allocations: 6.033 MB / 0.8485 GB, free: 171.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02596/1.865, allocations: 15.07 MB / 0.8632 GB, free: 166.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003843/1.869, allocations: 1.287 MB / 0.8644 GB, free: 166.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001696/1.871, allocations: 66.03 kB / 0.8645 GB, free: 166.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003896/1.875, allocations: 277.8 kB / 0.8648 GB, free: 166.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008502/1.875, allocations: 247.1 kB / 0.865 GB, free: 166 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003113/1.876, allocations: 103.6 kB / 0.8651 GB, free: 166 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00579/1.882, allocations: 3.81 MB / 0.8688 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.31e-07/1.882, allocations: 3.281 kB / 0.8688 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01177/1.893, allocations: 2.102 MB / 0.8709 GB, free: 164.5 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.001083/1.894, allocations: 286 kB / 0.8712 GB, free: 164.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01601/1.91, allocations: 11.53 MB / 0.8824 GB, free: 156.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/1.911, allocations: 0 / 0.8824 GB, free: 156.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007652/1.918, allocations: 4.796 MB / 0.8871 GB, free: 152.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008068/1.926, allocations: 0.9106 MB / 0.888 GB, free: 151.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02968/1.956, allocations: 18.2 MB / 0.9058 GB, free: 134.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007057/1.963, allocations: 5.444 MB / 0.9111 GB, free: 129.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007336/1.97, allocations: 3.122 MB / 0.9141 GB, free: 126.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/1.972, allocations: 411.3 kB / 0.9145 GB, free: 126.2 MB / 0.5137 GB Notification: Performance of SimCode: time 1.222e-06/1.972, allocations: 4 kB / 0.9145 GB, free: 126.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.1314/2.104, allocations: 83.08 MB / 0.9957 GB, free: 43.16 MB / 0.5137 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)