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.009284/0.009284, allocations: 104.5 kB / 15.74 MB, free: 6.445 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.002074/0.002074, allocations: 193.4 kB / 16.67 MB, free: 6.355 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.574/1.574, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.001142/0.001142, allocations: 50.02 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1072, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.02209/0.1294, allocations: 21.32 MB / 394.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01547/0.1449, allocations: 6.623 MB / 401.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006075/0.1511, allocations: 171.4 kB / 401.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01476/0.1659, allocations: 7.08 MB / 408.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01131/0.1772, allocations: 2.902 MB / 411.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006745/0.184, allocations: 2.553 MB / 413.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01237/0.1964, allocations: 7.26 MB / 421.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01715/0.2136, allocations: 9.08 MB / 430.2 MB, free: 8.059 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007149/0.2208, allocations: 3.213 MB / 433.4 MB, free: 4.836 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007599/0.2284, allocations: 4.047 MB / 437.4 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003525/0.2319, allocations: 0.7383 MB / 438.2 MB, free: 40 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006123/0.2381, allocations: 1.947 MB / 440.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005936/0.2441, allocations: 3.831 MB / 443.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008649/0.2527, allocations: 4.328 MB / 448.3 MB, free: 5.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3104/0.5631, allocations: 13.64 MB / 461.9 MB, free: 26.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.5632, allocations: 0.5625 kB / 461.9 MB, free: 26.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.108e-06/0.5632, allocations: 2.781 kB / 461.9 MB, free: 26.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006967/0.5639, allocations: 0.625 kB / 461.9 MB, free: 26.34 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.04164/0.6056, allocations: 9.294 MB / 471.2 MB, free: 23.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.6056, allocations: 9.125 kB / 471.2 MB, free: 23.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01333/0.619, allocations: 2.366 MB / 473.6 MB, free: 22.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01593/0.635, allocations: 4.731 MB / 478.3 MB, free: 21.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007751/0.6358, allocations: 495.1 kB / 478.8 MB, free: 21.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004919/0.6407, allocations: 0.6529 MB / 479.4 MB, free: 21.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04915/0.6899, allocations: 18.8 MB / 498.2 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003367/0.6903, allocations: 66.16 kB / 498.3 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002121/0.6924, allocations: 297.3 kB / 498.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004515/0.6969, allocations: 3.014 MB / 0.4899 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03663/0.7336, allocations: 16.18 MB / 0.5057 GB, free: 11.49 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.1224/0.8561, allocations: 70.3 MB / 0.5743 GB, free: 4.477 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02825/0.8844, allocations: 8.915 MB / 0.583 GB, free: 11.42 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008181/0.8926, allocations: 5.053 MB / 0.5879 GB, free: 6.355 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04164/0.9343, allocations: 20.38 MB / 0.6078 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.243e-05/0.9344, allocations: 75.59 kB / 0.6079 GB, free: 1.418 MB / 494.1 MB Notification: Performance of pre-optimization done (n=322): time 8.907e-06/0.9344, allocations: 1.859 kB / 0.6079 GB, free: 1.418 MB / 494.1 MB Notification: Performance of matching and sorting (n=380): time 0.4516/1.386, allocations: 44.03 MB / 0.6509 GB, free: 191.7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01312/1.399, allocations: 12.87 MB / 0.6635 GB, free: 182.4 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00974/1.409, allocations: 6.096 MB / 0.6694 GB, free: 180.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001326/1.41, allocations: 84.23 kB / 0.6695 GB, free: 180.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003385/1.414, allocations: 5.137 MB / 0.6745 GB, free: 176.2 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002713/1.416, allocations: 1.412 MB / 0.6759 GB, free: 175.2 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004093/1.421, allocations: 2.001 MB / 0.6779 GB, free: 174.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 7.978e-05/1.421, allocations: 304.9 kB / 0.6782 GB, free: 173.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006707/1.427, allocations: 4.457 MB / 0.6825 GB, free: 172.4 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01077/1.438, allocations: 9.895 MB / 0.6922 GB, free: 162.6 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01981/1.458, allocations: 15.49 MB / 0.7073 GB, free: 144.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001843/1.458, allocations: 56 kB / 0.7074 GB, free: 144.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1276) (initialization): time 0.04011/1.498, allocations: 17.64 MB / 0.7246 GB, free: 126.6 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002985/1.499, allocations: 88 kB / 0.7247 GB, free: 126.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003977/1.499, allocations: 188.6 kB / 0.7249 GB, free: 126.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01078/1.51, allocations: 3.55 MB / 0.7283 GB, free: 122.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01272/1.523, allocations: 2.246 MB / 0.7305 GB, free: 120.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05121/1.574, allocations: 29.09 MB / 0.7589 GB, free: 90.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01718/1.591, allocations: 0.616 MB / 0.7595 GB, free: 89.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003491/1.595, allocations: 0.578 MB / 0.7601 GB, free: 89.32 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.01418/1.609, allocations: 3.572 MB / 0.7636 GB, free: 85.74 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003079/1.612, allocations: 0.5669 MB / 0.7641 GB, free: 85.17 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02554/1.638, allocations: 10.38 MB / 0.7743 GB, free: 74.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01838/1.656, allocations: 9.064 MB / 0.7831 GB, free: 65.48 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01781/1.674, allocations: 8.931 MB / 0.7918 GB, free: 56.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001091/1.674, allocations: 19.92 kB / 0.7919 GB, free: 56.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05974/1.734, allocations: 24.42 MB / 0.8157 GB, free: 31.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.375e-05/1.734, allocations: 8.656 kB / 0.8157 GB, free: 31.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003649/1.738, allocations: 0.6318 MB / 0.8163 GB, free: 31.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008992/1.747, allocations: 2.961 MB / 0.8192 GB, free: 28.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001528/1.748, allocations: 71.98 kB / 0.8193 GB, free: 28.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3117/2.06, allocations: 22.7 MB / 0.8415 GB, free: 174.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.008494/2.068, allocations: 6.024 MB / 0.8473 GB, free: 171.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02676/2.095, allocations: 15.05 MB / 0.862 GB, free: 166.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003932/2.099, allocations: 1.256 MB / 0.8633 GB, free: 166.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001726/2.101, allocations: 66.84 kB / 0.8633 GB, free: 166.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004175/2.105, allocations: 273.2 kB / 0.8636 GB, free: 166.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009316/2.106, allocations: 246 kB / 0.8638 GB, free: 166.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003149/2.106, allocations: 106 kB / 0.8639 GB, free: 166.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006941/2.113, allocations: 3.812 MB / 0.8676 GB, free: 165.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.51e-07/2.113, allocations: 0 / 0.8676 GB, free: 165.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01323/2.127, allocations: 2.102 MB / 0.8697 GB, free: 164.9 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.00107/2.128, allocations: 288.2 kB / 0.87 GB, free: 164.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01614/2.144, allocations: 11.53 MB / 0.8812 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/2.144, allocations: 3.469 kB / 0.8812 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007026/2.151, allocations: 4.78 MB / 0.8859 GB, free: 152.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006036/2.157, allocations: 0.9132 MB / 0.8868 GB, free: 152.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03216/2.189, allocations: 17.93 MB / 0.9043 GB, free: 135.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009157/2.198, allocations: 5.449 MB / 0.9096 GB, free: 131.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007727/2.206, allocations: 3.118 MB / 0.9127 GB, free: 128.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001873/2.208, allocations: 407.3 kB / 0.9131 GB, free: 127.8 MB / 0.5137 GB Notification: Performance of SimCode: time 9.82e-07/2.208, allocations: 0 / 0.9131 GB, free: 127.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.1689/2.377, allocations: 83.07 MB / 0.9942 GB, free: 44.68 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)