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.0008113/0.0008113, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.000843/0.000843, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0004613/0.0004615, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2156, allocations: 47.59 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.08648/0.3021, allocations: 92.28 MB / 418.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04224/0.3444, allocations: 19.11 MB / 437.9 MB, free: 3.812 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01562/0.3601, allocations: 462.8 kB / 438.3 MB, free: 3.359 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01265/0.3728, allocations: 4.417 MB / 442.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04107/0.4139, allocations: 12.67 MB / 455.4 MB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009257/0.4232, allocations: 1.151 MB / 456.6 MB, free: 1.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.233/0.6562, allocations: 8.507 MB / 465.1 MB, free: 5.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01776/0.674, allocations: 10.61 MB / 475.7 MB, free: 4.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006136/0.6802, allocations: 2.359 MB / 478 MB, free: 4.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005928/0.6862, allocations: 3.382 MB / 481.4 MB, free: 4.367 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001598/0.6878, allocations: 260.6 kB / 481.7 MB, free: 4.367 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003737/0.6915, allocations: 1.32 MB / 483 MB, free: 4.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003787/0.6953, allocations: 3.114 MB / 486.1 MB, free: 4.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002113/0.6975, allocations: 1.521 MB / 487.6 MB, free: 4.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01242/0.7099, allocations: 10.64 MB / 498.3 MB, free: 172 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/0.71, allocations: 3.984 kB / 498.3 MB, free: 168 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.71, allocations: 3.5 kB / 498.3 MB, free: 168 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008467/0.7108, allocations: 0 / 498.3 MB, free: 168 kB / 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.02059/0.7314, allocations: 7.666 MB / 0.4941 GB, free: 11.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.7315, allocations: 13.17 kB / 0.4941 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.7418, allocations: 2.408 MB / 0.4964 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/0.7525, allocations: 4.52 MB / 0.5009 GB, free: 7.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004427/0.753, allocations: 490 kB / 0.5013 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002839/0.7558, allocations: 0.6567 MB / 0.502 GB, free: 7.113 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04182/0.7976, allocations: 18.8 MB / 0.5203 GB, free: 8.789 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002678/0.798, allocations: 69.06 kB / 0.5204 GB, free: 8.754 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001207/0.7992, allocations: 300.7 kB / 0.5207 GB, free: 8.676 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004724/0.8039, allocations: 3.015 MB / 0.5236 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03555/0.8395, allocations: 16.15 MB / 0.5394 GB, free: 11.07 MB / 430.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.1087/0.9482, allocations: 70.61 MB / 0.6083 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02569/0.974, allocations: 8.996 MB / 0.6171 GB, free: 6.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007356/0.9814, allocations: 5.05 MB / 0.6221 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2094/1.191, allocations: 20.35 MB / 0.6419 GB, free: 197.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/1.191, allocations: 60.5 kB / 0.642 GB, free: 197.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=322): time 5.47e-06/1.191, allocations: 0 / 0.642 GB, free: 197.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=380): time 0.09722/1.288, allocations: 44 MB / 0.685 GB, free: 166.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01123/1.299, allocations: 12.34 MB / 0.697 GB, free: 153.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007101/1.307, allocations: 6.058 MB / 0.7029 GB, free: 147.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00105/1.308, allocations: 83.42 kB / 0.703 GB, free: 147 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002687/1.31, allocations: 5.139 MB / 0.708 GB, free: 141.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001716/1.312, allocations: 1.412 MB / 0.7094 GB, free: 140.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005261/1.313, allocations: 196 kB / 0.7096 GB, free: 140.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004205/1.313, allocations: 0.7193 MB / 0.7103 GB, free: 139.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005445/1.318, allocations: 4.419 MB / 0.7146 GB, free: 135.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007736/1.326, allocations: 9.868 MB / 0.7242 GB, free: 122.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009244/1.335, allocations: 6.465 MB / 0.7306 GB, free: 116.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.54e-05/1.336, allocations: 56 kB / 0.7306 GB, free: 116.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=1276) (initialization): time 0.02869/1.364, allocations: 17.56 MB / 0.7478 GB, free: 98.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.339e-05/1.364, allocations: 88 kB / 0.7478 GB, free: 98.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001582/1.365, allocations: 188 kB / 0.748 GB, free: 98.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008652/1.373, allocations: 3.584 MB / 0.7515 GB, free: 94.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007638/1.381, allocations: 2.242 MB / 0.7537 GB, free: 92.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02672/1.408, allocations: 27.07 MB / 0.7801 GB, free: 64.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007807/1.416, allocations: 0.6215 MB / 0.7808 GB, free: 63.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001575/1.417, allocations: 0.5714 MB / 0.7813 GB, free: 63.25 MB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 20,(1,100.0%) 7,(2,100.0%) 24,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.006405/1.424, allocations: 3.58 MB / 0.7848 GB, free: 59.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00115/1.425, allocations: 0.563 MB / 0.7854 GB, free: 59.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01744/1.442, allocations: 10.36 MB / 0.7955 GB, free: 48.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01548/1.458, allocations: 9.054 MB / 0.8043 GB, free: 39.44 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01445/1.472, allocations: 8.912 MB / 0.813 GB, free: 30.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.505e-05/1.472, allocations: 19.92 kB / 0.813 GB, free: 30.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2543/1.727, allocations: 24.54 MB / 0.837 GB, free: 178 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.096e-05/1.727, allocations: 8.328 kB / 0.837 GB, free: 178 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003782/1.731, allocations: 0.6275 MB / 0.8376 GB, free: 178 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008636/1.739, allocations: 2.987 MB / 0.8405 GB, free: 178 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009217/1.74, allocations: 74.8 kB / 0.8406 GB, free: 178 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02502/1.765, allocations: 21.04 MB / 0.8612 GB, free: 169.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005969/1.771, allocations: 5.854 MB / 0.8669 GB, free: 165.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02258/1.794, allocations: 14.99 MB / 0.8815 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003484/1.797, allocations: 1.261 MB / 0.8828 GB, free: 159.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001337/1.799, allocations: 73.55 kB / 0.8828 GB, free: 159.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003383/1.802, allocations: 272.4 kB / 0.8831 GB, free: 159.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007164/1.803, allocations: 246.1 kB / 0.8833 GB, free: 159.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000297/1.803, allocations: 103 kB / 0.8834 GB, free: 159.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005608/1.809, allocations: 3.776 MB / 0.8871 GB, free: 158.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.8e-07/1.809, allocations: 2.734 kB / 0.8871 GB, free: 158.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01035/1.819, allocations: 2.093 MB / 0.8892 GB, free: 157.6 MB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 19,(3,100.0%) 17,(3,100.0%) 8} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008771/1.82, allocations: 277 kB / 0.8894 GB, free: 157.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0165/1.837, allocations: 11.45 MB / 0.9006 GB, free: 147.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/1.837, allocations: 2.734 kB / 0.9006 GB, free: 147.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007394/1.844, allocations: 4.752 MB / 0.9052 GB, free: 143 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00668/1.851, allocations: 0.8427 MB / 0.9061 GB, free: 142.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03045/1.881, allocations: 21.11 MB / 0.9267 GB, free: 121.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006738/1.888, allocations: 5.455 MB / 0.932 GB, free: 115.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00792/1.896, allocations: 3.118 MB / 0.935 GB, free: 112.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001517/1.897, allocations: 413.7 kB / 0.9354 GB, free: 112.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/1.897, allocations: 0 / 0.9354 GB, free: 112.1 MB / 494.1 MB Notification: Performance of Templates: time 0.1311/2.029, allocations: 81.22 MB / 1.015 GB, free: 30.8 MB / 494.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)