Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0009561/0.0009559, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.0008878/0.0008879, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.64/1.64, allocations: 205.4 MB / 223.4 MB, free: 5.293 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.000504/0.0005041, allocations: 8 kB / 280.1 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2808, allocations: 47.59 MB / 327.7 MB, free: 1.551 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.08815/0.369, allocations: 92.28 MB / 420 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04907/0.4181, allocations: 19.11 MB / 439.1 MB, free: 3.891 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0198/0.438, allocations: 458.8 kB / 439.6 MB, free: 3.441 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01511/0.4531, allocations: 4.416 MB / 444 MB, free: 15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04009/0.4932, allocations: 12.66 MB / 456.7 MB, free: 2.293 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007315/0.5006, allocations: 1.154 MB / 457.8 MB, free: 1.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2808/0.7814, allocations: 8.511 MB / 466.3 MB, free: 5.316 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01426/0.7957, allocations: 10.62 MB / 476.9 MB, free: 4.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005201/0.801, allocations: 2.361 MB / 479.3 MB, free: 4.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006298/0.8073, allocations: 3.384 MB / 482.7 MB, free: 4.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001239/0.8086, allocations: 258.4 kB / 482.9 MB, free: 4.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003881/0.8125, allocations: 1.319 MB / 484.3 MB, free: 4.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004562/0.817, allocations: 3.114 MB / 487.4 MB, free: 4.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00314/0.8202, allocations: 1.521 MB / 488.9 MB, free: 4.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01207/0.8323, allocations: 10.63 MB / 499.5 MB, free: 152 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.8323, allocations: 0 / 499.5 MB, free: 152 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.8323, allocations: 0 / 499.5 MB, free: 152 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004933/0.8328, allocations: 0 / 499.5 MB, free: 152 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.01771/0.8506, allocations: 7.676 MB / 0.4953 GB, free: 11.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.8506, allocations: 9.281 kB / 0.4953 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009595/0.8602, allocations: 2.408 MB / 0.4977 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01095/0.8712, allocations: 4.522 MB / 0.5021 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004744/0.8717, allocations: 487.6 kB / 0.5026 GB, free: 7.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003763/0.8755, allocations: 0.656 MB / 0.5032 GB, free: 7.176 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04936/0.9249, allocations: 18.8 MB / 0.5215 GB, free: 8.852 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004748/0.9254, allocations: 61.8 kB / 0.5216 GB, free: 8.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00368/0.9291, allocations: 305.6 kB / 0.5219 GB, free: 8.734 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005353/0.9345, allocations: 3.017 MB / 0.5248 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03649/0.971, allocations: 16.14 MB / 0.5406 GB, free: 11.13 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.1207/1.092, allocations: 70.63 MB / 0.6096 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02537/1.117, allocations: 8.984 MB / 0.6184 GB, free: 6.754 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007409/1.125, allocations: 5.056 MB / 0.6233 GB, free: 1.688 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2823/1.407, allocations: 20.35 MB / 0.6432 GB, free: 198 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/1.407, allocations: 68.28 kB / 0.6432 GB, free: 197.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=322): time 6.181e-06/1.407, allocations: 0 / 0.6432 GB, free: 197.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=380): time 0.113/1.52, allocations: 43.99 MB / 0.6862 GB, free: 166.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01247/1.533, allocations: 12.33 MB / 0.6982 GB, free: 153 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01197/1.545, allocations: 6.058 MB / 0.7042 GB, free: 147 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001205/1.546, allocations: 83.06 kB / 0.7042 GB, free: 146.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002868/1.549, allocations: 5.142 MB / 0.7093 GB, free: 141.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002013/1.551, allocations: 1.406 MB / 0.7106 GB, free: 140.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006111/1.551, allocations: 198.2 kB / 0.7108 GB, free: 140.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003988/1.552, allocations: 0.7232 MB / 0.7115 GB, free: 139.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005731/1.557, allocations: 4.423 MB / 0.7158 GB, free: 135 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007794/1.565, allocations: 9.858 MB / 0.7255 GB, free: 122.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008506/1.574, allocations: 6.468 MB / 0.7318 GB, free: 116.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000106/1.574, allocations: 56 kB / 0.7318 GB, free: 116.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=1276) (initialization): time 0.03559/1.61, allocations: 17.55 MB / 0.749 GB, free: 98.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001391/1.61, allocations: 84.09 kB / 0.7491 GB, free: 98.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00023/1.61, allocations: 195.9 kB / 0.7492 GB, free: 98.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009546/1.619, allocations: 3.577 MB / 0.7527 GB, free: 94.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008521/1.628, allocations: 2.246 MB / 0.7549 GB, free: 92.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0293/1.657, allocations: 27.08 MB / 0.7814 GB, free: 64.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01113/1.669, allocations: 0.6212 MB / 0.782 GB, free: 63.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002804/1.671, allocations: 0.5795 MB / 0.7825 GB, free: 63.13 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.0105/1.682, allocations: 3.569 MB / 0.786 GB, free: 59.55 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002076/1.684, allocations: 0.5669 MB / 0.7866 GB, free: 58.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02242/1.706, allocations: 10.35 MB / 0.7967 GB, free: 48.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01815/1.725, allocations: 9.054 MB / 0.8055 GB, free: 39.33 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01846/1.743, allocations: 8.91 MB / 0.8142 GB, free: 30.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.922e-05/1.743, allocations: 15.94 kB / 0.8143 GB, free: 30.29 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2764/2.02, allocations: 24.56 MB / 0.8382 GB, free: 178.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-05/2.02, allocations: 5.25 kB / 0.8382 GB, free: 178.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003796/2.024, allocations: 0.6249 MB / 0.8388 GB, free: 178.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009577/2.033, allocations: 2.987 MB / 0.8418 GB, free: 178.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00104/2.034, allocations: 78.64 kB / 0.8418 GB, free: 178.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02448/2.059, allocations: 21.04 MB / 0.8624 GB, free: 169.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005777/2.065, allocations: 5.864 MB / 0.8681 GB, free: 165.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02132/2.086, allocations: 15 MB / 0.8828 GB, free: 160.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0029/2.089, allocations: 1.253 MB / 0.884 GB, free: 159.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009451/2.09, allocations: 69.61 kB / 0.8841 GB, free: 159.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002734/2.093, allocations: 273.5 kB / 0.8843 GB, free: 159.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006574/2.093, allocations: 248.7 kB / 0.8845 GB, free: 159.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002763/2.094, allocations: 104.9 kB / 0.8846 GB, free: 159.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005572/2.099, allocations: 3.774 MB / 0.8883 GB, free: 158.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/2.099, allocations: 0 / 0.8883 GB, free: 158.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009279/2.108, allocations: 2.096 MB / 0.8904 GB, free: 157.5 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.0008981/2.109, allocations: 271.1 kB / 0.8906 GB, free: 157.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01598/2.125, allocations: 11.44 MB / 0.9018 GB, free: 147.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/2.125, allocations: 8 kB / 0.9018 GB, free: 147.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006882/2.132, allocations: 4.758 MB / 0.9065 GB, free: 143 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006167/2.138, allocations: 0.8476 MB / 0.9073 GB, free: 142.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03012/2.169, allocations: 21.11 MB / 0.9279 GB, free: 121.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007697/2.176, allocations: 5.455 MB / 0.9332 GB, free: 115.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007953/2.184, allocations: 3.111 MB / 0.9363 GB, free: 112.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001536/2.186, allocations: 411.3 kB / 0.9367 GB, free: 112 MB / 494.1 MB Notification: Performance of SimCode: time 9.41e-07/2.186, allocations: 0 / 0.9367 GB, free: 112 MB / 494.1 MB Notification: Performance of Templates: time 0.1164/2.302, allocations: 81.23 MB / 1.016 GB, free: 30.75 MB / 494.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1)