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.001276/0.001276, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001582/0.001582, allocations: 177.3 kB / 15.95 MB, free: 216 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.57/1.57, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.00071/0.0007103, allocations: 16 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2545, allocations: 47.58 MB / 326.4 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.07705/0.3316, allocations: 87.09 MB / 413.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04541/0.377, allocations: 20.03 MB / 433.6 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.018/0.3951, allocations: 454.8 kB / 434 MB, free: 7.695 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01775/0.4129, allocations: 4.409 MB / 438.4 MB, free: 3.266 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04477/0.4577, allocations: 12.15 MB / 450.6 MB, free: 7.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00668/0.4644, allocations: 1.299 MB / 451.9 MB, free: 5.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008622/0.4731, allocations: 4.042 MB / 455.9 MB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2398/0.713, allocations: 10.53 MB / 466.4 MB, free: 5.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004039/0.717, allocations: 1.897 MB / 468.3 MB, free: 5.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003796/0.7209, allocations: 2.285 MB / 470.6 MB, free: 5.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001316/0.7222, allocations: 260.5 kB / 470.9 MB, free: 5.074 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003388/0.7256, allocations: 1.283 MB / 472.2 MB, free: 5.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003051/0.7287, allocations: 2.894 MB / 475 MB, free: 5.074 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002257/0.7309, allocations: 1.524 MB / 476.6 MB, free: 5.043 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.7423, allocations: 10.65 MB / 487.2 MB, free: 2.605 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.7423, allocations: 0 / 487.2 MB, free: 2.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.7424, allocations: 1.906 kB / 487.2 MB, free: 2.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005741/0.7429, allocations: 0 / 487.2 MB, free: 2.605 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.02112/0.7641, allocations: 8.02 MB / 495.2 MB, free: 14.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.7641, allocations: 6.781 kB / 495.3 MB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/0.7751, allocations: 2.724 MB / 498 MB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01187/0.787, allocations: 4.966 MB / 0.4912 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003945/0.7874, allocations: 489.4 kB / 0.4916 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003094/0.7905, allocations: 0.6535 MB / 0.4923 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04503/0.8356, allocations: 19.09 MB / 0.5109 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005037/0.8361, allocations: 69.48 kB / 0.511 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003055/0.8392, allocations: 297.8 kB / 0.5113 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005344/0.8446, allocations: 3.01 MB / 0.5142 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03816/0.8828, allocations: 16.5 MB / 0.5303 GB, free: 1.379 MB / 414.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.1108/0.9936, allocations: 70.89 MB / 0.5995 GB, free: 7.922 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02724/1.021, allocations: 9.215 MB / 0.6085 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2587/1.28, allocations: 20.53 MB / 0.6286 GB, free: 198.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/1.28, allocations: 70.72 kB / 0.6286 GB, free: 198.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=322): time 9.939e-06/1.28, allocations: 1.406 kB / 0.6287 GB, free: 198.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=380): time 0.1272/1.407, allocations: 45.41 MB / 0.673 GB, free: 180.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01353/1.421, allocations: 12.93 MB / 0.6856 GB, free: 166.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01231/1.433, allocations: 6.329 MB / 0.6918 GB, free: 160.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001311/1.434, allocations: 85.53 kB / 0.6919 GB, free: 160.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003901/1.438, allocations: 5.15 MB / 0.6969 GB, free: 155.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002504/1.441, allocations: 1.41 MB / 0.6983 GB, free: 153.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001739/1.443, allocations: 193.2 kB / 0.6985 GB, free: 153.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.001018/1.444, allocations: 0.7231 MB / 0.6992 GB, free: 152.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007244/1.451, allocations: 4.405 MB / 0.7035 GB, free: 148.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0109/1.462, allocations: 9.799 MB / 0.713 GB, free: 136.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/1.472, allocations: 6.443 MB / 0.7193 GB, free: 129.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000211/1.473, allocations: 56 kB / 0.7194 GB, free: 129.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.03741/1.51, allocations: 17.5 MB / 0.7365 GB, free: 112.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002909/1.51, allocations: 92.2 kB / 0.7366 GB, free: 112 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000408/1.511, allocations: 192.2 kB / 0.7367 GB, free: 111.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01016/1.521, allocations: 3.58 MB / 0.7402 GB, free: 108.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008208/1.529, allocations: 2.239 MB / 0.7424 GB, free: 106 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02904/1.558, allocations: 27.7 MB / 0.7695 GB, free: 77.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009879/1.568, allocations: 0.6256 MB / 0.7701 GB, free: 76.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002521/1.571, allocations: 0.5793 MB / 0.7707 GB, free: 76.16 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 (1161): * Single equations (assignments): 1144 * 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.01009/1.581, allocations: 3.568 MB / 0.7741 GB, free: 72.58 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003055/1.584, allocations: 0.5707 MB / 0.7747 GB, free: 72 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02007/1.604, allocations: 10.35 MB / 0.7848 GB, free: 61.53 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01647/1.621, allocations: 9.04 MB / 0.7936 GB, free: 52.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01636/1.637, allocations: 8.914 MB / 0.8023 GB, free: 43.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001115/1.637, allocations: 19.94 kB / 0.8024 GB, free: 43.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05058/1.688, allocations: 24.58 MB / 0.8264 GB, free: 18.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.149e-05/1.688, allocations: 8 kB / 0.8264 GB, free: 18.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003375/1.691, allocations: 0.6245 MB / 0.827 GB, free: 17.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008457/1.7, allocations: 2.988 MB / 0.8299 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007285/1.7, allocations: 83.36 kB / 0.83 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2308/1.931, allocations: 21.65 MB / 0.8511 GB, free: 175 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006614/1.938, allocations: 6.029 MB / 0.857 GB, free: 171 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0231/1.961, allocations: 15.89 MB / 0.8725 GB, free: 164.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003922/1.965, allocations: 1.264 MB / 0.8738 GB, free: 163.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001253/1.966, allocations: 70.91 kB / 0.8738 GB, free: 163.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003455/1.97, allocations: 272.8 kB / 0.8741 GB, free: 163.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007272/1.971, allocations: 249.5 kB / 0.8743 GB, free: 163.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002895/1.971, allocations: 112.4 kB / 0.8744 GB, free: 163.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006467/1.977, allocations: 3.986 MB / 0.8783 GB, free: 162.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.51e-07/1.977, allocations: 0 / 0.8783 GB, free: 162.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01068/1.988, allocations: 2.112 MB / 0.8804 GB, free: 162.2 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.001455/1.99, allocations: 284.9 kB / 0.8807 GB, free: 162 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01558/2.005, allocations: 11.42 MB / 0.8918 GB, free: 153.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/2.005, allocations: 0 / 0.8918 GB, free: 153.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007213/2.012, allocations: 4.755 MB / 0.8964 GB, free: 149.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004726/2.017, allocations: 0.8078 MB / 0.8972 GB, free: 149 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03076/2.048, allocations: 21.04 MB / 0.9178 GB, free: 129.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007698/2.056, allocations: 5.607 MB / 0.9233 GB, free: 124.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.008332/2.064, allocations: 3.122 MB / 0.9263 GB, free: 121.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001657/2.066, allocations: 415.3 kB / 0.9267 GB, free: 121.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.022e-06/2.066, allocations: 0 / 0.9267 GB, free: 121.1 MB / 494.1 MB Notification: Performance of Templates: time 0.1188/2.185, allocations: 81.86 MB / 1.007 GB, free: 39.16 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: